mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 09:48:37 +12:00
Ensure HDD1 is never damaged or corrupted due to unexpected RPCS3/game termination
This commit is contained in:
parent
3513f6d83c
commit
825ae5b8aa
6 changed files with 133 additions and 20 deletions
|
@ -87,6 +87,8 @@ extern bool ppu_load_rel_exec(const ppu_rel_object&);
|
|||
|
||||
extern void send_close_home_menu_cmds();
|
||||
|
||||
extern void signal_system_cache_can_stay();
|
||||
|
||||
fs::file make_file_view(const fs::file& file, u64 offset, u64 size);
|
||||
|
||||
fs::file g_tty;
|
||||
|
@ -3033,6 +3035,8 @@ void Emulator::Kill(bool allow_autoexit, bool savestate, savestate_stage* save_s
|
|||
|
||||
to_ar = std::make_unique<utils::serial>();
|
||||
to_ar->m_file_handler = make_compressed_serialization_file_handler(file.file);
|
||||
|
||||
signal_system_cache_can_stay();
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue