mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Supprt opening whole disc, assume file info is gathered before it's used
This commit is contained in:
1 parent
be548fdd2e
commit
e76ffe6b7c
2 files changed
+89
-3
No files matched your search
@@ -70,6 +70,7 @@ public:
|
||||
|
||||
private:
|
||||
u32 GetFileLbn(std::string& fileName);
|
||||
bool findVirtualFileData(u32 accessBlock, u32 accessSize, std::string& fileName, u32& firstBlock);
|
||||
|
||||
struct OpenFileEntry {
|
||||
#ifdef _WIN32
|
||||
@@ -77,9 +78,10 @@ private:
|
||||
#else
|
||||
FILE *hFile;
|
||||
#endif
|
||||
bool wholeIso;
|
||||
bool lbnFile;
|
||||
u32 startOffset; // only used by lbn files
|
||||
u32 curOffset; // only used by lbn files;
|
||||
u32 curOffset; // only used by lbn files and whole iso;
|
||||
u32 size; // only used by lbn files
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user