Fix for MT bug #4096

This commit is contained in:
Angelo Salese 2010-11-07 15:45:43 +00:00
parent a23dc5167e
commit 50dcbb6222

View File

@ -1776,10 +1776,9 @@ static WRITE16_HANDLER( sjryuko_custom_io_w )
{ {
case 0x0000/2: case 0x0000/2:
if (((state->mj_last_val ^ data) & 4) && (data & 4)) if (((state->mj_last_val ^ data) & 4) && (data & 4))
{
state->mj_input_num = (state->mj_input_num + 1) % 6; state->mj_input_num = (state->mj_input_num + 1) % 6;
state->mj_last_val = data;
} state->mj_last_val = data;
break; break;
} }
standard_io_w(space, offset, data, mem_mask); standard_io_w(space, offset, data, mem_mask);