X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Femu.c;h=dd4b6867c8d837040c1e45630184c2d1d7833d01;hb=86c1049d1fba4c8752fd08c6bc848c3318b91eac;hp=92e5b74a4c9ed290f037dc172f433494364ca5f7;hpb=9569ea52ed08fd731a371d95d8dad16098f9f9a1;p=libpicofe.git diff --git a/gp2x/emu.c b/gp2x/emu.c index 92e5b74..dd4b686 100644 --- a/gp2x/emu.c +++ b/gp2x/emu.c @@ -220,7 +220,6 @@ static void draw_pico_ptr(void) static int EmuScanBegin16(unsigned int num) { - if (!(Pico.video.reg[1]&8)) num += 8; DrawLineDest = (unsigned short *) g_screen_ptr + g_screen_width * num; return 0; @@ -228,7 +227,6 @@ static int EmuScanBegin16(unsigned int num) static int EmuScanBegin8(unsigned int num) { - if (!(Pico.video.reg[1]&8)) num += 8; DrawLineDest = (unsigned char *) g_screen_ptr + g_screen_width * num; return 0; @@ -247,8 +245,6 @@ static int EmuScanEnd16_rot(unsigned int num) { if ((num & 3) != 3) return 0; - if (!(Pico.video.reg[1] & 8)) - num += 8; rotated_blit16(g_screen_ptr, rot_buff, num + 1, !(Pico.video.reg[12] & 1) && !(PicoOpt & POPT_EN_SOFTSCALE)); return 0; @@ -264,8 +260,6 @@ static int EmuScanEnd8_rot(unsigned int num) { if ((num & 3) != 3) return 0; - if (!(Pico.video.reg[1] & 8)) - num += 8; rotated_blit8(g_screen_ptr, rot_buff, num + 1, !(Pico.video.reg[12] & 1)); return 0; @@ -439,7 +433,6 @@ static void vidResetMode(void) } else if (currentConfig.EmuOpt & EOPT_16BPP) { PicoDrawSetColorFormat(1); - PicoDrawSetColorFormatMode4(1); if (currentConfig.EmuOpt & EOPT_WIZ_TEAR_FIX) { gp2x_video_changemode(-16); PicoScanBegin = EmuScanBegin16_rot;