Disabled multithreading

This commit is contained in:
KiritoDev 2022-03-21 20:21:33 -06:00 committed by Kenix3
parent 1fed43324c
commit d116148ccb

View File

@ -21,7 +21,7 @@ Vector2 dragOffset;
std::string sohFolder = NULLSTR; std::string sohFolder = NULLSTR;
bool extracting = false; bool extracting = false;
bool rom_ready = false; bool rom_ready = false;
bool single_thread = false; bool single_thread = true;
bool hide_second_btn = false; bool hide_second_btn = false;
RomVersion version; RomVersion version;
const char* patched_rom = "tmp/rom.z64"; const char* patched_rom = "tmp/rom.z64";
@ -127,7 +127,7 @@ void OTRGame::draw() {
UIUtils::GuiShadowText(("Rom Type: " + version.version).c_str(), 32, text_y, 10, WHITE, BLACK); UIUtils::GuiShadowText(("Rom Type: " + version.version).c_str(), 32, text_y, 10, WHITE, BLACK);
UIUtils::GuiShadowText("Tool Version: 1.0", 32, text_y + 15, 10, WHITE, BLACK); UIUtils::GuiShadowText("Tool Version: 1.0", 32, text_y + 15, 10, WHITE, BLACK);
UIUtils::GuiShadowText("OTR Version: 1.0", 32, text_y + 30, 10, WHITE, BLACK); UIUtils::GuiShadowText("OTR Version: 1.0", 32, text_y + 30, 10, WHITE, BLACK);
UIUtils::GuiToggle(&single_thread, "Single Thread", 32, text_y + 40, currentStep != NULLSTR); // UIUtils::GuiToggle(&single_thread, "Single Thread", 32, text_y + 40, currentStep != NULLSTR);
if(!hide_second_btn && UIUtils::GuiIconButton("Folder", "Open\nShip Folder", 109, 50, currentStep != NULLSTR, "Select your Ship of Harkinian Folder\n\nYou could use another folder\nfor development purposes")) { if(!hide_second_btn && UIUtils::GuiIconButton("Folder", "Open\nShip Folder", 109, 50, currentStep != NULLSTR, "Select your Ship of Harkinian Folder\n\nYou could use another folder\nfor development purposes")) {
const std::string path = NativeFS->LaunchFileExplorer(LaunchType::FOLDER); const std::string path = NativeFS->LaunchFileExplorer(LaunchType::FOLDER);