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:
parent
640eeabfe1
commit
cf218e33ec
12 changed files with 196 additions and 102 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue