Skip to content

Commit fbe1f9b

Browse files
fix parameter order with DeltaUpdate calls
fixes 8737203
1 parent 389c6eb commit fbe1f9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BizHawk.Emulation.Cores/Computers/AppleII/AppleII.ISaveRam.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ public void StoreSaveRam(byte[] data)
5454

5555
private void SaveDelta()
5656
{
57-
_machine.DiskIIController.Drive1.DeltaUpdate((original, current) =>
57+
_machine.DiskIIController.Drive1.DeltaUpdate((current, original) =>
5858
{
5959
_diskDeltas[CurrentDisk] = DeltaSerializer.GetDelta<byte>(original, current).ToArray();
6060
});
6161
}
6262

6363
private void LoadDelta(bool maybeDifferent)
6464
{
65-
_machine.DiskIIController.Drive1.DeltaUpdate((original, current) =>
65+
_machine.DiskIIController.Drive1.DeltaUpdate((current, original) =>
6666
{
6767
if (_diskDeltas[CurrentDisk] is not null)
6868
{

0 commit comments

Comments
 (0)