Skip to content

Commit

Permalink
Update Speedhack.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSillyDoggo committed Aug 8, 2024
1 parent a343e71 commit 350690c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hacks/Speedhack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ float speedhackLogic(float dt)
if (!(PlayLayer::get() || GameManager::sharedState()->getEditorLayer())) { v = 1.0f; }

#ifdef GEODE_IS_IOS
reinterpret_cast<FMOD_RESULT(__cdecl*)(FMOD::ChannelControl*, float)>(geode::base::get() + 50c47c)(masterGroup, SpeedhackMus::instance->enabled ? v : 1);
reinterpret_cast<FMOD_RESULT(__cdecl*)(FMOD::ChannelControl*, float)>(geode::base::get() + 0x50c47c)(masterGroup, SpeedhackMus::instance->enabled ? v : 1);
#else
masterGroup->setPitch(SpeedhackMus::instance->enabled ? v : 1);
#endif
Expand Down

0 comments on commit 350690c

Please sign in to comment.