summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcon.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2025-09-03 00:38:24 +1000
committer Vas Crabb <vas@vastheman.com>2025-09-03 00:38:24 +1000
commit64186873c0ffab17adf96385c4cccd32e835de38 (patch)
treeb48b87dacad3dfa82100e8bc5e662b4bae283344 /src/emu/debug/debugcon.cpp
parent97cc0ec4caa9ab54c293b5c9c6651bdada599089 (diff)
Clean up some stuff:
* emu/debug/express.cpp: Reduced unnecessary duplication. * misc/crystal.cpp: Tidied a little.
Diffstat (limited to 'src/emu/debug/debugcon.cpp')
-rw-r--r--src/emu/debug/debugcon.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/emu/debug/debugcon.cpp b/src/emu/debug/debugcon.cpp
index f9076dda523..bfcb6a0a417 100644
--- a/src/emu/debug/debugcon.cpp
+++ b/src/emu/debug/debugcon.cpp
@@ -917,17 +917,17 @@ bool debugger_console::validate_target_address_parameter(std::string_view param,
}
-/// \brief Validate a parameter as a address with memory region or share name
+/// \brief Validate a parameter as an address in a memory region or share
///
-/// Validates a parameter as a address with memory region or share tag. addres
-/// parameters stays unchanged if invalid and requires additional validation on
-/// the caller side.
+/// Validates a parameter as a address with memory region or share tag.
/// \param [in] The parameter string.
/// \param [out] addr The address on success, or unchanged on failure.
-/// \param [out] region The region on success, or unchanged on failure.
-/// \param [out] share The share on success, or unchanged on failure.
-/// \return true if the parameter refers to a memory region in the
-/// current system, or false otherwise.
+/// \param [out] region The region if the parameter refers to a memory
+/// region, or unchanged otherwise.
+/// \param [out] share The share if the parameter refers to a share, or
+/// unchanged otherwise.
+/// \return true if the parameter refers to an address in a memory
+/// region or share in the current system, or false otherwise.
bool debugger_console::validate_address_with_memory_parameter(std::string_view param, u64 &addr, memory_region *&region, memory_share *&share)
{
std::string str(param);