mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 20:05:47 -04:00
System: Store game hash as well as serial
This commit is contained in:
@ -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