diff options
author | smf- <smf-@users.noreply.github.com> | 2018-05-26 16:55:19 +0100 |
---|---|---|
committer | smf- <smf-@users.noreply.github.com> | 2018-05-26 18:08:26 +0100 |
commit | c582eb02df4c0931d803c60afa5b630c635180ef (patch) | |
tree | 89b056c3da16273e0cd87061c7fd72123e38571a /src/mame/includes | |
parent | c23094f582088368076ea0d828764741e6900f31 (diff) |
Adjust Popeye and Sky Skipper layer positions to match tests on real hardware. Added preliminary emulation of the corruption on the Popeye bootleg logo caused by x flipped and non x flipped sprites being displayed right next to each other. Use USE_NEW_COLOR only to switch between 680 & 1300 resistor in sky skipper. [smf]
Diffstat (limited to 'src/mame/includes')
-rw-r--r-- | src/mame/includes/popeye.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mame/includes/popeye.h b/src/mame/includes/popeye.h index 05cf375d78d..fde4df516a2 100644 --- a/src/mame/includes/popeye.h +++ b/src/mame/includes/popeye.h @@ -38,8 +38,9 @@ protected: static const res_net_decode_info mb7051_decode_info; static const res_net_decode_info mb7052_decode_info; static const res_net_info txt_mb7051_net_info; - static const res_net_info bak_mb7051_net_info; + static const res_net_info tnx1_bak_mb7051_net_info; static const res_net_info obj_mb7052_net_info; + virtual const res_net_info bak_mb7051_net_info() { return tnx1_bak_mb7051_net_info; }; std::unique_ptr<bitmap_ind16> m_sprite_bitmap; std::vector<uint8_t> m_sprite_ram; @@ -76,6 +77,8 @@ protected: virtual void maincpu_program_map(address_map &map); void maincpu_io_map(address_map &map); + + virtual bool bootleg_sprites() const { return false; } }; class tpp1_state : public tnx1_state @@ -84,6 +87,9 @@ class tpp1_state : public tnx1_state protected: virtual DECLARE_PALETTE_INIT(palette_init) override; virtual void draw_background(bitmap_ind16 &bitmap, const rectangle &cliprect) override; + + static const res_net_info tpp1_bak_mb7051_net_info; + virtual const res_net_info bak_mb7051_net_info() override { return tpp1_bak_mb7051_net_info; }; }; class popeyebl_state : public tpp1_state @@ -92,6 +98,8 @@ class popeyebl_state : public tpp1_state protected: virtual void decrypt_rom() override; virtual void maincpu_program_map(address_map &map) override; + + virtual bool bootleg_sprites() const override { return true; } }; class tpp2_state : public tpp1_state |