Previous 199869 Revisions Next

r15032 Sunday 15th January, 2012 at 01:13:13 UTC by Aaron Giles
Added new method screen_device::register_screen_bitmap which
allocates a given bitmap to match the screen size and resizes
it as appropriate when the screen size changes. Updated all
the obvious spots in the code where this could be leveraged.

Move allocate/resize methods in the bitmap classes down into
bitmap_t because they no longer have any dependency on the
bitmap format or type.

Ensured that the bitmap's palette remains set across a resize
call (it is lost doing an allocate).
[src/emu]machine.c screen.c screen.h tilemap.c
[src/emu/machine]laserdsc.c
[src/emu/sound]cdp1864.c
[src/emu/video]315_5124.c cdp1861.c cdp1862.c v9938.c
[src/lib/util]bitmap.c bitmap.h
[src/mame/drivers]astrocorp.c coolridr.c gei.c lastfght.c mazerbla.c sliver.c sms.c taitotz.c tmaster.c
[src/mame/video]airbustr.c argus.c bigevglf.c bking.c blockout.c buggychl.c cave.c ccastles.c changela.c cloud9.c cvs.c dday.c decospr.c dkong.c dogfgt.c exidy.c fgoal.c firetrk.c gaiden.c galastrm.c galpanic.c gomoku.c hyhoo.c ikki.c kaneko16.c magmax.c mappy.c mcd212.c mermaid.c model3.c ms32.c nbmj8891.c nbmj8900.c nbmj8991.c nbmj9195.c ninjakd2.c niyanpai.c ojankohs.c pacland.c paradise.c psikyosh.c quasar.c shangha3.c spbactn.c sprint2.c sprint4.c sprint8.c starfire.c starshp1.c taito_f3.c taitojc.c taitosj.c tank8.c tceptor.c tecmo16.c toaplan2.c toobin.c triplhnt.c ultratnk.c wolfpack.c zac2650.c

Previous 199869 Revisions Next


© 1997-2024 The MAME Team