mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
Pause only on fatal messages
Also make some access violation an error since we don't pause on it.
This commit is contained in:
parent
d3eb267ba9
commit
87d4b14ca9
2 changed files with 2 additions and 2 deletions
|
@ -152,7 +152,7 @@ struct pause_on_fatal final : logs::listener
|
|||
|
||||
void log(u64 /*stamp*/, const logs::message& msg, const std::string& /*prefix*/, const std::string& /*text*/) override
|
||||
{
|
||||
if (msg.sev <= logs::level::fatal)
|
||||
if (msg.sev == logs::level::fatal)
|
||||
{
|
||||
// Pause emulation if fatal error encountered
|
||||
Emu.Pause();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue