small changes
This commit is contained in:
@@ -45,7 +45,7 @@ void Flash::Load(SaveType saveType, const std::string &path) {
|
||||
panic("Corrupt SRAM!");
|
||||
}
|
||||
|
||||
saveData = mio::make_mmap_sink(flashPath, 0, mio::map_entire_file, error);
|
||||
saveData = mio::make_mmap_sink(flashPath, error);
|
||||
if (error) {
|
||||
panic("Could not make mmap {}", flashPath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user