mirror of
https://github.com/libretro/stella2023.git
synced 2025-02-18 16:17:51 +00:00
Increase sample size from 2K to 512K for CDFJ+
This commit is contained in:
parent
e469730d33
commit
2e6ddaa3d8
@ -277,7 +277,7 @@ uInt8 CartridgeCDF::peek(uInt16 address)
|
||||
if DIGITAL_AUDIO_ON
|
||||
{
|
||||
// retrieve packed sample (max size is 2K, or 4K of unpacked data)
|
||||
uInt32 sampleaddress = getSample() + (myMusicCounters[0] >> 21);
|
||||
uInt32 sampleaddress = getSample() + (myMusicCounters[0] >> 13);
|
||||
|
||||
// get sample value from ROM or RAM
|
||||
if (sampleaddress < 0x00080000)
|
||||
@ -288,7 +288,7 @@ uInt8 CartridgeCDF::peek(uInt16 address)
|
||||
peekvalue = 0;
|
||||
|
||||
// make sure current volume value is in the lower nybble
|
||||
if ((myMusicCounters[0] & (1<<20)) == 0)
|
||||
if ((myMusicCounters[0] & (1<<12)) == 0)
|
||||
peekvalue >>= 4;
|
||||
peekvalue &= 0x0f;
|
||||
}
|
||||
|
BIN
test/roms/bankswitching/CDFJ+/sample256.bin
Normal file
BIN
test/roms/bankswitching/CDFJ+/sample256.bin
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user