gbajs2
gbajs2 copied to clipboard
Improve saving ui (currently confusing)
Whenever you open a ROM, the "Upload Savegame" button disappears. Whenever I use the button before I open a ROM, it does nothing. Also, are the saves meant to be downloaded with no file extension?
Huh yeah that sounds broken. I haven't tried downloading/loading savegames
Oops didn't mean to close
I found out that save can work,should save game in game, then download save data, otherwise the save data will be blank. the next time open it, u should upload save data first and then select the game rom.
Okay that's sounds right. Maybe the ticket should be rename to "improve save ui".
In personal projects I had implemented saving periodically to the browser memory (#10), but thats save states not game save data. There's not a way to "save on tab close" so I had to just have it save through a timer.
Maybe there's a way for gba.js to detect a game data change and save it then