mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-09 03:41:10 +08:00
Revert "Remove dynamic core from Windows menu resource"
This reverts commit e50ce08d9a780eace3f341fc446d0c8e485fb34d.
This commit is contained in:
parent
a4213012a7
commit
d08aa74173
@ -18,6 +18,7 @@
|
||||
#define ID_AUTOCYCLE 119
|
||||
#define ID_AUTODETER 120
|
||||
#define ID_NORMAL 121
|
||||
#define ID_DYNAMIC 122
|
||||
#define ID_FULL 123
|
||||
#define ID_SIMPLE 124
|
||||
#define ID_AUTO 125
|
||||
|
@ -1098,6 +1098,7 @@ int Reflect_Menu(void) {
|
||||
CheckMenuItem(m_handle, ID_AUTOCYCLE, (CPU_CycleAutoAdjust) ? MF_CHECKED : MF_STRING);
|
||||
CheckMenuItem(m_handle, ID_AUTODETER, (CPU_AutoDetermineMode&CPU_AUTODETERMINE_CYCLES) ? MF_CHECKED : MF_STRING);
|
||||
CheckMenuItem(m_handle, ID_NORMAL, (!strcasecmp(core_mode, "Normal")) ? MF_CHECKED : MF_STRING);
|
||||
CheckMenuItem(m_handle, ID_DYNAMIC, (!strcasecmp(core_mode, "Dynamic")) ? MF_CHECKED : MF_STRING);
|
||||
CheckMenuItem(m_handle, ID_FULL, (!strcasecmp(core_mode, "Full")) ? MF_CHECKED : MF_STRING);
|
||||
CheckMenuItem(m_handle, ID_SIMPLE, (!strcasecmp(core_mode, "Simple")) ? MF_CHECKED : MF_STRING);
|
||||
CheckMenuItem(m_handle, ID_AUTO, (!strcasecmp(core_mode, "Auto")) ? MF_CHECKED : MF_STRING);
|
||||
|
@ -28,6 +28,7 @@
|
||||
#define ID_AUTOCYCLE 119
|
||||
#define ID_AUTODETER 120
|
||||
#define ID_NORMAL 121
|
||||
#define ID_DYNAMIC 122
|
||||
#define ID_FULL 123
|
||||
#define ID_SIMPLE 124
|
||||
#define ID_AUTO 125
|
||||
|
@ -47,6 +47,7 @@ BEGIN
|
||||
MENUITEM "Auto", ID_AUTO
|
||||
MENUITEM "Normal\tCtrl-1", ID_NORMAL
|
||||
MENUITEM "Full\tCtrl-2", ID_FULL
|
||||
MENUITEM "Dynamic\tCtrl-3", ID_DYNAMIC
|
||||
MENUITEM "Simple\tCtrl-4", ID_SIMPLE
|
||||
END
|
||||
POPUP "Type"
|
||||
|
Loading…
x
Reference in New Issue
Block a user