mirror of https://github.com/snes9xgit/snes9x.git
Cheats: Allow address:byte format.
This commit is contained in:
parent
b488e426b3
commit
33d871d40e
|
@ -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)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue