summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/arm7/arm7.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2022-10-29 19:23:51 -0400
committer AJR <ajrhacker@users.noreply.github.com>2022-10-29 19:27:18 -0400
commit0747f93602e155ab411deaf8d35c88ea18cbffa2 (patch)
treed77c5a3652a40022b74200e7b56c2c96b344d134 /src/devices/cpu/arm7/arm7.cpp
parent489bf63a89932df529698ec10b8ddf2b5722b939 (diff)
Move debugger command parameter validation helpers into debugger_console
Diffstat (limited to 'src/devices/cpu/arm7/arm7.cpp')
-rw-r--r--src/devices/cpu/arm7/arm7.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/devices/cpu/arm7/arm7.cpp b/src/devices/cpu/arm7/arm7.cpp
index abdf3d98b58..d2c40209dd1 100644
--- a/src/devices/cpu/arm7/arm7.cpp
+++ b/src/devices/cpu/arm7/arm7.cpp
@@ -32,7 +32,6 @@ TODO:
#include "emu.h"
#include "debug/debugcon.h"
-#include "debug/debugcmd.h"
#include "debugger.h"
#include "arm7.h"
#include "arm7core.h" //include arm7 core
@@ -876,7 +875,7 @@ void arm7_cpu_device::translate_command(const std::vector<std::string_view> &par
{
uint64_t vaddr;
- if (!machine().debugger().commands().validate_number_parameter(params[0], vaddr)) return;
+ if (!machine().debugger().console().validate_number_parameter(params[0], vaddr)) return;
vaddr &= 0xffffffff;