Skip to content

Commit

Permalink
Fix load latest rom menu item having disabled state
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurumaker72 committed Oct 20, 2023
1 parent ca8d2ae commit f6ed39d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions main/win/main_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1111,6 +1111,7 @@ void EnableEmulationMenuItems(BOOL emulationRunning)
EnableMenuItem(hMenu, EMU_STOP, MF_ENABLED);
EnableMenuItem(hMenu, EMU_PAUSE, MF_ENABLED);
EnableMenuItem(hMenu, EMU_FRAMEADVANCE, MF_ENABLED);
EnableMenuItem(hMenu, ID_LOAD_LATEST, MF_ENABLED);
EnableMenuItem(hMenu, EMU_PLAY, MF_ENABLED);
EnableMenuItem(hMenu, FULL_SCREEN, MF_ENABLED);
EnableMenuItem(hMenu, STATE_SAVE, MF_ENABLED);
Expand Down Expand Up @@ -1152,6 +1153,7 @@ void EnableEmulationMenuItems(BOOL emulationRunning)
EnableMenuItem(hMenu, IDLOAD, MF_ENABLED);
EnableMenuItem(hMenu, EMU_PAUSE, MF_GRAYED);
EnableMenuItem(hMenu, EMU_FRAMEADVANCE, MF_GRAYED);
EnableMenuItem(hMenu, ID_LOAD_LATEST, MF_GRAYED);
EnableMenuItem(hMenu, EMU_PLAY, MF_GRAYED);
EnableMenuItem(hMenu, FULL_SCREEN, MF_GRAYED);
EnableMenuItem(hMenu, STATE_SAVE, MF_GRAYED);
Expand Down
2 changes: 1 addition & 1 deletion winproject/rsrc.rc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ BEGIN
MENUITEM "Freeze", ID_RECENTROMS_FREEZE
MENUITEM SEPARATOR
END
MENUITEM "&Load Latest ROM\tCtrl Shift L", ID_LOAD_LATEST, GRAYED
MENUITEM "&Load Latest ROM\tCtrl Shift L", ID_LOAD_LATEST
MENUITEM SEPARATOR
MENUITEM "E&xit\tAlt F4", ID_EMULATOR_EXIT
END
Expand Down

0 comments on commit f6ed39d

Please sign in to comment.