mirror of
https://github.com/holub/mame
synced 2025-06-06 12:53:46 +03:00
Attempt to fix MPU4Vid regression reported after r30715 (CHR chip expects to only see a byte, not a whole word, as it's a straight lift from 6809 era) (nw)
This commit is contained in:
parent
ed10e6c0a3
commit
34e4bf123a
@ -1507,7 +1507,7 @@ Characteriser (CHR)
|
||||
WRITE16_MEMBER(mpu4vid_state::characteriser16_w )
|
||||
{
|
||||
int x;
|
||||
int call=data;
|
||||
int call=(data&0xff);
|
||||
LOG_CHR_FULL(("%04x Characteriser write offset %02X data %02X", space.device().safe_pcbase(),offset,data));
|
||||
|
||||
if (!m_current_chr_table)
|
||||
@ -1577,7 +1577,7 @@ Precedent suggests this is not that dangerous an assumption to make.
|
||||
WRITE16_MEMBER(mpu4vid_state::bwb_characteriser16_w )
|
||||
{
|
||||
int x;
|
||||
int call=data &0xff;
|
||||
int call=(data &0xff);
|
||||
LOG_CHR_FULL(("%04x Characteriser write offset %02X data %02X \n", space.device().safe_pcbase(),offset,data));
|
||||
if (!m_current_chr_table)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user