mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-26 08:51:25 +02:00
https://mamedev.org Multi Arcade Machine Emulator with GroovyMAME/Switchres/No-nag patchset.
36 lines
1.0 KiB
Diff
36 lines
1.0 KiB
Diff
--- a/src/emu/render.cpp
|
|
+++ b/src/emu/render.cpp
|
|
@@ -1399,7 +1399,8 @@
|
|
}
|
|
|
|
// if we are not in the running stage, draw an outer box
|
|
- else
|
|
+ // DISABLE WHITE BORDER
|
|
+ else if ( !m_manager.machine().options().skip_gameinfo() )
|
|
{
|
|
render_primitive *prim = list.alloc(render_primitive::QUAD);
|
|
set_render_bounds_xy(prim->bounds, 0.0f, 0.0f, (float)m_width, (float)m_height);
|
|
--- a/src/frontend/mame/ui/ui.cpp
|
|
+++ b/src/frontend/mame/ui/ui.cpp
|
|
@@ -313,7 +313,8 @@
|
|
switch (state)
|
|
{
|
|
case 0:
|
|
- if (show_warnings)
|
|
+ // DISABLE INTERACTIVE WARNING MESSAGES
|
|
+ if (show_gameinfo)
|
|
messagebox_text = machine_info().warnings_string();
|
|
if (!messagebox_text.empty())
|
|
{
|
|
@@ -770,6 +771,10 @@
|
|
|
|
uint32_t mame_ui_manager::handler_messagebox(render_container &container)
|
|
{
|
|
+ // DISABLE INITIALIZING, LOADING & DECRYPTING MESSAGES
|
|
+ if (machine().options().skip_gameinfo())
|
|
+ return 0;
|
|
+
|
|
draw_text_box(container, messagebox_text.c_str(), ui::text_layout::LEFT, 0.5f, 0.5f, messagebox_backcolor);
|
|
return 0;
|
|
}
|