Skip to content

Commit

Permalink
Disable a few debug menu items outside of a game.
Browse files Browse the repository at this point in the history
They won't work anyway.
  • Loading branch information
unknownbrackets committed Mar 1, 2014
1 parent aee5f0d commit a0f3b2b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Windows/WndMainWindow.cpp
Expand Up @@ -427,6 +427,11 @@ namespace MainWindow
EnableMenuItem(menu, ID_EMULATION_STOP, menuEnable);
EnableMenuItem(menu, ID_EMULATION_RESET, menuEnable);
EnableMenuItem(menu, ID_EMULATION_SWITCH_UMD, umdSwitchEnable);
EnableMenuItem(menu, ID_DEBUG_LOADMAPFILE, menuEnable);
EnableMenuItem(menu, ID_DEBUG_SAVEMAPFILE, menuEnable);
EnableMenuItem(menu, ID_DEBUG_RESETSYMBOLTABLE, menuEnable);
EnableMenuItem(menu, ID_DEBUG_TAKESCREENSHOT, menuEnable);
EnableMenuItem(menu, ID_DEBUG_EXTRACTFILE, menuEnable);
}

// These are used as an offset
Expand Down

1 comment on commit a0f3b2b

@solarmystic
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@unknownbrackets

Actually, the emulator's Take Screenshot ID_DEBUG_TAKESCREENSHOT command works outside of a game as well. Here's what happens when the option is executed in previous builds at the mainscreen either via the F12 button or the WinUI option:-

_00000

As you can see, the main screen is captured, and the picture is saved anyway. Just a heads up.

The rest of the options look fine to me, I humbly suggest that the Take Screenshot option be reenabled again since it works outside the game as well, and it's rather convenient to take quick screenshots of the emulator's UI elements when writing up guides, etc instead of having to using Window's own Snipping Tool instead.

Please sign in to comment.