diff options
author | Aaron Giles <aaron@aarongiles.com> | 2013-07-26 08:15:05 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2013-07-26 08:15:05 +0000 |
commit | ec07fb10225293829c870f2ce1ffd05732f671ca (patch) | |
tree | 5fed58d5c5d4ecf690475e91f3546036a14abdd8 /src/mame/includes/boogwing.h | |
parent | b5e744c477c41c28d1cefb88c622ae3a1cd4eb4e (diff) |
Fix long-standing architectural wart: the priority bitmap is no longer owned
by the tilemap system, and no longer exists globally in the machine. Instead
it is allocated per-screen for all systems. This has several side-effects:
1. Previously, the pdrawgfx* functions were already changed to take the priority
bitmap as a parameter. Now all other hand-crafted functions that mess with
the priority bitmap generally must do so as well, and have been updated.
2. Calls to the tilemap system now need to provide a screen_device. This is not
just for the priority_bitmap, but also for screen flipping, which previously
always assumed the "primary screen" when doing flipping calculations.
3. All devices that implemented tilemap-like functionality have been updated
to follow the same pattern, since they largely tend to call through to the
core tilemap system at some point.
Diffstat (limited to 'src/mame/includes/boogwing.h')
-rw-r--r-- | src/mame/includes/boogwing.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/includes/boogwing.h b/src/mame/includes/boogwing.h index 6719827526e..601c92f7ea7 100644 --- a/src/mame/includes/boogwing.h +++ b/src/mame/includes/boogwing.h @@ -58,7 +58,7 @@ public: DECLARE_DRIVER_INIT(boogwing); virtual void video_start(); UINT32 screen_update_boogwing(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); - void mix_boogwing(bitmap_rgb32 &bitmap, const rectangle &cliprect); + void mix_boogwing(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); DECLARE_READ16_MEMBER( boogwing_protection_region_0_104_r ); DECLARE_WRITE16_MEMBER( boogwing_protection_region_0_104_w ); |