diff options
| author | 2010-06-28 06:40:44 +0000 | |
|---|---|---|
| committer | 2010-06-28 06:40:44 +0000 | |
| commit | 41b9dbb9ace490ee8ab0bd87d35a50e9b693d538 (patch) | |
| tree | 945b176affb6ad7958b2016777241736ff6f294d /src/osd | |
| parent | f9a3aaf5c82bae95ba12b517beaf3fe5d4d1a93a (diff) | |
Made the machine_config a proper object. Added detokenize method to
this object which can be called multiple times to append new devices
after the initial machine configuration is set up. Updated member
variables to match new naming convention.
Changed the running_machine to take a constructed machine_config
object in the constructor, instead of creating one itself, for
consistency. Also added machine->total_colors() as a shortcut to
machine->config->m_total_colors.
Diffstat (limited to 'src/osd')
| -rw-r--r-- | src/osd/sdl/video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/sdl/video.c b/src/osd/sdl/video.c index 4a4a9c4f616..017c7f2b20a 100644 --- a/src/osd/sdl/video.c +++ b/src/osd/sdl/video.c @@ -125,7 +125,7 @@ int sdlvideo_init(running_machine *machine) if (sdlwindow_init(machine)) goto error; - tc = machine->config->total_colors; + tc = machine->total_colors(); // create the windows for (index = 0; index < video_config.numscreens; index++) |
