mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 10:27:59 -05:00
Archive: Added Init/Shutdown methods to reset kernel archive state.
This commit is contained in:
@ -144,4 +144,14 @@ Handle CreateArchive(FileSys::Archive* backend, const std::string& name) {
|
||||
return handle;
|
||||
}
|
||||
|
||||
/// Initialize archives
|
||||
void ArchiveInit() {
|
||||
g_archive_map.clear();
|
||||
}
|
||||
|
||||
/// Shutdown archives
|
||||
void ArchiveShutdown() {
|
||||
g_archive_map.clear();
|
||||
}
|
||||
|
||||
} // namespace Kernel
|
||||
|
Reference in New Issue
Block a user