minor psp stuff

git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@416 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-04-06 19:57:46 +00:00
parent 960a8e2716
commit bf7e9c611f
3 changed files with 18 additions and 2 deletions

View file

@ -33,8 +33,11 @@ int pico_main(void)
{
lprintf("\nPicoDrive v" VERSION " " __DATE__ " " __TIME__ "\n");
psp_init();
emu_prepareDefaultConfig();
emu_ReadConfig(0, 0);
config_readlrom(PicoConfigFile);
emu_Init();
menu_init();
// moved to emu_Loop(), after CPU clock change..

View file

@ -25,14 +25,14 @@ extern int pico_main(void);
#ifndef FW15
PSP_MODULE_INFO("PicoDrive", 0, 1, 35);
PSP_MODULE_INFO("PicoDrive", 0, 1, 40);
PSP_HEAP_SIZE_MAX();
int main() { return pico_main(); } /* just a wrapper */
#else
PSP_MODULE_INFO("PicoDrive", 0x1000, 1, 35);
PSP_MODULE_INFO("PicoDrive", 0x1000, 1, 40);
PSP_MAIN_THREAD_ATTR(0);
int main()