Skip to content

Commit 29f6809

Browse files
committed
oops :3
1 parent 9e3259b commit 29f6809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Hacks/PitchShifter.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ void updatePitch()
2121

2222
#ifdef GEODE_IS_IOS
2323
reinterpret_cast<FMOD_RESULT(__cdecl*)(FMOD::System*, FMOD_DSP_TYPE, FMOD::DSP**)>(geode::base::get() + OffsetManager::get()->offsetForFunction(FunctionType::FMOD__System__createDSPByType))(FMODAudioEngine::sharedEngine()->m_system, FMOD_DSP_TYPE_PITCHSHIFT, &pitchDSP); //createDSPByType
24-
reinterpret_cast<FMOD_RESULT(__cdecl*)(FMOD::ChannelControl*, int, FMOD::DSP*)>(geode::base::get() + OffsetManager::get()->offsetForFunction(FunctionType::FMOD::ChannelControl::addDSP))(masterGroup, 0, pitchDSP); //addDSP
24+
reinterpret_cast<FMOD_RESULT(__cdecl*)(FMOD::ChannelControl*, int, FMOD::DSP*)>(geode::base::get() + OffsetManager::get()->offsetForFunction(FunctionType::FMOD__ChannelControl__addDSP))(masterGroup, 0, pitchDSP); //addDSP
2525
#else
2626
FMODAudioEngine::sharedEngine()->m_system->createDSPByType(FMOD_DSP_TYPE_PITCHSHIFT, &pitchDSP);
2727
masterGroup->addDSP(0, pitchDSP);

0 commit comments

Comments
 (0)