diff options
author | MASH <mameinfo@ewetel.net> | 2017-07-23 19:36:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-23 19:36:07 +0100 |
commit | 2116de6c81eb0adbba88c52f1b7b10422209046b (patch) | |
tree | 039eb5f76eea76ad598082dcc94d0a7df2135957 | |
parent | 0d8155ab2ce4d5e2967f5d9192e493db3bb6790d (diff) |
Fixed missing Torpedo trail
Fixed missing Torpedo trail in Wolf Pack. It was a type made by Osso in MAME 0.185:
https://git.redump.net/mame/commit/?id=f9b6c26bcaefd9de27867e76df00eceedaac8da0
-rw-r--r-- | src/mame/video/wolfpack.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/wolfpack.cpp b/src/mame/video/wolfpack.cpp index 871c3dd01be..0f2f9e6974f 100644 --- a/src/mame/video/wolfpack.cpp +++ b/src/mame/video/wolfpack.cpp @@ -96,14 +96,14 @@ WRITE8_MEMBER(wolfpack_state::torpedo_v_w) void wolfpack_state::video_start() { + uint16_t val = 0; + m_LFSR = std::make_unique<uint8_t[]>(0x8000); m_screen->register_screen_bitmap(m_helper); for (int i = 0; i < 0x8000; i++) { - uint16_t val = 0; - int bit = (val >> 0x0) ^ (val >> 0xe) ^ 1; val = (val << 1) | (bit & 1); |