mirror of
https://github.com/xoureldeen/Vectras-VM-Android.git
synced 2026-04-30 23:39:54 +00:00
initial commit
This commit is contained in:
parent
6dc29411a6
commit
16394be6ec
18 changed files with 494 additions and 402 deletions
|
|
@ -904,7 +904,7 @@ public class CustomRomActivity extends AppCompatActivity {
|
|||
} else {
|
||||
VectrasApp.writeToFile(AppConfig.maindirpath + "roms/" + title.getText().toString(), "/vmID.txt", VectrasApp.ramdomVMID());
|
||||
}
|
||||
if (!secondVMdirectory.isEmpty() && VectrasApp.isFileExists(AppConfig.maindirpath + "roms/" + title.getText().toString() + "/vmID.txt")) {
|
||||
if ((!secondVMdirectory.isEmpty()) && VectrasApp.isFileExists(AppConfig.maindirpath + "roms/" + title.getText().toString() + "/vmID.txt")) {
|
||||
if (!(AppConfig.maindirpath + "roms/" + title.getText().toString()).equals(secondVMdirectory)) {
|
||||
VectrasApp.copyAFile(AppConfig.maindirpath + "roms/" + title.getText().toString() + "/vmID.txt", secondVMdirectory + "/vmID.txt");
|
||||
}
|
||||
|
|
@ -1023,7 +1023,7 @@ public class CustomRomActivity extends AppCompatActivity {
|
|||
drive.setText(_getDiskFile);
|
||||
} else {
|
||||
if (getIntent().getStringExtra("romextra").contains(getIntent().getStringExtra("finalromfilename"))) {
|
||||
qemu.setText(getIntent().getStringExtra("romextra").replaceAll(getIntent().getStringExtra("finalromfilename"), _getDiskFile));
|
||||
qemu.setText(getIntent().getStringExtra("romextra").replaceAll(getIntent().getStringExtra("finalromfilename"), "\"" + _getDiskFile + "\""));
|
||||
} else {
|
||||
drive.setText(_getDiskFile);
|
||||
qemu.setText(getIntent().getStringExtra("romextra"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue