Use the libretro VFS interface in libretro builds

This commit is contained in:
刘皓 committed 2026-01-01 00:24:01 -05:00
1 parent a018cfc017
commit 5716cbd41d
30 files changed
+624 -252

No files matched your search

+2 -1
View File
@@ -6,6 +6,7 @@
#include "Common/Data/Format/PNGLoad.h"
#include "Common/Log.h"
#include "Common/GPU/thin3d.h"
#include "Common/File/FileUtil.h"
#define ICON_CACHE_VERSION 1
#define MK_FOURCC(str) (str[0] | ((uint8_t)str[1] << 8) | ((uint8_t)str[2] << 16) | ((uint8_t)str[3] << 24))
@@ -88,7 +89,7 @@ bool IconCache::LoadFromFile(FILE *file) {
// Check if we already have the entry somehow.
if (cache_.find(key) != cache_.end()) {
// Seek past the data and go to the next entry.
fseek(file, entryHeader.dataLen, SEEK_CUR);
File::Fseek(file, entryHeader.dataLen, SEEK_CUR);
continue;
}