aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mame/nonag.patch
blob: f7457b4e9656dee76bfc2dbce0bc3f41542c8489 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--- 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;
 }