Previous 15994 Revisions Next

r14038 Sunday 15th January, 2012 at 08:25:24 UTC by Miodrag Milanović
Sync with MAME r15034 (nw)
[src/emu]screen.h tilemap.c
[src/mame/drivers]bfm_swp.c thayers.c
[src/mame/video]stvvdp2.c

src/mame/video/stvvdp2.c
r14037r14038
59215921VIDEO_START( stv_vdp2 )
59225922{
59235923   saturn_state *state = machine.driver_data<saturn_state>();
5924   state->m_tmpbitmap.allocate(704, 256);
5924   machine.primary_screen->register_screen_bitmap(state->m_tmpbitmap);
59255925   stv_vdp2_start(machine);
59265926   stv_vdp1_start(machine);
59275927   debug.l_en = 0xff;
src/mame/drivers/bfm_swp.c
r14037r14038
130130   bfm_swp_state(const machine_config &mconfig, device_type type, const char *tag)
131131      : driver_device(mconfig, type, tag) { }
132132
133   UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
133   UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
134134   {
135135      return 0;
136136   }
src/mame/drivers/thayers.c
r14037r14038
3838   thayers_state(const machine_config &mconfig, device_type type, const char *tag)
3939      : driver_device(mconfig, type, tag),
4040        m_pr7820(*this, "laserdisc"),
41        m_ldv1000(*this, "laserdisc") { }
41        m_ldv1000(*this, "ldv1000") { }
4242
4343   optional_device<pioneer_pr7820_device> m_pr7820;
4444   optional_device<pioneer_ldv1000_device> m_ldv1000;
src/emu/tilemap.c
r14037r14038
16741674            {
16751675               for (cury = y; cury < nexty; cury++)
16761676               {
1677                  if (dest0 == NULL)
1677                  if (dest_baseaddr == NULL)
16781678                     scanline_draw_opaque_null(x_end - x_start, pmap0, blit->tilemap_priority_code);
16791679                  else if (sizeof(*dest0) == 2)
16801680                     scanline_draw_opaque_ind16(reinterpret_cast<UINT16 *>(dest0), source0, x_end - x_start, pmap0, blit->tilemap_priority_code);
r14037r14038
16951695               const UINT8 *mask0 = mask_baseaddr + x_start;
16961696               for (cury = y; cury < nexty; cury++)
16971697               {
1698                  if (dest0 == NULL)
1698                  if (dest_baseaddr == NULL)
16991699                     scanline_draw_masked_null(mask0, blit->mask, blit->value, x_end - x_start, pmap0, blit->tilemap_priority_code);
17001700                  else if (sizeof(*dest0) == 2)
17011701                     scanline_draw_masked_ind16(reinterpret_cast<UINT16 *>(dest0), source0, mask0, blit->mask, blit->value, x_end - x_start, pmap0, blit->tilemap_priority_code);
src/emu/screen.h
r14037r14038
8383public:
8484   // construction/destruction
8585   screen_bitmap()
86      : m_format(BITMAP_FORMAT_INVALID),
87        m_texformat(TEXFORMAT_UNDEFINED),
88        m_live(NULL) { }
86      : m_format(BITMAP_FORMAT_RGB32),
87        m_texformat(TEXFORMAT_RGB32),
88        m_live(&m_rgb32) { }
8989   screen_bitmap(bitmap_ind16 &orig)
9090      : m_format(BITMAP_FORMAT_IND16),
9191        m_texformat(TEXFORMAT_PALETTE16),

Previous 15994 Revisions Next


© 1998-2018 The MESS Team