mirror of
https://github.com/halpz/re3.git
synced 2025-07-04 14:10:58 +00:00
cleaned up patching of virtual functions; started CAutomobile
This commit is contained in:
13
src/core/Instance.cpp
Normal file
13
src/core/Instance.cpp
Normal file
@ -0,0 +1,13 @@
|
||||
#include "common.h"
|
||||
#include "patcher.h"
|
||||
#include "Instance.h"
|
||||
|
||||
class CInstance_ : public CInstance
|
||||
{
|
||||
public:
|
||||
void dtor() { CInstance::~CInstance(); }
|
||||
};
|
||||
|
||||
STARTPATCHES
|
||||
InjectHook(0x50BE90, &CInstance_::dtor, PATCH_JUMP);
|
||||
ENDPATCHES
|
Reference in New Issue
Block a user