Skip to content

Commit

Permalink
Add address for G2EmulationInstanceQueryAnimation in TR8
Browse files Browse the repository at this point in the history
  • Loading branch information
TheIndra55 committed Feb 24, 2024
1 parent 4284795 commit ff122ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/instance/Animation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ void G2EmulationInstanceSetMode(Instance* instance, int CurrentSection, int Mode

int G2EmulationInstanceQueryAnimation(Instance* instance, int CurrentSection)
{
// TODO Underworld
auto addr = GET_ADDRESS(0x4DEE50, 0x4DE8B0, 0x000000);
auto addr = GET_ADDRESS(0x4DEE50, 0x4DE8B0, 0x5B1FC0);

return Hooking::CallReturn<int>(addr, instance, CurrentSection);
}

0 comments on commit ff122ee

Please sign in to comment.