Add savestate data validity asserts

This commit is contained in:
Eladash
2023-12-25 14:35:09 +02:00
committed by Elad Ashkenazi
parent 475191cf7f
commit f696107c90
4 changed files with 94 additions and 32 deletions
+2 -1
View File
@@ -2641,9 +2641,10 @@ void thread_base::exec()
sig_log.fatal("Thread terminated due to fatal error: %s", reason);
logs::listener::sync_all();
if (IsDebuggerPresent())
{
logs::listener::sync_all();
utils::trap();
}