diff --git a/gfx/py_state/py_state.c b/gfx/py_state/py_state.c index 843c911a9c..b76e3a7199 100644 --- a/gfx/py_state/py_state.c +++ b/gfx/py_state/py_state.c @@ -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;