GameShark tool - for nes, if no description is set, then use the code itself, probably should do this on other ones too but I didn't feel like going through all the various places to put that logic
This commit is contained in:
parent
8dfcf8deec
commit
f410612c3c
|
@ -2792,7 +2792,14 @@ namespace BizHawk.Client.EmuHawk
|
|||
//A Watch needs to be generated so we can make a cheat out of that. This is due to how the Cheat engine works.
|
||||
//System Bus Domain, The Address to Watch, Byte size (Word), Hex Display, Description. Big Endian.
|
||||
//We have a Byte sized value
|
||||
var watch = Watch.GenerateWatch(MemoryDomains["System Bus"], long.Parse(RAMAddress, NumberStyles.HexNumber), WatchSize.Byte, Client.Common.DisplayType.Hex, false, txtDescription.Text);
|
||||
|
||||
var description = SingleCheat;
|
||||
if (!string.IsNullOrWhiteSpace(txtDescription.Text))
|
||||
{
|
||||
description = txtDescription.Text;
|
||||
}
|
||||
|
||||
var watch = Watch.GenerateWatch(MemoryDomains["System Bus"], long.Parse(RAMAddress, NumberStyles.HexNumber), WatchSize.Byte, Client.Common.DisplayType.Hex, false, description);
|
||||
//Take Watch, Add our Value we want, and it should be active when addded?
|
||||
if (strCompare == "00")
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue