Skip to content

Commit

Permalink
legacy r code support
Browse files Browse the repository at this point in the history
  • Loading branch information
Artikash committed Aug 30, 2018
1 parent a402222 commit 4f1bc5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions GUI/misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ namespace
return {};
}
RCode.remove(0, 1);
if (RCode.at(0).unicode() == L'0') RCode.remove(0, 1);
QRegExp stringGap("^\\*(\\-?[\\dA-F]+)");
if (stringGap.indexIn(RCode) != -1)
{
Expand Down
2 changes: 1 addition & 1 deletion GUI/misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static QString CodeInfoDump =
/H{A|B|W|S|Q|V}[N]data_offset[*deref_offset1][:split_offset[*deref_offset2]]@addr[:module]\r\n\
OR\r\n\
Enter read code\r\n\
/R{S|Q|V}string_gap@addr\r\n\
/R{S|Q|V}{0|*deref_offset}@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\
Expand Down

0 comments on commit 4f1bc5a

Please sign in to comment.