mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-26 15:50:00 -06:00
libui/GTK: remember directory in which the latest loaded ROM was, point file picker to it. behavior under Windows will likely stay unchanged as the Windows file picker already does that.
This commit is contained in:
@ -58,6 +58,8 @@ int AudioVolume;
|
||||
int MicInputType;
|
||||
char MicWavPath[512];
|
||||
|
||||
char LastROMFolder[512];
|
||||
|
||||
typedef struct
|
||||
{
|
||||
char Name[16];
|
||||
@ -123,6 +125,8 @@ ConfigEntry ConfigFile[] =
|
||||
{"AudioVolume", 0, &AudioVolume, 255, NULL, 0},
|
||||
{"MicInputType", 0, &MicInputType, 1, NULL, 0},
|
||||
{"MicWavPath", 1, MicWavPath, 0, "", 511},
|
||||
|
||||
{"LastROMFolder", 1, LastROMFolder, 0, "", 511},
|
||||
|
||||
{"", -1, NULL, 0, NULL, 0}
|
||||
};
|
||||
|
Reference in New Issue
Block a user