From 64186873c0ffab17adf96385c4cccd32e835de38 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Wed, 3 Sep 2025 00:38:24 +1000 Subject: Clean up some stuff: * emu/debug/express.cpp: Reduced unnecessary duplication. * misc/crystal.cpp: Tidied a little. --- src/emu/debug/debugcon.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/emu/debug/debugcon.cpp') 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 *®ion, memory_share *&share) { std::string str(param); -- cgit v1.2.3