Supprt opening whole disc, assume file info is gathered before it's used

This commit is contained in:
Kingcom committed 2013-07-23 22:23:12 +02:00
1 parent be548fdd2e
commit e76ffe6b7c
2 files changed
+89 -3

No files matched your search

+3 -1
View File
@@ -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
};