Fixed extraction on torch

This commit is contained in:
KiritoDv 2025-01-16 02:04:53 -06:00
parent 6eae88de77
commit fe1535494b
2 changed files with 4 additions and 1 deletions

View File

@ -78,6 +78,9 @@ GameEngine::GameEngine() {
} }
if (ShowYesNoBox("Extraction Complete", "ROM Extracted. Extract another?") == IDYES) { if (ShowYesNoBox("Extraction Complete", "ROM Extracted. Extract another?") == IDYES) {
if (!fs::exists("mods")) {
fs::create_directories("mods");
}
if(!GenAssetFile()){ if(!GenAssetFile()){
ShowMessage("Error", "An error occured, no O2R file was generated."); ShowMessage("Error", "An error occured, no O2R file was generated.");
} else { } else {

@ -1 +1 @@
Subproject commit c11ad9e2a2b2cffd7108d1ea03fad65d825a6683 Subproject commit 3c42ac507f587f9dbba51cbd8fa3135a92899088