Get rid of the confusing old USING_WIN_UI define. Make a more clear system property for headless.

This commit is contained in:
Henrik Rydgård committed 2026-08-16 12:19:41 +02:00
1 parent 45e11ee90f
commit 5cffcd34ad
21 files changed
+91 -95

No files matched your search

+2 -2
View File
@@ -277,8 +277,8 @@ static void ShowCompatWarnings(const Compatibility &compat) {
extern const std::string INDEX_FILENAME;
static void MountFileSystems() {
// TODO(scoped): This won't work if memStickDirectory points at the contents of /PSP...
#if defined(USING_WIN_UI) || defined(APPLE)
// TODO: Revisit this flash0 configurability. It was added for
#if PPSSPP_PLATFORM(WINDOWS) || PPSSPP_PLATFORM(MACOS)
auto flash0System = std::make_shared<DirectoryFileSystem>(&pspFileSystem, g_Config.flash0Directory, FileSystemFlags::FLASH);
#else
auto flash0System = std::make_shared<VFSFileSystem>(&pspFileSystem, "flash0");