mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-19 19:00:09 +02:00
UICommon: Fix a leak/bug in Disassembler retrieval
This commit is contained in:
@ -152,7 +152,7 @@ HostDisassembler* GetNewDisassembler(const std::string& arch)
|
||||
return new HostDisassemblerLLVM("armv7-none-unknown", 4, "cortex-a15");
|
||||
#elif defined(_M_X86)
|
||||
if (arch == "x86")
|
||||
new HostDisassemblerX86();
|
||||
return new HostDisassemblerX86();
|
||||
#endif
|
||||
return new HostDisassembler();
|
||||
}
|
||||
|
Reference in New Issue
Block a user