Skip to content

Commit 9214a39

Browse files
committed
HBMAMEUI: Made BIOS menu wider; disabled newui and removed menu option.
1 parent fda8583 commit 9214a39

6 files changed

Lines changed: 13 additions & 13 deletions

File tree

src/osd/windows/window.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -987,11 +987,11 @@ int win_window_info::complete_create()
987987
osd_rect monitorbounds = monitor()->position_size();
988988

989989
// create the window menu if needed
990-
if (downcast<windows_options &>(machine().options()).menu())
991-
{
992-
if (win_create_menu(machine(), &menu))
993-
return 1;
994-
}
990+
// if (downcast<windows_options &>(machine().options()).menu())
991+
// {
992+
// if (win_create_menu(machine(), &menu))
993+
// return 1;
994+
// }
995995

996996
// are we in worker UI mode?
997997
HWND hwnd;

src/osd/windows/winmain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ const options_entry windows_options::s_option_entries[] =
119119

120120
// video options
121121
{ nullptr, nullptr, core_options::option_type::HEADER, "WINDOWS VIDEO OPTIONS" },
122-
{ WINOPTION_MENU, "0", core_options::option_type::BOOLEAN, "enables menu bar if available by UI implementation" },
122+
// { WINOPTION_MENU, "0", core_options::option_type::BOOLEAN, "enables menu bar if available by UI implementation" },
123123
{ WINOPTION_ATTACH_WINDOW, "", core_options::option_type::STRING, "attach to arbitrary window" },
124124

125125
// post-processing options

src/osd/windows/winmain.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#define WINOPTION_PROFILE "profile"
2323

2424
// video options
25-
#define WINOPTION_MENU "menu"
25+
//#define WINOPTION_MENU "menu"
2626
#define WINOPTION_ATTACH_WINDOW "attach_window"
2727

2828
// core post-processing options
@@ -134,7 +134,7 @@ class windows_options : public osd_options
134134
int profile() const { return int_value(WINOPTION_PROFILE); }
135135

136136
// video options
137-
bool menu() const { return bool_value(WINOPTION_MENU); }
137+
//bool menu() const { return bool_value(WINOPTION_MENU); }
138138
const char *attach_window() const { return value(WINOPTION_ATTACH_WINDOW); }
139139

140140
// core post-processing options

src/osd/winui/hbmameui.rc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ BEGIN
933933
CONTROL "Coin lockout",IDC_COINLOCKOUT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,100,96,10,0,HIDC_COINLOCKOUT
934934
CONTROL "Enable cheats",IDC_CHEAT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,112,86,10,0,HIDC_CHEAT
935935
CONTROL "Output log to Logfile",IDC_LOG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,124,93,10,0,HIDC_LOG
936-
CONTROL "Show Menu",IDC_SHOW_MENU,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,136,86,10,0
936+
// CONTROL "Show Menu",IDC_SHOW_MENU,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,136,86,10,0
937937
CONTROL "Use Natural Keyboard",IDC_NATURAL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,148,86,10,0
938938
CONTROL "Enable HLSL with D3D",IDC_HLSL_ON,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,160,86,10,0
939939
CONTROL "Allow Joystick Contradictions",IDC_JOY_CONTRA,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,172,110,10,0
@@ -944,8 +944,8 @@ BEGIN
944944
GROUPBOX "Override artwork",IDC_STATIC,119,80,90,28
945945
EDITTEXT IDC_ARTWORK_OVERRIDE,125,90,78,14,ES_AUTOHSCROLL | WS_BORDER,0
946946
CONTROL "Crop artwork",IDC_ARTWORK_CROP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,119,110,53,10,0,HIDC_ARTWORK_CROP
947-
GROUPBOX "BIOS",IDC_STATIC,113,128,102,28
948-
COMBOBOX IDC_BIOS,119,138,90,60,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_BIOS
947+
GROUPBOX "BIOS",IDC_STATIC,4,196,211,28
948+
COMBOBOX IDC_BIOS,9,206,200,60,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_BIOS
949949
GROUPBOX "Thread Priority",IDC_HIGH_PRIORITY_TEXT,113,160,102,34
950950
CONTROL "TPSlider",IDC_HIGH_PRIORITY,"msctls_trackbar32",TBS_NOTICKS | WS_TABSTOP,119,170,75,10,0,HIDC_HIGH_PRIORITY
951951
LTEXT "idle",IDC_STATIC,123,180,12,8

src/osd/winui/newuires.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
#define ID_HELP_ABOUTSYSTEM 3140
4343
#define ID_FILE_OLDUI 3141
4444
#define ID_FILE_UIACTIVE 3142
45-
#define IDC_SHOW_MENU 3143
45+
//#define IDC_SHOW_MENU 3143
4646
#define IDI_ICON_CART 3200
4747
#define IDI_ICON_HARD 3201
4848
#define IDI_ICON_CASS 3202

src/osd/winui/properties.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2647,7 +2647,7 @@ static void BuildDataMap(void)
26472647
datamap_add(properties_datamap, IDC_DUAL_LIGHTGUN, DM_BOOL, WINOPTION_DUAL_LIGHTGUN);
26482648

26492649
// show menu
2650-
datamap_add(properties_datamap, IDC_SHOW_MENU, DM_BOOL, WINOPTION_MENU);
2650+
// datamap_add(properties_datamap, IDC_SHOW_MENU, DM_BOOL, WINOPTION_MENU);
26512651

26522652
// set up callbacks
26532653
datamap_set_callback(properties_datamap, IDC_ROTATE, DCT_READ_CONTROL, RotateReadControl);

0 commit comments

Comments
 (0)