From 076a2ca3073039d865d974be7df2b7815347dac6 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 19 Dec 2020 02:01:30 +1000 Subject: [PATCH] Qt/CheatManager: Default to unsigned/hex/halfword --- src/core/cheats.h | 4 ++-- src/duckstation-qt/cheatmanagerdialog.ui | 10 ++++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/core/cheats.h b/src/core/cheats.h index b6d69e4b1..f6e55bdf4 100644 --- a/src/core/cheats.h +++ b/src/core/cheats.h @@ -233,12 +233,12 @@ private: void SearchWords(); u32 m_value = 0; - MemoryAccessSize m_size = MemoryAccessSize::Word; + MemoryAccessSize m_size = MemoryAccessSize::HalfWord; Operator m_operator = Operator::Equal; PhysicalMemoryAddress m_start_address = 0; PhysicalMemoryAddress m_end_address = 0x200000; ResultVector m_results; - bool m_signed = true; + bool m_signed = false; }; class MemoryWatchList diff --git a/src/duckstation-qt/cheatmanagerdialog.ui b/src/duckstation-qt/cheatmanagerdialog.ui index 08c76f6f8..03b445abd 100644 --- a/src/duckstation-qt/cheatmanagerdialog.ui +++ b/src/duckstation-qt/cheatmanagerdialog.ui @@ -17,7 +17,7 @@ - 0 + 1 @@ -202,6 +202,9 @@ + + 1 + Signed @@ -216,6 +219,9 @@ + + 1 + Decimal @@ -240,7 +246,7 @@ - 2 + 1