Cheats: Allow address:byte format.

This commit is contained in:
BearOso 2023-08-23 15:24:02 -05:00
parent b488e426b3
commit 33d871d40e
1 changed files with 3 additions and 0 deletions

View File

@ -434,6 +434,9 @@ SCheat S9xTextToCheat(const std::string &text)
{ {
c.conditional = true; c.conditional = true;
} }
else if (sscanf(text.c_str(), "%x : %x", &c.address, &byte) == 2)
{
}
else if (sscanf(text.c_str(), "%x / %x", &c.address, &byte) == 2) else if (sscanf(text.c_str(), "%x / %x", &c.address, &byte) == 2)
{ {
} }