Cocoa Port:
- Fixed bug where applying an internal cheat would cause the byte size to reset.
This commit is contained in:
parent
b78912e1c3
commit
b1fbd863c5
|
@ -486,10 +486,17 @@ static NSImage *iconCodeBreaker = nil;
|
|||
self.description = self.description;
|
||||
self.cheatType = self.cheatType;
|
||||
self.freezeType = self.freezeType;
|
||||
self.code = self.code;
|
||||
self.bytes = self.bytes;
|
||||
self.memAddress = self.memAddress;
|
||||
self.value = self.value;
|
||||
|
||||
if (self.cheatType == CHEAT_TYPE_INTERNAL)
|
||||
{
|
||||
self.bytes = self.bytes;
|
||||
self.memAddress = self.memAddress;
|
||||
self.value = self.value;
|
||||
}
|
||||
else
|
||||
{
|
||||
self.code = self.code;
|
||||
}
|
||||
}
|
||||
|
||||
- (CocoaDSCheatItem *) createWorkingCopy
|
||||
|
|
Loading…
Reference in New Issue