From ccb11c0d7aa2484bf64121f99ef1215209823bb9 Mon Sep 17 00:00:00 2001 From: kanjitalk755 Date: Sat, 16 Jun 2018 21:42:43 +0900 Subject: [PATCH] fixed initial chdir --- SheepShaver/src/Unix/main_unix.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SheepShaver/src/Unix/main_unix.cpp b/SheepShaver/src/Unix/main_unix.cpp index 2020f2d5..9c503e24 100755 --- a/SheepShaver/src/Unix/main_unix.cpp +++ b/SheepShaver/src/Unix/main_unix.cpp @@ -748,6 +748,11 @@ int main(int argc, char **argv) #endif #endif +#if __MACOSX__ + extern void set_current_directory(); + set_current_directory(); +#endif + #ifdef USE_SDL // Initialize SDL system if (!init_sdl()) @@ -1031,11 +1036,6 @@ int main(int argc, char **argv) goto quit; } -#if __MACOSX__ - extern void set_current_directory(); - set_current_directory(); -#endif - // Load Mac ROM if (!load_mac_rom()) goto quit;