summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/sdlwork.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2010-01-16 00:53:57 +0000
committer Aaron Giles <aaron@aarongiles.com>2010-01-16 00:53:57 +0000
commitd35a800134bd09dfc8cf5df9d35e2fd3ba150f92 (patch)
tree0be7bd189caa22be05f114be7ccd4ffa0ac5d517 /src/osd/sdl/sdlwork.c
parent51fd1fa8226a19c2b012faafa88f89dd3cd462f2 (diff)
Added casting operators to the region_info class so you can assign
a region to a generic type pointer and have it automatically convert. Also added a bytes() method which is safe if the region is NULL (useful for saying machine->region("foo")->bytes() and not crashing if foo doesn't exist). Changed the region field in the device_config to be a region_info *, and removed the regionbytes field. Updated all users of these fields to use the new casting operators and bytes() methods instead. Added subdevice and subregion methods to the device_config class, so you can easily query for devices and regions that are device-specific. The device prefix ("devicename:") is automatically prepended.
Diffstat (limited to 'src/osd/sdl/sdlwork.c')
0 files changed, 0 insertions, 0 deletions
15 14:45:54 +1000'>23 months tag24511commit 47d726ce15... Robbbert2 years tag24510commit c6b166fd16... Robbbert2 years tag2459commit fe8cb5e637... Robbbert2 years tag2458commit d9dad677a3... Robbbert3 years tag2457commit 6532c36a0a... Robbbert3 years tag2456commit 8c57fa6a14... Robbbert3 years tag2455commit a8532f3506... Robbbert3 years tag2454commit b6e140efa7... Robbbert3 years tag2453commit d38ca22a93... Robbbert3 years tag245commit 0278f7bab9... Robbbert3 years tag244commit bb3b24ebe5... Robbbert3 years mame0244commit bcf77373a5... Vas Crabb3 years mame0243commit addbb8ab40... Vas Crabb3 years tag243commit c51f0a55ba... Robbbert3 years mame0242commit e8166b5274... Vas Crabb3 years tag242commit 6b1d35f623... Robbbert3 years tag241commit 1281aa019f... Robbbert3 years mame0241commit 31f001e501... Vas Crabb3 years mame0240commit f0ab44fe1c... Vas Crabb3 years tag240commit 2ca9fef8e0... Robbbert3 years tag239commit cb181beb62... Robbbert3 years mame0239commit 80bcaea1ed... Vas Crabb3 years tag238commit 32784fab1e... Robbbert3 years mame0238commit fb21b78904... Vas Crabb3 years tag237commit 7963e94b66...