Some fixes

This commit is contained in:
Federico Cecchetto
2022-04-08 18:24:35 +02:00
parent d0228b92b7
commit a9b0ecd71c
2 changed files with 3 additions and 5 deletions

View File

@ -296,6 +296,8 @@ namespace logfile
public:
void post_unpack() override
{
utils::hook::jump(SELECT_VALUE(0x140376655, 0x140444645), utils::hook::assemble(vm_execute_stub), true);
if (game::environment::is_sp())
{
return;
@ -308,8 +310,6 @@ namespace logfile
utils::hook::call(0x140484EC0, g_shutdown_game_stub);
utils::hook::call(0x1404853C1, g_shutdown_game_stub);
utils::hook::jump(SELECT_VALUE(0x140376655, 0x140444645), utils::hook::assemble(vm_execute_stub), true);
}
};
}