Add a setting (defaulting to false) for enabling file handler plugins

This commit is contained in:
Henrik Rydgård
2026-08-03 11:24:36 +02:00
parent 317a06f2f6
commit db30fabf03
52 changed files with 90 additions and 14 deletions
+7 -2
View File
@@ -17,16 +17,21 @@
#pragma once
// TODO: Remove the Windows-specific code, FILE is fine there too.
#include <map>
#include "ppsspp_config.h"
#include "Common/File/Path.h"
#include "Core/FileSystems/FileSystem.h"
#include "Core/FileSystems/DirectoryFileSystem.h"
extern const std::string INDEX_FILENAME;
#if PPSSPP_PLATFORM(IOS) || PPSSPP_PLATFORM(ANDROID) || PPSSPP_PLATFORM(SWITCH) || PPSSPP_PLATFORM(UWP)
#define PLATFORM_SUPPORTS_FILE_HANDLER_PLUGINS 0
#else
#define PLATFORM_SUPPORTS_FILE_HANDLER_PLUGINS 1
#endif
class VirtualDiscFileSystem: public IFileSystem {
public:
VirtualDiscFileSystem(IHandleAllocator *_hAlloc, const Path &_basePath);