Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility changes for latest version of bizhawk (2.6.1) #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion SoloShuffler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ function nextGame(game) -- Changes to the next game and saves the current settin
userdata.set("first",1)
savestate.saveslot(1)
client.openrom(gamePath .. currentGame)
savestate.loadslot(1)
console.log(currentGame .. " loaded!")
userdata.set("currentGame",currentGame)
userdata.set("timeLimit",timeLimit)
Expand Down Expand Up @@ -255,6 +254,12 @@ if databaseSize == 1 then
timeLimit = 6000
end

if readOldTime ~= 0 then
savestate.loadslot(1)
end

gui.clearGraphics()

while true do -- The main cycle that causes the emulator to advance and trigger a game switch.
if (diff >= timeLimit - 180) then
startCountdown(count)
Expand Down