Finish migrating to new mem handling. Make carthw db external.
[picodrive.git] / platform / gp2x / emu.c
index 77e33f2..97b28b6 100644 (file)
@@ -327,7 +327,7 @@ void pemu_update_display(const char *fps, const char *notice)
                        gp2x_video_setpalette(localPal, ret);\r
                }\r
                // a hack for VR\r
-               if (PicoRead16Hook == PicoSVPRead16)\r
+               if (PicoAHW & PAHW_SVP)\r
                        memset32((int *)(PicoDraw2FB+328*8+328*223), 0xe0e0e0e0, 328);\r
                // do actual copy\r
                vidcpyM2(g_screen_ptr, PicoDraw2FB+328*8,\r