notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40cf697
)
avoid bogus warning
author
notaz
<notasas@gmail.com>
Sun, 9 Dec 2012 17:26:15 +0000
(19:26 +0200)
committer
notaz
<notasas@gmail.com>
Sun, 9 Dec 2012 17:26:15 +0000
(19:26 +0200)
libpcsxcore/psxmem.c
patch
|
blob
|
blame
|
history
diff --git
a/libpcsxcore/psxmem.c
b/libpcsxcore/psxmem.c
index
db902b0
..
27663f1
100644
(file)
--- a/
libpcsxcore/psxmem.c
+++ b/
libpcsxcore/psxmem.c
@@
-55,7
+55,7
@@
void *psxMap(unsigned long addr, size_t size, int is_fixed,
if (ret == MAP_FAILED)
return NULL;
- if (ret != req)
+ if (re
q != NULL && re
t != req)
SysMessage("psxMap: warning: wanted to map @%p, got %p\n",
req, ret);