21H48D07102024

This commit is contained in:
An Bui 2024-10-07 21:48:21 +07:00
parent 580dd8a0a0
commit 2a09f34749

View file

@ -48,13 +48,15 @@ public class StartVM {
String cdrom;
String hdd1;
String hdd0 = "-drive";
hdd0 += " index=0";
hdd0 += ",media=disk";
hdd0 += ",if=" + ifType;
hdd0 += ",file='" + img + "'";
if (!img.isEmpty()) {
String hdd0 = "-drive";
hdd0 += " index=0";
hdd0 += ",media=disk";
hdd0 += ",if=" + ifType;
hdd0 += ",file='" + img + "'";
params.add(hdd0);
params.add(hdd0);
}
File cdromFile = new File(filesDir + "/data/Vectras/drive.iso");