Cleanup, fix RomFS reads (todo: revisit), add CFG::GetConfigInfoBlk2

This commit is contained in:
wheremyfoodat 2022-10-11 22:04:26 +03:00
parent 1ddba7737f
commit 156a89ba75
7 changed files with 35 additions and 6 deletions

View file

@ -71,7 +71,7 @@ public:
return size;
}
bool seek(std::int64_t offset, int origin = 0) {
bool seek(std::int64_t offset, int origin = SEEK_SET) {
if (!isOpen() || fseeko(handle, offset, origin) != 0)
return false;