Skip to content

Commit

Permalink
uae: for testing writing to floppy
Browse files Browse the repository at this point in the history
  • Loading branch information
vadosnaprimer committed Jul 2, 2024
1 parent 04e9bf0 commit fd40b32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/BizHawk.Emulation.Cores/Computers/Amiga/PUAE.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,12 @@ public PUAE(CoreLoadParameters<object, PUAESyncSettings> lp)
}
else
{
_exe.AddReadonlyFile(lp.Roms[index].FileData, FileNames.FD + index);
_exe.AddTransientFile(lp.Roms[index].FileData, FileNames.FD + index);
if (index < Math.Min(LibPUAE.MAX_FLOPPIES, _syncSettings.FloppyDrives))
{
AppendSetting($"floppy{index}={FileNames.FD}{index}");
AppendSetting($"floppy{index}type={(int)DriveType.DRV_35_DD}");
AppendSetting($"floppy_write_protect=no");
}
}
}
Expand Down

0 comments on commit fd40b32

Please sign in to comment.