summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2021-12-28 17:20:00 +0000
committer smf- <smf-@users.noreply.github.com>2021-12-28 17:20:28 +0000
commite77d144c6fe363e600885e9cd23ac12125a7eff6 (patch)
tree51b29361f02afa6d89ab34e4f6097782175cf21e /src/emu
parentaff77c2408ee31c5e96a70aebea4114849d2e030 (diff)
fixed size prefix in find command [smf]
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/debug/debugcmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp
index 20431072cff..ba85a22f90b 100644
--- a/src/emu/debug/debugcmd.cpp
+++ b/src/emu/debug/debugcmd.cpp
@@ -3395,7 +3395,7 @@ void debugger_commands::execute_find(int spacenum, const std::vector<std::string
data_size[data_count++] |= 0x10;
// otherwise, validate as a number
- else if (!validate_number_parameter(params[i], data_to_find[data_count++]))
+ else if (!validate_number_parameter(pdata, data_to_find[data_count++]))
return;
}
}