mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
fix handling VIDEO_NONE on windows (nw)
fix SDL version of zexall (nw)
This commit is contained in:
parent
550175d8b8
commit
7893ce3aea
@ -1096,8 +1096,12 @@ int win_window_info::complete_create()
|
||||
SetWindowLongPtr(hwnd, GWLP_USERDATA, (LONG_PTR)this);
|
||||
|
||||
// skip the positioning stuff for -video none */
|
||||
if (video_config.mode == VIDEO_MODE_NONE)
|
||||
if (video_config.mode == VIDEO_MODE_NONE)
|
||||
{
|
||||
set_renderer(osd_renderer::make_for_type(video_config.mode, shared_from_this()));
|
||||
renderer().create();
|
||||
return 0;
|
||||
}
|
||||
|
||||
// adjust the window position to the initial width/height
|
||||
tempwidth = (m_win_config.width != 0) ? m_win_config.width : 640;
|
||||
|
@ -99,7 +99,7 @@ void emulator_info::layout_file_cb(xml_data_node &layout) { }
|
||||
|
||||
const char * emulator_info::get_appname() { return nullptr; }
|
||||
|
||||
const char * emulator_info::get_appname_lower() { return nullptr; }
|
||||
const char * emulator_info::get_appname_lower() { return "zexall"; }
|
||||
|
||||
const char * emulator_info::get_configname() { return nullptr; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user