mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +02:00
Add a file loader to perform disk caching.
Had to do some tricks to handle gameinfocache threads properly.
This commit is contained in:
1 parent
da827d9ef0
commit
88b23460f1
10 files changed
+702
No files matched your search
@@ -71,6 +71,7 @@
|
||||
#include "Common/MemArena.h"
|
||||
#include "Core/Config.h"
|
||||
#include "Core/Core.h"
|
||||
#include "Core/FileLoaders/DiskCachingFileLoader.h"
|
||||
#include "Core/Host.h"
|
||||
#include "Core/SaveState.h"
|
||||
#include "Core/Screenshot.h"
|
||||
@@ -760,6 +761,10 @@ void HandleGlobalMessage(const std::string &msg, const std::string &value) {
|
||||
if (msg == "inputDeviceConnected") {
|
||||
KeyMap::NotifyPadConnected(value);
|
||||
}
|
||||
|
||||
if (msg == "cacheDir") {
|
||||
DiskCachingFileLoaderCache::SetCacheDir(value);
|
||||
}
|
||||
}
|
||||
|
||||
void NativeUpdate(InputState &input) {
|
||||
|
||||
Reference in new issue
Block a user