mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 14:23:44 -07:00
Check for "soh.elf" in directory (#6)
hide second button if `soh.exe` or `soh.elf` is present
This commit is contained in:
parent
379e56106c
commit
ddcc2601e4
1 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ void OTRGame::init(){
|
|||
mat.shader = shader;
|
||||
}
|
||||
|
||||
if(fs::exists("soh.exe") && !fs::exists("oot.otr")) {
|
||||
if(fs::exists("soh.exe") || fs::exists("soh.elf") && !fs::exists("oot.otr")) {
|
||||
hide_second_btn = true;
|
||||
sohFolder = ".";
|
||||
}
|
||||
|
@ -220,4 +220,4 @@ void setCurrentStep(const std::string& step) {
|
|||
|
||||
void OTRGame::exit(){
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue