mirror of
https://github.com/holub/mame
synced 2025-07-05 09:57:47 +03:00
fixed unassigned variable error.
This commit is contained in:
parent
226c3b5b26
commit
0a22e550b3
@ -3002,18 +3002,11 @@ static WRITE16_HANDLER( _32x_68k_a15188_w )
|
|||||||
// do the fill - shouldn't be instant..
|
// do the fill - shouldn't be instant..
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
UINT16 upper = _32x_autofill_address & 0xff00;
|
|
||||||
UINT8 lower = _32x_autofill_address & 0x00ff;
|
|
||||||
UINT16 address;// = upper | lower;
|
|
||||||
|
|
||||||
for (i=0; i<_32x_autofill_length+1;i++)
|
for (i=0; i<_32x_autofill_length+1;i++)
|
||||||
{
|
{
|
||||||
address = upper | lower;
|
_32x_access_dram[_32x_autofill_address] = _32x_autofill_data;
|
||||||
_32x_access_dram[address] = _32x_autofill_data;
|
_32x_autofill_address = (_32x_autofill_address & 0xff00) | ((_32x_autofill_address+1) & 0x00ff);
|
||||||
lower++;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_32x_autofill_address = address;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user