static const char *file_ext[] = { ".gba", ".bin", ".zip", NULL };
-#ifdef PSP_BUILD
+#ifndef PSP_BUILD
static void ChangeWorkingDirectory(char *exe)
{
#ifndef _WIN32_WCE
static void save_romdir(void)
{
char buff[512];
- int r = -1;
snprintf(buff, sizeof(buff), "%s" PATH_SEPARATOR "romdir.txt", main_path);
file_open(romdir_file, buff, write);
debug_screen_printl(" ");
debug_screen_printl("When you do get it name it gba_bios.bin and put it");
#ifdef PND_BUILD
- debug_screen_printl("in <CD card>/pandora/appdata/gpsp/ . ");
+ debug_screen_printl("in <SD card>/pandora/appdata/gpsp/ . ");
#else
debug_screen_printl("in the same directory as gpSP. ");
#endif
}
init_main();
- init_sound();
+ init_sound(1);
init_input();
if(argc > 1)
{
- switch_to_romdir();
if(load_gamepak(argv[1]) == -1)
{
#ifndef PSP_BUILD
else
{
char load_filename[512];
+ switch_to_romdir();
if(load_file(file_ext, load_filename) == -1)
{
menu(copy_screen());