{\r
int emu_opt = currentConfig.EmuOpt;\r
\r
- if (PicoOpt&0x10) {\r
+ if (PicoOpt&0x10)\r
+ {\r
// 8bit fast renderer\r
if (Pico.m.dirtyPal) {\r
Pico.m.dirtyPal = 0;\r
// feed new palette to our device\r
gp2x_video_setpalette(localPal, 0x40);\r
}\r
+ // a hack for VR\r
+ if (PicoRead16Hook == PicoSVPRead16)\r
+ memset32((int *)(PicoDraw2FB+328*8+328*223), 0xe0e0e0e0, 328);\r
+ // do actual copy\r
vidCpyM2((unsigned char *)gp2x_screen+320*8, PicoDraw2FB+328*8);\r
- } else if (!(emu_opt&0x80)) {\r
+ }\r
+ else if (!(emu_opt&0x80))\r
+ {\r
// 8bit accurate renderer\r
if (Pico.m.dirtyPal) {\r
Pico.m.dirtyPal = 0;\r