Stewmath / GameYob

[Super] Gameboy [Color] emulator for the Nintendo [3]DS
MIT License
270 stars 59 forks source link

[Enhancement] Remember last viewed folder path #184

Open NintendoManiac64 opened 3 years ago

NintendoManiac64 commented 3 years ago

Currently, when you start up GameYob, it always shows you the root of the SD card no matter what. So if you go into a folder named "Games" and load up a Game Boy game, then quit GameYob, and then launch GameYob again, it'll once again start you at the root of the SD card.

My suggestion then is a simple one - simply remember the last viewed folder and start there. So using my above example, if you go into a folder named "Games" and load up a Game Boy game, then quit GameYob, and then launch GameYob again, it would instead start you right inside of the "Games" folder.

I don't know if this is a limitation of DSi homebrew or even a limitation of running DSi homebrew on a 2DS/3DS, but I can't help but notice that the likes of mGBA and Snes9X for 2DS/3DS both remember the last viewed folder path - heck, even open_agb_firm, which isn't even an emulator, remembers the last viewed folder path.

Stewmath commented 2 years ago

I will note here that the default path can be set in "gameyobds.ini", although having some way to select that without editing the INI would make sense in case future me decides to work on this in the future.