mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix hex search
This commit is contained in:
parent
77cf869941
commit
e118fec1cf
|
@ -49,7 +49,6 @@ bool MemorySearch::createParams(mCoreMemorySearchParams* params) {
|
||||||
params->type = mCORE_MEMORY_SEARCH_32;
|
params->type = mCORE_MEMORY_SEARCH_32;
|
||||||
}
|
}
|
||||||
if (m_ui.numHex->isChecked()) {
|
if (m_ui.numHex->isChecked()) {
|
||||||
bool ok;
|
|
||||||
uint32_t v = m_ui.value->text().toUInt(&ok, 16);
|
uint32_t v = m_ui.value->text().toUInt(&ok, 16);
|
||||||
if (ok) {
|
if (ok) {
|
||||||
switch (params->type) {
|
switch (params->type) {
|
||||||
|
|
Loading…
Reference in New Issue