Sonic CD runs on GP2X

git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@21 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2007-01-19 22:08:50 +00:00
parent 15f385743a
commit 8dfb9fd5df
13 changed files with 113 additions and 106 deletions

View file

@ -223,9 +223,9 @@ void Pause940(int yes)
}
void Reset940(int yes)
void Reset940(int yes, int bank)
{
gp2x_memregs[0x3B48>>1] = ((yes&1) << 7) | (0x03); /* bank=3 */
gp2x_memregs[0x3B48>>1] = ((yes&1) << 7) | (bank & 0x03); /* bank=3 */
}
@ -280,7 +280,7 @@ char *ext_menu = 0, *ext_state = 0;
void gp2x_deinit(void)
{
Reset940(1);
Reset940(1, 3);
Pause940(1);
gp2x_video_changemode(15);