20cda50cfc
gameplaySP (gpSP for short) is a GBA emulator written completely from scratch. It is still pretty young (only having started a 3 months prior to the first release) and thus rather immature, but it does a decent job of playing a number of games, and is being improved upon somewhat regularly. It is currently somewhat minimalistic, in the sourcecode, presentation, and features. Its number one focus is to deliver a GBA gaming experience in the most playable way that PSP can manage, with frills being secondary (although still a consideration, at least for some of them). This version of gpSP is optimized for the Raspberry Pi.
22 lines
925 B
C
22 lines
925 B
C
$NetBSD: patch-main.c,v 1.1 2015/02/06 02:02:03 jmcneill Exp $
|
|
|
|
--- main.c.orig 2015-01-06 20:57:45.000000000 +0000
|
|
+++ main.c
|
|
@@ -257,7 +257,7 @@ int main(int argc, char *argv[])
|
|
|
|
init_video();
|
|
|
|
- sprintf(bios_filename, "%s" PATH_SEPARATOR "%s", main_path, "gba_bios.bin");
|
|
+ sprintf(bios_filename, "%s/.gpsp/gba_bios.bin", getenv("HOME"));
|
|
ret = load_bios(bios_filename);
|
|
if (ret != 0)
|
|
ret = load_bios("gba_bios.bin");
|
|
@@ -278,7 +278,7 @@ int main(int argc, char *argv[])
|
|
#ifdef PND_BUILD
|
|
debug_screen_printl("in <SD card>/pandora/appdata/gpsp/ . ");
|
|
#else
|
|
- debug_screen_printl("in the same directory as gpSP. ");
|
|
+ debug_screen_printl("in $HOME/.gpsp/ . ");
|
|
#endif
|
|
debug_screen_printl(" ");
|
|
debug_screen_printl("Press any button to exit. ");
|