Skip to content

Commit

Permalink
Debugger: Disable PauseOnEntry if Hardcore Mode disallows debugging
Browse files Browse the repository at this point in the history
Fixes an issue where Boot and Debug left the game paused on startup,
and the user couldn't unpause because the debugger was disallowed
by then.
  • Loading branch information
CookiePLMonster committed Mar 31, 2024
1 parent d027fc8 commit 311f3f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pcsx2-qt/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,7 @@ void MainWindow::onAchievementsHardcoreModeChanged(bool enabled)
m_ui.actionDebugger->setDisabled(enabled);
if (enabled)
{
DebugInterface::setPauseOnEntry(false);
if (m_debugger_window)
{
m_debugger_window->close();
Expand Down

0 comments on commit 311f3f8

Please sign in to comment.