mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-01 10:32:40 +00:00
Fix Y8950 ADPCM memory addressing
Max supported size is 262144 bytes, so I fixed that.
This commit is contained in:
parent
ae1fa8d3b8
commit
875ef08256
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ uint8_t DivOPLAInterface::ymfm_external_read(ymfm::access_class type, uint32_t a
|
|||
if (adpcmBMem==NULL) {
|
||||
return 0;
|
||||
}
|
||||
return adpcmBMem[address&0xffffff];
|
||||
return adpcmBMem[address&0x3ffff];
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue