mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-08 16:01:19 +12:00
fix sm3dw loop point
This commit is contained in:
parent
49b28c16a8
commit
9c2b8a0621
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue