Skip to content

Commit

Permalink
fix parameter order with DeltaUpdate calls
Browse files Browse the repository at this point in the history
fixes 8737203
  • Loading branch information
CasualPokePlayer committed Apr 5, 2023
1 parent 389c6eb commit fbe1f9b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ public void StoreSaveRam(byte[] data)

private void SaveDelta()
{
_machine.DiskIIController.Drive1.DeltaUpdate((original, current) =>
_machine.DiskIIController.Drive1.DeltaUpdate((current, original) =>
{
_diskDeltas[CurrentDisk] = DeltaSerializer.GetDelta<byte>(original, current).ToArray();
});
}

private void LoadDelta(bool maybeDifferent)
{
_machine.DiskIIController.Drive1.DeltaUpdate((original, current) =>
_machine.DiskIIController.Drive1.DeltaUpdate((current, original) =>
{
if (_diskDeltas[CurrentDisk] is not null)
{
Expand Down

0 comments on commit fbe1f9b

Please sign in to comment.