mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
[PR #1317] [MERGED] Changed debugger "Enter memory address" to accept hex only #440
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/stenzek/duckstation/pull/1317
Author: @PugsyMAME
Created: 12/26/2020
Status: ✅ Merged
Merged: 12/26/2020
Merged by: @stenzek
Base:
master← Head:master📝 Commits (3)
a90a3d5Changed debugger "Enter memory address" to accept hex only398ae04Translation updates for Debugger memory address change7d11e19Changed debugger "Enter memory address" to accept hex only📊 Changes
7 files changed (+17 additions, -17 deletions)
View changed files
📝
src/duckstation-qt/cheatmanagerdialog.cpp(+1 -1)📝
src/duckstation-qt/debuggerwindow.cpp(+3 -3)📝
src/duckstation-qt/qtutils.cpp(+6 -6)📝
src/duckstation-qt/qtutils.h(+2 -2)📝
src/duckstation-qt/translations/duckstation-qt_fr.ts(+1 -1)📝
src/duckstation-qt/translations/duckstation-qt_pt-br.ts(+2 -2)📝
src/duckstation-qt/translations/duckstation-qt_zh-cn.ts(+2 -2)📄 Description
UPDATE TO PR #1316
The "Enter memory address" prompt by default expects a decimal address unless it's preceded by 0x. Or it expects an number starting with 0 is an octal.
The disassembly address should be hexadecimal regardless as that is how it it displays the address.
Also changed it so that it changes any breakpoint or disassembly address entered to be divisible by 4 as there was an observed issue that would cause the disassembly addresses to get locked to a address that was not divisible by 4> Also setting a breakpoint address that is not divisible by 4 would never be pointless.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.