summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/window.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/sdl/window.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/sdl/window.c')
-rw-r--r--src/osd/sdl/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/sdl/window.c b/src/osd/sdl/window.c
index 63aff122574..51797564833 100644
--- a/src/osd/sdl/window.c
+++ b/src/osd/sdl/window.c
@@ -702,9 +702,9 @@ int sdlwindow_video_window_create(running_machine *machine, int index, sdl_monit
// make the window title
if (video_config.numscreens == 1)
- sprintf(window->title, APPNAME ": %s [%s]", machine->gamedrv->description, machine->gamedrv->name);
+ sprintf(window->title, APPNAME ": %s [%s]", machine->system().description, machine->system().name);
else
- sprintf(window->title, APPNAME ": %s [%s] - Screen %d", machine->gamedrv->description, machine->gamedrv->name, index);
+ sprintf(window->title, APPNAME ": %s [%s] - Screen %d", machine->system().description, machine->system().name, index);
wp->window = window;