diff --git a/UI/NativeApp.cpp b/UI/NativeApp.cpp index f9d6de3e7f..8aaa834fd8 100644 --- a/UI/NativeApp.cpp +++ b/UI/NativeApp.cpp @@ -320,7 +320,8 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch #elif defined(IOS) // Packed assets are included in app VFSRegister("", new DirectoryAssetReader(external_dir)); -#elif !defined(MOBILE_DEVICE) && !defined(_WIN32) +#endif +#if !defined(MOBILE_DEVICE) && !defined(_WIN32) VFSRegister("", new DirectoryAssetReader((File::GetExeDirectory() + "assets/").c_str())); VFSRegister("", new DirectoryAssetReader((File::GetExeDirectory()).c_str())); VFSRegister("", new DirectoryAssetReader("/usr/share/ppsspp/assets/"));