Remove useless check.

This commit is contained in:
Themaister 2012-05-25 11:55:00 +02:00
parent 83d6fd3cbb
commit 1b962e1b0d

View File

@ -44,7 +44,7 @@ static PyObject* py_read_wram(PyObject *self, PyObject *args)
if (!PyArg_ParseTuple(args, "I", &addr))
return NULL;
if (addr >= max || addr < 0)
if (addr >= max)
{
Py_INCREF(Py_None);
return Py_None;