mirror of
https://github.com/holub/mame
synced 2025-07-01 16:19:38 +03:00
Merge pull request #2514 from MASHinfo/wolfpack-fix
Fixed missing Torpedo trail
This commit is contained in:
commit
2c149dfb7c
@ -96,14 +96,14 @@ WRITE8_MEMBER(wolfpack_state::torpedo_v_w)
|
|||||||
|
|
||||||
void wolfpack_state::video_start()
|
void wolfpack_state::video_start()
|
||||||
{
|
{
|
||||||
|
uint16_t val = 0;
|
||||||
|
|
||||||
m_LFSR = std::make_unique<uint8_t[]>(0x8000);
|
m_LFSR = std::make_unique<uint8_t[]>(0x8000);
|
||||||
|
|
||||||
m_screen->register_screen_bitmap(m_helper);
|
m_screen->register_screen_bitmap(m_helper);
|
||||||
|
|
||||||
for (int i = 0; i < 0x8000; i++)
|
for (int i = 0; i < 0x8000; i++)
|
||||||
{
|
{
|
||||||
uint16_t val = 0;
|
|
||||||
|
|
||||||
int bit = (val >> 0x0) ^ (val >> 0xe) ^ 1;
|
int bit = (val >> 0x0) ^ (val >> 0xe) ^ 1;
|
||||||
|
|
||||||
val = (val << 1) | (bit & 1);
|
val = (val << 1) | (bit & 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user