Skip to content

Commit 221cfbb

Browse files
committed
More work
1 parent 46121bb commit 221cfbb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/UnitScreenEmulator.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1550,7 +1550,7 @@ procedure TMachineInstance.Boot;
15501550

15511551
fMachine.Reset;
15521552

1553-
if length(Application.VirtIOBlockImageFileName)>0 then begin
1553+
if fMachineConfiguration.VirtIOBlockEnabled then begin
15541554
if FileExists(Application.VirtIOBlockImageFileName) then begin
15551555
Stream:=TFileStream.Create(Application.VirtIOBlockImageFileName,fmOpenReadWrite);
15561556
if assigned(Stream) then begin
@@ -1581,7 +1581,7 @@ procedure TMachineInstance.Boot;
15811581
end;
15821582
end;
15831583

1584-
if length(Application.NVMeImageFileName)>0 then begin
1584+
if fMachineConfiguration.NVMeEnabled then begin
15851585
if FileExists(Application.NVMeImageFileName) then begin
15861586
Stream:=TFileStream.Create(Application.NVMeImageFileName,fmOpenReadWrite);
15871587
if assigned(Stream) then begin

src/pasriscvemu.lpi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
</PublishOptions>
2525
<RunParams>
2626
<local>
27-
<CommandLineParams Value="-bios fw_payload.bin -no-kernel -nvme alpine.img -smp 1"/>
27+
<CommandLineParams Value="-bios fw_jump.bin -kernel netbsdx.bin -nvme netbsdx.img -smp 1"/>
2828
</local>
2929
<FormatVersion Value="2"/>
3030
<Modes Count="1">
3131
<Mode0 Name="default">
3232
<local>
33-
<CommandLineParams Value="-bios fw_payload.bin -no-kernel -nvme alpine.img -smp 1"/>
33+
<CommandLineParams Value="-bios fw_jump.bin -kernel netbsdx.bin -nvme netbsdx.img -smp 1"/>
3434
</local>
3535
</Mode0>
3636
</Modes>

0 commit comments

Comments
 (0)