From 8dec6231614ba3f47d874d551ab83f4c5acb07cb Mon Sep 17 00:00:00 2001 From: neonloop Date: Sat, 8 May 2021 19:50:43 +0000 Subject: Sets main_path correctly (thanks, eggs!) --- frontend/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'frontend') 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) -- cgit v1.2.3