X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fgizmondo%2Femu.c;h=1ba4d76b1419f13113c921d7c97595e8cf56c8b8;hb=45f2f245f51ef0c0d37df3c998595c132bfcaffa;hp=fea424fbe2075e8ac301b2623fa92074132f9879;hpb=b24e0f6ce6e8a59ba43597520709ca79fa36ff8e;p=picodrive.git diff --git a/platform/gizmondo/emu.c b/platform/gizmondo/emu.c index fea424f..1ba4d76 100644 --- a/platform/gizmondo/emu.c +++ b/platform/gizmondo/emu.c @@ -103,7 +103,6 @@ void pemu_prep_defconfig(void) static int EmuScanBegin16(unsigned int num) { - if (!(Pico.video.reg[1]&8)) num += 8; DrawLineDest = (unsigned short *) giz_screen + 321 * num; if ((currentConfig.EmuOpt&0x4000) && (num&1) == 0) // (Pico.m.frame_count&1)) @@ -115,7 +114,6 @@ static int EmuScanBegin16(unsigned int num) static int EmuScanBegin8(unsigned int num) { // draw like the fast renderer - if (!(Pico.video.reg[1]&8)) num += 8; HighCol = gfx_buffer + 328 * num; return 0; @@ -172,7 +170,7 @@ static void blit(const char *fps, const char *notice) vidConvCpyRGB565(localPal, Pico.cram, 0x40); } // a hack for VR - if (PicoRead16Hook == PicoSVPRead16) + if (PicoAHW & PAHW_SVP) memset32((int *)(PicoDraw2FB+328*8+328*223), 0xe0e0e0e0, 328); if (!(Pico.video.reg[12]&1)) lines_flags|=0x10000; if (currentConfig.EmuOpt&0x4000)