From 9569ea52ed08fd731a371d95d8dad16098f9f9a1 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 25 Aug 2009 16:25:22 +0000 Subject: [PATCH] sms wip: initial graphics support git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@761 be3aeb3a-fb24-0410-a615-afba39da0efa --- gp2x/emu.c | 1 + linux/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gp2x/emu.c b/gp2x/emu.c index c608f32..92e5b74 100644 --- a/gp2x/emu.c +++ b/gp2x/emu.c @@ -439,6 +439,7 @@ 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; diff --git a/linux/Makefile b/linux/Makefile index b925450..be932ed 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -34,7 +34,7 @@ endif # Pico OBJS += pico/area.o pico/cart.o pico/memory.o pico/misc.o pico/pico.o pico/sek.o \ pico/videoport.o pico/draw2.o pico/draw.o pico/z80if.o pico/patch.o \ - pico/sms.o pico/debug.o + pico/mode4.o pico/sms.o pico/debug.o # Pico - CD OBJS += pico/cd/pico.o pico/cd/memory.o pico/cd/sek.o pico/cd/LC89510.o \ pico/cd/cd_sys.o pico/cd/cd_file.o pico/cd/cue.o pico/cd/gfx_cd.o \ -- 2.39.5