mirror of
https://github.com/JesseTG/melonds-ds.git
synced 2025-03-03 11:37:10 +00:00
Log when flushing the FAT filesystems to disk
This commit is contained in:
parent
739714f361
commit
e809cde29f
@ -67,6 +67,9 @@ retro::task::TaskSpec melonds::fat::FlushTask() noexcept {
|
||||
int error = errno;
|
||||
retro::error("Failed to flush emulated FAT filesystem to host disk: %s (%x)\n", strerror(error), error);
|
||||
}
|
||||
else {
|
||||
retro::debug("Flushed emulated FAT filesystem to host disk\n");
|
||||
}
|
||||
}
|
||||
// If the file is not open, then it was closed before the flush timer reached 0.
|
||||
// In that case it will have been flushed to disk anyway, so we don't need to do anything.
|
||||
|
Loading…
x
Reference in New Issue
Block a user