mirror of
https://github.com/holub/mame
synced 2025-05-14 09:58:14 +03:00
(nw)
This commit is contained in:
parent
93bb9a37be
commit
eae8f42c64
@ -126,14 +126,14 @@ READ8_MEMBER(wrally_state::dallas_share_r)
|
|||||||
{
|
{
|
||||||
UINT8 *shareram = (UINT8 *)m_shareram.target();
|
UINT8 *shareram = (UINT8 *)m_shareram.target();
|
||||||
|
|
||||||
return shareram[BYTE_XOR_LE(offset) ^ 1];
|
return shareram[BYTE_XOR_BE(offset)];
|
||||||
}
|
}
|
||||||
|
|
||||||
WRITE8_MEMBER(wrally_state::dallas_share_w)
|
WRITE8_MEMBER(wrally_state::dallas_share_w)
|
||||||
{
|
{
|
||||||
UINT8 *shareram = (UINT8 *)m_shareram.target();
|
UINT8 *shareram = (UINT8 *)m_shareram.target();
|
||||||
|
|
||||||
shareram[BYTE_XOR_LE(offset) ^ 1] = data;
|
shareram[BYTE_XOR_BE(offset)] = data;
|
||||||
}
|
}
|
||||||
|
|
||||||
static ADDRESS_MAP_START( dallas_rom, AS_PROGRAM, 8, wrally_state )
|
static ADDRESS_MAP_START( dallas_rom, AS_PROGRAM, 8, wrally_state )
|
||||||
|
Loading…
Reference in New Issue
Block a user