Common: Namespace GekkoDisassembler.cpp/.h

Moves more common code into the Common namespace where it belongs
This commit is contained in:
Lioncash 2018-05-25 16:29:56 -04:00
commit b60ad2425d
10 changed files with 20 additions and 12 deletions

View file

@ -85,6 +85,6 @@ void AssemblerEntryDialog::OnTextChanged(wxCommandEvent& evt)
unsigned long code;
std::string result = "Input text is invalid";
if (evt.GetString().ToULong(&code, 0) && code <= std::numeric_limits<u32>::max())
result = TabsToSpaces(1, GekkoDisassembler::Disassemble(code, m_address));
result = TabsToSpaces(1, Common::GekkoDisassembler::Disassemble(code, m_address));
m_preview->SetLabel(wxString::Format(_("Preview: %s"), result.c_str()));
}