From 7739c45458e828e7f0694ba43d74e1af35c6ea37 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Sat, 4 Aug 2018 18:29:43 -0400 Subject: [PATCH] tiny fixes --- GUI/misc.cpp | 1 + GUI/misc.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/GUI/misc.cpp b/GUI/misc.cpp index 51207d2..d0a063e 100644 --- a/GUI/misc.cpp +++ b/GUI/misc.cpp @@ -43,6 +43,7 @@ DWORD Hash(QString module) HookParam ParseRCode(QString RCode) { HookParam hp = {}; + hp.type |= DIRECT_READ; switch (RCode.at(0).unicode()) { case L'S': diff --git a/GUI/misc.h b/GUI/misc.h index ce0f561..2a4e0b7 100644 --- a/GUI/misc.h +++ b/GUI/misc.h @@ -18,11 +18,11 @@ OR\r\n\ Enter read code\r\n\ /R{S|Q|V}string_gap@addr\r\n\ All numbers in hexadecimal\r\n\ +Use 0 for string_gap if string is in same location every time\r\n\ A/B: Shift-JIS char little/big endian\r\n\ W: UTF-16 char\r\n\ S/Q/V: Shift-JIS/UTF-16/UTF-8 string\r\n\ Negatives for data_offset/sub_offset refer to registers\r\n\ -4 for EAX, -8 for ECX, -C for EDX, -10 for EBX, -14 for ESP, -18 for EBP, -1C for ESI, -20 for EDI\r\n\ -* means dereference pointer+deref_offset\r\n\r\n\ -Use 0 for string_gap if string is in same location every time"; +* means dereference pointer+deref_offset"; #endif // MISC_H