1
0
Fork 0
forked from len0rd/rockbox

Patch #1401999 by Karl Kurbjun - Rockboy color, sound support, and speedups

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8324 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2006-01-10 21:55:56 +00:00
parent 640eeabfe1
commit cf218e33ec
12 changed files with 196 additions and 102 deletions

View file

@ -86,7 +86,7 @@ static char *savedir = "/.rockbox/rockboy";
static int saveslot;
static int forcebatt, nobatt;
static int forcedmg;
static int forcedmg, gbamode;
static int memfill = -1, memrand = -1;
@ -181,7 +181,7 @@ int rom_load(void)
c = header[0x0143];
hw.cgb = ((c == 0x80) || (c == 0xc0)) && !forcedmg;
hw.gba = 0; //(hw.cgb && gbamode);
hw.gba = (hw.cgb && gbamode);
close(fd);