sms wip: initial graphics support
authornotaz <notasas@gmail.com>
Tue, 25 Aug 2009 16:25:22 +0000 (16:25 +0000)
committernotaz <notasas@gmail.com>
Tue, 25 Aug 2009 16:25:22 +0000 (16:25 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@761 be3aeb3a-fb24-0410-a615-afba39da0efa

gp2x/emu.c
linux/Makefile

index c608f32..92e5b74 100644 (file)
@@ -439,6 +439,7 @@ static void vidResetMode(void)
        }\r
        else if (currentConfig.EmuOpt & EOPT_16BPP) {\r
                PicoDrawSetColorFormat(1);\r
+               PicoDrawSetColorFormatMode4(1);\r
                if (currentConfig.EmuOpt & EOPT_WIZ_TEAR_FIX) {\r
                        gp2x_video_changemode(-16);\r
                        PicoScanBegin = EmuScanBegin16_rot;\r
index b925450..be932ed 100644 (file)
@@ -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 \