mirror of
https://github.com/holub/mame
synced 2025-07-05 18:08:04 +03:00
amstrad: non-readable I/O returns 0 on Plus systems, fixes some system and CRTC detection methods
This commit is contained in:
parent
52385b8a11
commit
0e262ba9d7
@ -1863,6 +1863,9 @@ READ8_MEMBER(amstrad_state::amstrad_cpc_io_r)
|
||||
}
|
||||
}
|
||||
|
||||
if ( m_system_type == SYSTEM_PLUS || m_system_type == SYSTEM_GX4000 ) // Plus systems return 0 when attempting to read the gate array (and any other unreadable space too?)
|
||||
data = 0;
|
||||
|
||||
/* if b14 = 0 : CRTC Read selected */
|
||||
if ((offset & (1<<14)) == 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user