small changes
This commit is contained in:
@@ -60,7 +60,7 @@ void Mem::LoadSRAM(SaveType save_type, fs::path path) {
|
||||
return;
|
||||
}
|
||||
|
||||
saveData = mio::make_mmap_sink(sramPath, 0, mio::map_entire_file, error);
|
||||
saveData = mio::make_mmap_sink(sramPath, error);
|
||||
if (error) {
|
||||
Util::Error::GetInstance().Throw(
|
||||
{Util::Error::Severity::NON_FATAL}, {Util::Error::Type::MMAP_MAKE_SINK_ERROR},
|
||||
|
||||
Reference in New Issue
Block a user