gei.cpp: Counting is hard ;-p (nw)

This commit is contained in:
briantro 2017-10-30 21:35:17 -05:00
parent fd7a101c23
commit 4954ab83f2

View File

@ -406,7 +406,7 @@ WRITE8_MEMBER(gei_state::signature_w)
if (data == 0) m_signature_pos = 0;
else
{
static const uint8_t signature[8] = { 0xff, 0x01, 0xfd, 0x05, 0xf5, 0x15, 0xd5, 0x55 }; // bytes 0x03 through 0x0c of each question ROM - to prevent ROM swaps
static const uint8_t signature[8] = { 0xff, 0x01, 0xfd, 0x05, 0xf5, 0x15, 0xd5, 0x55 }; // bytes 0x03 through 0x0a of each question ROM - to prevent ROM swaps
m_signature_answer = signature[m_signature_pos++];
@ -419,7 +419,7 @@ WRITE8_MEMBER(gei_state::signature2_w)
if (data == 0) m_signature_pos = 0;
else
{
static const uint8_t signature[8] = { 0xff, 0x01, 0xf7, 0x11, 0xd7, 0x51, 0x57, 0x51 }; // bytes 0x03 through 0x0c of each question ROM - to prevent ROM swaps
static const uint8_t signature[8] = { 0xff, 0x01, 0xf7, 0x11, 0xd7, 0x51, 0x57, 0x51 }; // bytes 0x03 through 0x0a of each question ROM - to prevent ROM swaps
m_signature_answer = signature[m_signature_pos++];
@ -432,7 +432,7 @@ WRITE8_MEMBER(gei_state::signature3_w)
if (data == 0) m_signature_pos = 0;
else
{
static const uint8_t signature[8] = { 0x4d, 0x3c, 0x88, 0x4e, 0x24, 0x8d, 0x1e, 0x00 }; // bytes 0x03 through 0x0c of each question ROM - to prevent ROM swaps
static const uint8_t signature[8] = { 0x4d, 0x3c, 0x88, 0x4e, 0x24, 0x8d, 0x1e, 0x00 }; // bytes 0x03 through 0x0a of each question ROM - to prevent ROM swaps
m_signature_answer = signature[m_signature_pos++];