X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fpsxmem.c;h=27663f1fd685bc4fbea50bc24756ad5d9bc19685;hb=3ef6b3599b083286ba72673dec7e7032e5e8e013;hp=db902b04aadcfce0228ecca168364ec47387db45;hpb=01f0020f8c4d96ce7ff425c0cab66ad93bf2159c;p=pcsx_rearmed.git diff --git a/libpcsxcore/psxmem.c b/libpcsxcore/psxmem.c index db902b04..27663f1f 100644 --- 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 (req != NULL && ret != req) SysMessage("psxMap: warning: wanted to map @%p, got %p\n", req, ret);