summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/windows/debugwin.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2011-03-28 09:10:17 +0000
committer Aaron Giles <aaron@aarongiles.com>2011-03-28 09:10:17 +0000
commitaf071893a63485d60b1c52d9f15501d2213c8e5e (patch)
tree16635e21ef67490e0e585e45e4c8698ff520d073 /src/osd/windows/debugwin.c
parent58f70e918446d6940d8192adc240b4d60be66c3d (diff)
Cleanup of machine.h. Shuffled some fields around, and moved several
to private member variables with accessors: machine->m_respool ==> machine->respool() machine->config ==> machine->config() machine->gamedrv ==> machine->system() machine->m_regionlist ==> machine->first_region() machine->sample_rate ==> machine->sample_rate() Also converted internal lists to use simple_list.
Diffstat (limited to 'src/osd/windows/debugwin.c')
-rw-r--r--src/osd/windows/debugwin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/osd/windows/debugwin.c b/src/osd/windows/debugwin.c
index 7f99ac03033..4fcb3a367d3 100644
--- a/src/osd/windows/debugwin.c
+++ b/src/osd/windows/debugwin.c
@@ -1644,7 +1644,7 @@ static void generic_create_window(running_machine *machine, debug_view_type type
char title[256];
// create the window
- _snprintf(title, ARRAY_LENGTH(title), "Debug: %s [%s]", machine->gamedrv->description, machine->gamedrv->name);
+ _snprintf(title, ARRAY_LENGTH(title), "Debug: %s [%s]", machine->system().description, machine->system().name);
info = debugwin_window_create(machine, title, NULL);
if (info == NULL || !debugwin_view_create(info, 0, type))
return;
@@ -1704,7 +1704,7 @@ static void log_create_window(running_machine *machine)
RECT bounds;
// create the window
- _snprintf(title, ARRAY_LENGTH(title), "Errorlog: %s [%s]", machine->gamedrv->description, machine->gamedrv->name);
+ _snprintf(title, ARRAY_LENGTH(title), "Errorlog: %s [%s]", machine->system().description, machine->system().name);
info = debugwin_window_create(machine, title, NULL);
if (info == NULL || !debugwin_view_create(info, 0, DVT_LOG))
return;
@@ -2588,7 +2588,7 @@ static void console_set_cpu(device_t *device)
char curtitle[256];
astring title;
- title.printf("Debug: %s - %s '%s'", device->machine->gamedrv->name, device->name(), device->tag());
+ title.printf("Debug: %s - %s '%s'", device->machine->system().name, device->name(), device->tag());
win_get_window_text_utf8(main_console->wnd, curtitle, ARRAY_LENGTH(curtitle));
if (title.cmp(curtitle) != 0)
win_set_window_text_utf8(main_console->wnd, title);