tiny fixes

This commit is contained in:
Akash Mozumdar 2018-08-04 18:29:43 -04:00
parent ed4879ba5c
commit 7739c45458
2 changed files with 3 additions and 2 deletions

View File

@ -43,6 +43,7 @@ DWORD Hash(QString module)
HookParam ParseRCode(QString RCode) HookParam ParseRCode(QString RCode)
{ {
HookParam hp = {}; HookParam hp = {};
hp.type |= DIRECT_READ;
switch (RCode.at(0).unicode()) switch (RCode.at(0).unicode())
{ {
case L'S': case L'S':

View File

@ -18,11 +18,11 @@ OR\r\n\
Enter read code\r\n\ Enter read code\r\n\
/R{S|Q|V}string_gap@addr\r\n\ /R{S|Q|V}string_gap@addr\r\n\
All numbers in hexadecimal\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\ A/B: Shift-JIS char little/big endian\r\n\
W: UTF-16 char\r\n\ W: UTF-16 char\r\n\
S/Q/V: Shift-JIS/UTF-16/UTF-8 string\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\ 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\ -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\ * means dereference pointer+deref_offset";
Use 0 for string_gap if string is in same location every time";
#endif // MISC_H #endif // MISC_H