summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/video/generic.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-12-15 02:37:46 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-12-15 02:37:46 +0000
commitf43747b22195bab83f159e61e764d649443d619a (patch)
treef7c99a6d8e90aaf50a3cf9f04880eec97585b9a3 /src/emu/video/generic.c
parentc1c28e486b58533a436b4201bbeb176407b4c0b1 (diff)
Some misc cleanups:
- added warning messages for auto_malloc, timer, and save state allocations done after init time. These should be fixed when detected, as I would eventually like to disallow them entirely. - changed state registration functions to pass through the caller's file and line number to facilitate fixing the above warnings - converted Taito F3 sound to a separate machine driver which is imported into games that use it - converted the balsente driver to driver_data structure - converted harddriv timers into devices - fixed crash in cps2 games due to not configuring the qsound bank - cleaned up initialization in taito_l to allocate at init time instead of reset time
Diffstat (limited to 'src/emu/video/generic.c')
-rw-r--r--src/emu/video/generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/video/generic.c b/src/emu/video/generic.c
index 8993215fc76..1c4dc959cad 100644
--- a/src/emu/video/generic.c
+++ b/src/emu/video/generic.c
@@ -255,7 +255,7 @@ VIDEO_START( generic_bitmapped )
machine->generic.tmpbitmap = video_screen_auto_bitmap_alloc(machine->primary_screen);
/* ensure the contents of the bitmap are saved */
- state_save_register_bitmap(machine, "video", NULL, 0, "tmpbitmap", machine->generic.tmpbitmap);
+ state_save_register_global_bitmap(machine, machine->generic.tmpbitmap);
}