diff --git a/src/emu/gamedrv.h b/src/emu/gamedrv.h index 8d885be5e67..c38d9e07181 100644 --- a/src/emu/gamedrv.h +++ b/src/emu/gamedrv.h @@ -72,6 +72,7 @@ const UINT32 GAME_TYPE_CONSOLE = 0x00080000; // console system const UINT32 GAME_TYPE_COMPUTER = 0x00100000; // any kind of computer including home computers, minis, calcs,... const UINT32 GAME_TYPE_OTHER = 0x00200000; // any other emulated system that doesn't fit above (ex. clock, satelite receiver,...) const UINT32 GAME_IMPERFECT_KEYBOARD = 0x00400000; // keyboard is known to be wrong +const UINT32 GAME_CLICKABLE_ARTWORK = 0x00800000; // marking that artwork is clickable and require mouse cursor // useful combinations of flags const UINT32 GAME_IS_SKELETON = GAME_NO_SOUND | GAME_NOT_WORKING; // mask for skelly games diff --git a/src/emu/mame.c b/src/emu/mame.c index 40f428e05ba..e4a1cc09864 100644 --- a/src/emu/mame.c +++ b/src/emu/mame.c @@ -175,14 +175,14 @@ int mame_execute(emu_options &options, osd_interface &osd) valid.check_shared_source(*system); } - ui_show_mouse(false); - // create the machine configuration machine_config config(*system, options); // create the machine structure and driver running_machine machine(config, osd, started_empty); + ui_show_mouse(machine.system().flags & GAME_CLICKABLE_ARTWORK); + // looooong term: remove this global_machine = &machine; diff --git a/src/emu/rendlay.c b/src/emu/rendlay.c index 8a95959f8ac..2924ff5aa89 100644 --- a/src/emu/rendlay.c +++ b/src/emu/rendlay.c @@ -2156,8 +2156,6 @@ layout_view::item::item(running_machine &machine, xml_data_node &itemnode, simpl // allocate a copy of the input tag m_input_tag = xml_get_attribute_string_with_subst(machine, itemnode, "inputtag", ""); - if (m_input_tag.len()>0) ui_show_mouse(true); - // find the associated element const char *name = xml_get_attribute_string_with_subst(machine, itemnode, "element", NULL); if (name != NULL) diff --git a/src/mame/drivers/30test.c b/src/mame/drivers/30test.c index 0d4786b8c04..41ba8e09189 100644 --- a/src/mame/drivers/30test.c +++ b/src/mame/drivers/30test.c @@ -273,4 +273,4 @@ ROM_START( 30test ) ROM_LOAD( "tt1-voi0.7p", 0x0000, 0x80000, CRC(b4fc5921) SHA1(92a88d5adb50dae48715847f12e88a35e37ef78c) ) ROM_END -GAMEL( 1997, 30test, 0, 30test, 30test, driver_device, 0, ROT0, "Namco", "30 Test (Remake)", GAME_SUPPORTS_SAVE, layout_30test ) +GAMEL( 1997, 30test, 0, 30test, 30test, driver_device, 0, ROT0, "Namco", "30 Test (Remake)", GAME_SUPPORTS_SAVE | GAME_CLICKABLE_ARTWORK, layout_30test )