Skip to content

Commit

Permalink
Fixed behaviour of "Wii game loading screen" config when pressing A
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurelio92 committed Jul 26, 2024
1 parent 6a019ca commit 7a5a386
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions driveRoot/rvloader/themes/main/scripts/loaderSettings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function loaderSettings:draw(onFocus)
else
self.menuSystem:printLineValue(self.availBackgrounds[self.curBackgroundId], self.availBackgrounds[self.curBackgroundId] ~= self.curBackground)
end
self.menuSystem:printLine("Wii game loading screen:", self.selected.id)
self.menuSystem:printLine("Wii game loading screen", self.selected.id)
if self.curWiiLoadScreen == 0 then
self.menuSystem:printLineValue("Default (verbose)", self.curWiiLoadScreen ~= self.wiiLoadScreen)
elseif self.curWiiLoadScreen == 1 then
Expand Down Expand Up @@ -87,7 +87,13 @@ function loaderSettings:handleInputs(onFocus)
end

if down.BUTTON_A then
if self.selected == self.selectionEmu.saveConfig then
if self.selected == self.selectionEmu.selLoad then
if self.curWiiLoadScreen == 0 then
self.curWiiLoadScreen = 1
elseif self.curWiiLoadScreen == 1 then
self.curWiiLoadScreen = 0
end
elseif self.selected == self.selectionEmu.saveConfig then
local hasToReboot = false
if self.availThemes[self.curThemeId] ~= self.curTheme then
Theme.setTheme(self.availThemes[self.curThemeId])
Expand Down

0 comments on commit 7a5a386

Please sign in to comment.