System: Store game hash as well as serial
This commit is contained in:
1 parent
7681551544
commit
9aa6c24620
20 files changed
+243
-211
No files matched your search
@@ -293,3 +293,9 @@ bool ISOReader::ReadFile(const char* path, std::vector<u8>* data)
|
||||
data->resize(de->length_le);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ISOReader::FileExists(const char* path)
|
||||
{
|
||||
auto de = LocateFile(path);
|
||||
return de.has_value();
|
||||
}
|
||||
@@ -143,6 +143,7 @@ public:
|
||||
std::vector<std::string> GetFilesInDirectory(const char* path);
|
||||
|
||||
bool ReadFile(const char* path, std::vector<u8>* data);
|
||||
bool FileExists(const char* path);
|
||||
|
||||
private:
|
||||
bool ReadPVD();
|
||||
|
||||
Reference in new issue
Block a user