Merge pull request #2514 from MASHinfo/wolfpack-fix

Fixed missing Torpedo trail
This commit is contained in:
hap 2017-07-23 22:13:01 +02:00 committed by GitHub
commit 2c149dfb7c

View File

@ -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);