new 32x renderers, auto fskip change, massive refactoring

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@855 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2010-01-10 17:07:28 +00:00
parent 9bb5d91c48
commit 5a68108691
35 changed files with 925 additions and 307 deletions

View file

@ -230,10 +230,10 @@ static void vidResetMode(void)
if (PicoOpt&0x10) {
} else if (currentConfig.EmuOpt&0x80) {
PicoDrawSetColorFormat(1);
PicoDrawSetOutFormat(PDF_RGB555, 0);
PicoScanBegin = EmuScanBegin16;
} else {
PicoDrawSetColorFormat(-1);
PicoDrawSetOutFormat(PDF_NONE, 0);
PicoScanBegin = EmuScanBegin8;
}
if ((PicoOpt&0x10) || !(currentConfig.EmuOpt&0x80)) {
@ -306,7 +306,7 @@ void pemu_forced_frame(int opts)
if (giz_screen == NULL)
giz_screen = fb_lock(1);
PicoDrawSetColorFormat(1);
PicoDrawSetOutFormat(PDF_RGB555, 0);
PicoScanBegin = EmuScanBegin16;
Pico.m.dirtyPal = 1;
PicoFrameDrawOnly();

View file

@ -12,9 +12,6 @@
#define SCREEN_WIDTH 321
#define SCREEN_HEIGHT 240
// draw.c
#define OVERRIDE_HIGHCOL 1
// draw2.c
#define START_ROW 0 // which row of tiles to start rendering at?
#define END_ROW 28 // ..end

View file

@ -6,7 +6,6 @@
.equiv START_ROW, 0
.equiv END_ROW, 28
.equiv OVERRIDE_HIGHCOL, 1
.equiv UNALIGNED_DRAWLINEDEST, 1
@ this should be set to one only for GP2X port