add config entries for BIOS/firmware paths

This commit is contained in:
Arisotura 2020-05-17 03:02:42 +02:00
parent 2afa70b817
commit 492a4b4b46
2 changed files with 18 additions and 6 deletions

View File

@ -60,9 +60,13 @@ int SavestateRelocSRAM;
int AudioVolume; int AudioVolume;
int MicInputType; int MicInputType;
char MicWavPath[512]; char MicWavPath[1024];
char LastROMFolder[512]; char LastROMFolder[1024];
char BIOS9Path[1024];
char BIOS7Path[1024];
char FirmwarePath[1024];
ConfigEntry PlatformConfigFile[] = ConfigEntry PlatformConfigFile[] =
@ -141,9 +145,13 @@ ConfigEntry PlatformConfigFile[] =
{"AudioVolume", 0, &AudioVolume, 256, NULL, 0}, {"AudioVolume", 0, &AudioVolume, 256, NULL, 0},
{"MicInputType", 0, &MicInputType, 1, NULL, 0}, {"MicInputType", 0, &MicInputType, 1, NULL, 0},
{"MicWavPath", 1, MicWavPath, 0, "", 511}, {"MicWavPath", 1, MicWavPath, 0, "", 1023},
{"LastROMFolder", 1, LastROMFolder, 0, "", 511}, {"LastROMFolder", 1, LastROMFolder, 0, "", 1023},
{"BIOS9Path", 1, BIOS9Path, 0, "", 1023},
{"BIOS7Path", 1, BIOS7Path, 0, "", 1023},
{"FirmwarePath", 1, FirmwarePath, 0, "", 1023},
{"", -1, NULL, 0, NULL, 0} {"", -1, NULL, 0, NULL, 0}
}; };

View File

@ -73,9 +73,13 @@ extern int SavestateRelocSRAM;
extern int AudioVolume; extern int AudioVolume;
extern int MicInputType; extern int MicInputType;
extern char MicWavPath[512]; extern char MicWavPath[1024];
extern char LastROMFolder[512]; extern char LastROMFolder[1024];
extern char BIOS9Path[1024];
extern char BIOS7Path[1024];
extern char FirmwarePath[1024];
} }