psp port runs, bad colors

git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@275 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2007-10-15 20:50:37 +00:00
parent 2951214ea6
commit 703e4c7bbb
10 changed files with 744 additions and 67 deletions

View file

@ -2,13 +2,14 @@
#include "emu.h"
#include "menu.h"
#include "../common/menu.h"
#include "../common/emu.h"
#include "../common/lprintf.h"
int main()
{
psp_init();
// emu_ReadConfig(0, 0);
emu_ReadConfig(0, 0);
emu_Init();
menu_init();
@ -23,21 +24,19 @@ int main()
break;
case PGS_ReloadRom:
/*
if (emu_ReloadRom())
engineState = PGS_Running;
else {
lprintf("PGS_ReloadRom == 0\n");
engineState = PGS_Menu;
}
*/
break;
case PGS_RestartRun:
engineState = PGS_Running;
case PGS_Running:
// emu_Loop();
emu_Loop();
break;
case PGS_Quit: