mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-25 00:04:49 +02:00
Add "GetFileInfoByHandle" function to (many) file systems
This commit is contained in:
@@ -727,6 +727,11 @@ PSPFileInfo DirectoryFileSystem::GetFileInfo(std::string filename) {
|
||||
return ReplayApplyDiskFileInfo(x, CoreTiming::GetGlobalTimeUs());
|
||||
}
|
||||
|
||||
PSPFileInfo DirectoryFileSystem::GetFileInfoByHandle(u32 handle) {
|
||||
WARN_LOG(Log::FileSystem, "GetFileInfoByHandle not yet implemented for DirectoryFileSystem");
|
||||
return PSPFileInfo();
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
#define FILETIME_FROM_UNIX_EPOCH_US 11644473600000000ULL
|
||||
|
||||
@@ -1065,6 +1070,11 @@ PSPFileInfo VFSFileSystem::GetFileInfo(std::string filename) {
|
||||
return x;
|
||||
}
|
||||
|
||||
PSPFileInfo VFSFileSystem::GetFileInfoByHandle(u32 handle) {
|
||||
return PSPFileInfo();
|
||||
}
|
||||
|
||||
|
||||
void VFSFileSystem::CloseFile(u32 handle) {
|
||||
EntryMap::iterator iter = entries.find(handle);
|
||||
if (iter != entries.end()) {
|
||||
|
||||
Reference in New Issue
Block a user