mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-02-22 12:47:14 +01:00
fix sm3dw loop point
This commit is contained in:
parent
49b28c16a8
commit
9c2b8a0621
@ -10,6 +10,11 @@ BootSoundReader::BootSoundReader(FSCVirtualFile* bootsndFile, sint32 blockSize)
|
|||||||
bufferBE.resize(blockSize / sizeof(sint16be));
|
bufferBE.resize(blockSize / sizeof(sint16be));
|
||||||
if(blockSize % (sizeof(sint16be) * 2) != 0)
|
if(blockSize % (sizeof(sint16be) * 2) != 0)
|
||||||
cemu_assert_suspicious();
|
cemu_assert_suspicious();
|
||||||
|
|
||||||
|
// workaround: SM3DW has incorrect loop point
|
||||||
|
const auto titleId = CafeSystem::GetForegroundTitleId();
|
||||||
|
if(titleId == 0x0005000010145D00 || titleId == 0x0005000010145C00 || titleId == 0x0005000010106100)
|
||||||
|
loopPoint = 113074;
|
||||||
}
|
}
|
||||||
|
|
||||||
sint16* BootSoundReader::getSamples()
|
sint16* BootSoundReader::getSamples()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user