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,11 +486,18 @@ 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;
|
|
||||||
|
if (self.cheatType == CHEAT_TYPE_INTERNAL)
|
||||||
|
{
|
||||||
self.bytes = self.bytes;
|
self.bytes = self.bytes;
|
||||||
self.memAddress = self.memAddress;
|
self.memAddress = self.memAddress;
|
||||||
self.value = self.value;
|
self.value = self.value;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
self.code = self.code;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
- (CocoaDSCheatItem *) createWorkingCopy
|
- (CocoaDSCheatItem *) createWorkingCopy
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue