mirror of
https://github.com/LIV2/WinUAE.git
synced 2025-12-06 00:12:52 +00:00
Mask upper byte of address, DraCo compatibility.
This commit is contained in:
parent
3b094dac4e
commit
ce51c9be7f
@ -2133,6 +2133,7 @@ static struct snddev_data *getsnddev(uaecptr addr)
|
||||
|
||||
static void REGPARAM2 toccata_bput(uaecptr addr, uae_u32 b)
|
||||
{
|
||||
addr &= 0xffffff;
|
||||
struct snddev_data *data = getsnddev(addr);
|
||||
if (!data)
|
||||
return;
|
||||
@ -2175,6 +2176,7 @@ static void REGPARAM2 toccata_lput(uaecptr addr, uae_u32 b)
|
||||
static uae_u32 REGPARAM2 toccata_bget(uaecptr addr)
|
||||
{
|
||||
uae_u8 v = 0;
|
||||
addr &= 0xffffff;
|
||||
struct snddev_data *data = getsnddev(addr);
|
||||
if (!data)
|
||||
return v;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user