mirror of
https://github.com/holub/mame
synced 2025-05-21 21:29:15 +03:00
02539: phrcraze, phrcrazs: [debug] Access Violation
This is actually Couriersud's fix as posted in the bug.
This commit is contained in:
parent
5caf8d2e5c
commit
c993b2a4e1
@ -199,9 +199,9 @@ static MC6845_UPDATE_ROW( update_row )
|
||||
for (cx = 0; cx < x_count; cx++)
|
||||
{
|
||||
int i;
|
||||
int attr = ram_attr[ma];
|
||||
int attr = ram_attr[ma & 0x7ff];
|
||||
int region = (attr & 0x40) >> 6;
|
||||
int addr = ((ram_video[ma] | ((attr & 0x80) << 1) | (extra_video_bank_bit)) << 4) | (ra & 0x0f);
|
||||
int addr = ((ram_video[ma & 0x7ff] | ((attr & 0x80) << 1) | (extra_video_bank_bit)) << 4) | (ra & 0x0f);
|
||||
int colour = (attr & 0x7f) << 3;
|
||||
UINT8 *data;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user