diff --git a/common/struct_strategy.cpp b/common/struct_strategy.cpp index 52df20410..ca633143a 100644 --- a/common/struct_strategy.cpp +++ b/common/struct_strategy.cpp @@ -71,14 +71,6 @@ namespace StructStrategyFactory { strategies[first_opcode] = structs; } - const StructStrategy *FindPatch(EmuOpcode first_opcode) { - std::map::const_iterator res; - res = strategies.find(first_opcode); - if(res == strategies.end()) - return(nullptr); - return(res->second); - } - }; diff --git a/common/struct_strategy.h b/common/struct_strategy.h index da4142295..d3f7327ab 100644 --- a/common/struct_strategy.h +++ b/common/struct_strategy.h @@ -43,9 +43,6 @@ protected: //effectively a singleton, but I decided to do it this way for no apparent reason. namespace StructStrategyFactory { void RegisterPatch(EmuOpcode first_opcode, const StructStrategy *structs); - - //does NOT return ownership of the strategy. - const StructStrategy *FindPatch(EmuOpcode first_opcode); };