Skip to content

Commit

Permalink
fix newgame hook (thanks AntoniX for reporting)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianpatt committed May 1, 2024
1 parent 8f8d220 commit 3bf2c11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion f4se/Hooks_SaveLoad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ typedef bool (* _LoadGame)(BGSSaveLoadGame * saveLoadMgr, const char * name, UIn
RelocAddr <_LoadGame> LoadGame(0x00B6CD20);
_LoadGame LoadGame_Original = nullptr;

RelocAddr <uintptr_t> NewGame_Enter(0x00FEB090 + 0x59);
RelocAddr <uintptr_t> NewGame_Enter(0x00FE92B0 + 0x421);

typedef void (* _DeleteSaveGame)(BGSSaveLoadGame * saveLoadMgr, const char * name, UInt32 unk1, UInt8 unk2);
RelocAddr <_DeleteSaveGame> DeleteSaveGame(0x00B774C0);
Expand Down

0 comments on commit 3bf2c11

Please sign in to comment.