diff options
Diffstat (limited to 'src/mame/includes/konamigx.h')
-rw-r--r-- | src/mame/includes/konamigx.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mame/includes/konamigx.h b/src/mame/includes/konamigx.h index 47bed7e1d74..9bed09fa896 100644 --- a/src/mame/includes/konamigx.h +++ b/src/mame/includes/konamigx.h @@ -119,6 +119,8 @@ public: K055673_CB_MEMBER(salmndr2_sprite_callback); K055673_CB_MEMBER(le2_sprite_callback); + struct GX_OBJ { int order, offs, code, color; }; + void common_init(); uint32_t k_6bpp_rom_long_r(offs_t offset, uint32_t mem_mask = ~0); void konamigx_mixer (screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect,tilemap_t *sub1, int sub1flags,tilemap_t *sub2, int sub2flags,int mixerflags, bitmap_ind16 *extra_bitmap, int rushingheroes_hack); @@ -126,7 +128,7 @@ public: tilemap_t *sub1, int sub1flags, tilemap_t *sub2, int sub2flags, int mixerflags, bitmap_ind16 *extra_bitmap, int rushingheroes_hack, - struct GX_OBJ *objpool, + GX_OBJ *objpool, int *objbuf, int nobj ); @@ -240,6 +242,7 @@ protected: uint16_t m_prot_data[0x20]; uint16_t *m_gx_spriteram; + std::unique_ptr<uint16_t[]> m_gx_spriteram_alloc; // mirrored K054338 settings int *m_K054338_shdRGB; @@ -291,6 +294,8 @@ protected: std::unique_ptr<bitmap_ind16> m_gxtype1_roz_dstbitmap2; rectangle m_gxtype1_roz_dstbitmapclip; + std::unique_ptr<GX_OBJ[]> m_gx_objpool; + u8 m_type3_psac2_bank; u8 m_type3_spriteram_bank; //int m_konamigx_type3_psac2_actual_last_bank = 0; |