X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=libpcsxcore%2Fpsxmem.c;h=27663f1fd685bc4fbea50bc24756ad5d9bc19685;hp=db902b04aadcfce0228ecca168364ec47387db45;hb=8ad120c9c4dca424feac32098cb4af6a2c8f641f;hpb=40cf697566a4df3f20cf5b0f1f03b111c7e0d0f2 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);