project64/Source/Project64/N64 System/Recompiler/Delay Slot Map Class.h

18 lines
454 B
C
Raw Normal View History

class CDelaySlotFunctionMap
{
typedef std::map<DWORD,CCompiledFunc *> FUNCTION_MAP;
FUNCTION_MAP FunctionMap;
public:
CDelaySlotFunctionMap ( void );
~CDelaySlotFunctionMap ( void );
CCompiledFunc * AddFunctionInfo ( DWORD vAddr, DWORD pAddr );
CCompiledFunc * FindFunction ( DWORD vAddr, int Length );
CCompiledFunc * FindFunction ( DWORD vAddr ) const;
void Remove ( CCompiledFunc * info );
void Reset ( void );
};