This commit is contained in:
tildearrow 2022-05-15 02:02:31 -05:00
parent d5db7775bd
commit 5babb4fd1e
2 changed files with 2 additions and 2 deletions

View file

@ -1405,7 +1405,7 @@ const void* DivPlatformYM2608::getSampleMem(int index) {
}
size_t DivPlatformYM2608::getSampleMemCapacity(int index) {
return index == 0 ? 2097152 : 0;
return index == 0 ? 262144 : 0;
}
size_t DivPlatformYM2608::getSampleMemUsage(int index) {

View file

@ -31,7 +31,7 @@ uint8_t DivYM2608Interface::ymfm_external_read(ymfm::access_class type, uint32_t
if (adpcmBMem==NULL) {
return 0;
}
return adpcmBMem[address&0xffffff];
return adpcmBMem[address&0x3ffff];
default:
return 0;
}