summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneonloop2021-05-08 19:50:43 +0000
committerneonloop2021-05-08 19:50:43 +0000
commit8dec6231614ba3f47d874d551ab83f4c5acb07cb (patch)
tree4ca9f44060b6490163c3634904667e36919f7fd6
parent27089678282cb4ed090d11979c4ec8f7495f4a2a (diff)
downloadpicogpsp-8dec6231614ba3f47d874d551ab83f4c5acb07cb.tar.gz
picogpsp-8dec6231614ba3f47d874d551ab83f4c5acb07cb.tar.bz2
picogpsp-8dec6231614ba3f47d874d551ab83f4c5acb07cb.zip
Sets main_path correctly (thanks, eggs!)
-rw-r--r--frontend/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/main.c b/frontend/main.c
index 1839c2a..f303201 100644
--- a/frontend/main.c
+++ b/frontend/main.c
@@ -343,6 +343,7 @@ int main(int argc, char *argv[])
printf("Using built-in BIOS\n");
}
+ getcwd(main_path, 512);
plat_get_root_dir(save_path, 512);
if (!gamepak_rom)