X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gui.c;fp=gui.c;h=a08bb63d5626d88973a259b95ebf59baf8afe1f9;hb=eac69717338922e6bb55076e57d7674080291fe9;hp=165c6697a635bb12aa2c35dcdbc45d8eae631883;hpb=ee0a3871f9982215361cd6bb4758eb9a7c7d8413;p=gpsp.git diff --git a/gui.c b/gui.c index 165c669..a08bb63 100644 --- a/gui.c +++ b/gui.c @@ -832,10 +832,10 @@ s32 load_config_file() { u8 config_path[512]; - #if (defined(PSP_BUILD) || defined(ARM_ARCH)) && !defined(_WIN32_WCE) - sprintf(config_path, "%s/%s", main_path, GPSP_CONFIG_FILENAME); - #else + #if defined(_WIN32) || defined(_WIN32_WCE) sprintf(config_path, "%s\\%s", main_path, GPSP_CONFIG_FILENAME); + #else + sprintf(config_path, "%s/%s", main_path, GPSP_CONFIG_FILENAME); #endif file_open(config_file, config_path, read);