mirror of
https://github.com/holub/mame
synced 2025-07-04 09:28:51 +03:00
Fix uninitialized var. (nw)
This commit is contained in:
parent
9eb833d795
commit
e6fb1b8b66
@ -1678,7 +1678,7 @@ READ32_MEMBER(cobra_state::sub_mainbd_r)
|
|||||||
// Register 0x7E380000
|
// Register 0x7E380000
|
||||||
// M2S FIFO read
|
// M2S FIFO read
|
||||||
|
|
||||||
UINT64 value;
|
UINT64 value = 0;
|
||||||
m_m2sfifo->pop(&space.device(), &value);
|
m_m2sfifo->pop(&space.device(), &value);
|
||||||
|
|
||||||
r |= (value & 0xff) << 24;
|
r |= (value & 0xff) << 24;
|
||||||
|
Loading…
Reference in New Issue
Block a user