From 1b962e1b0d82c65d9f432459183555b0cdb4c8e9 Mon Sep 17 00:00:00 2001 From: Themaister Date: Fri, 25 May 2012 11:55:00 +0200 Subject: [PATCH] Remove useless check. --- gfx/py_state/py_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;