Cocoa Port:

- Fixed bug where applying an internal cheat would cause the byte size to reset.
This commit is contained in:
rogerman 2012-01-21 00:31:06 +00:00
parent b78912e1c3
commit b1fbd863c5
1 changed files with 11 additions and 4 deletions

View File

@ -486,10 +486,17 @@ static NSImage *iconCodeBreaker = nil;
self.description = self.description; self.description = self.description;
self.cheatType = self.cheatType; self.cheatType = self.cheatType;
self.freezeType = self.freezeType; self.freezeType = self.freezeType;
self.code = self.code;
self.bytes = self.bytes; if (self.cheatType == CHEAT_TYPE_INTERNAL)
self.memAddress = self.memAddress; {
self.value = self.value; self.bytes = self.bytes;
self.memAddress = self.memAddress;
self.value = self.value;
}
else
{
self.code = self.code;
}
} }
- (CocoaDSCheatItem *) createWorkingCopy - (CocoaDSCheatItem *) createWorkingCopy