mirror of
https://github.com/libretro/RetroArch
synced 2025-02-03 17:54:04 +00:00
Remove useless check.
This commit is contained in:
parent
83d6fd3cbb
commit
1b962e1b0d
@ -44,7 +44,7 @@ static PyObject* py_read_wram(PyObject *self, PyObject *args)
|
|||||||
if (!PyArg_ParseTuple(args, "I", &addr))
|
if (!PyArg_ParseTuple(args, "I", &addr))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if (addr >= max || addr < 0)
|
if (addr >= max)
|
||||||
{
|
{
|
||||||
Py_INCREF(Py_None);
|
Py_INCREF(Py_None);
|
||||||
return Py_None;
|
return Py_None;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user