mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-03 11:15:20 +02:00
Add a setting (defaulting to false) for enabling file handler plugins
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user