From: Apaczer <94932128+Apaczer@users.noreply.github.com> Date: Mon, 11 Aug 2025 19:33:31 +0000 (+0200) Subject: MIYOO: frontend: use CWD for PCSX_DOT_DIR X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=372a1be96436160fb53ca452177f0640e8f89da8;p=pcsx_rearmed.git MIYOO: frontend: use CWD for PCSX_DOT_DIR --- diff --git a/frontend/main.c b/frontend/main.c index 5486ebd5..a4a3a481 100644 --- a/frontend/main.c +++ b/frontend/main.c @@ -503,7 +503,7 @@ void emu_core_ask_exit(void) static const char *get_home_dir(void) { -#if defined(PANDORA) || !defined(__unix__) +#if defined(PANDORA) || !defined(__unix__) || defined(MIYOO) return "."; #else static const char *home = NULL; diff --git a/frontend/main.h b/frontend/main.h index 3c17f8c5..57f27c1d 100644 --- a/frontend/main.h +++ b/frontend/main.h @@ -30,7 +30,7 @@ #define CHEATS_DIR PCSX_DOT_DIR "cheats/" #define PATCHES_DIR PCSX_DOT_DIR "patches/" #define CFG_DIR PCSX_DOT_DIR "cfg/" -#ifndef PANDORA +#if !defined(PANDORA) && !defined(MIYOO) #define BIOS_DIR PCSX_DOT_DIR "bios/" #define SCREENSHOTS_DIR PCSX_DOT_DIR "screenshots/" #else