mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 12:35:27 +00:00
UICommon: Fix a leak/bug in Disassembler retrieval
This commit is contained in:
parent
0aad44c980
commit
7387914529
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user