- silence a few more truncated warnings
- change "disable" to "disabled" in core options
#define PATH_MAX 4096
#endif
#define PATH_MAX 4096
#endif
-static char base_dir[PATH_MAX];
+static char base_dir[1024];
static bool read_m3u(const char *file)
{
static bool read_m3u(const char *file)
{
char name[PATH_MAX];
FILE *f = fopen(file, "r");
if (!f)
char name[PATH_MAX];
FILE *f = fopen(file, "r");
if (!f)
static void loadPSXBios(void)
{
const char *dir;
static void loadPSXBios(void)
{
const char *dir;
unsigned useHLE = 0;
const char *bios[] = {
unsigned useHLE = 0;
const char *bios[] = {
"Enable Second Memory Card (Shared)",
"Enabled the memory card slot 2. This memory card is shared amongst all games.",
{
"Enable Second Memory Card (Shared)",
"Enabled the memory card slot 2. This memory card is shared amongst all games.",
{
{ "enabled", NULL },
{ NULL, NULL},
},
{ "enabled", NULL },
{ NULL, NULL},
},
},
{
"pcsx_rearmed_pad1type",
},
{
"pcsx_rearmed_pad1type",
IsoFile[0] = '\0';
return;
}
IsoFile[0] = '\0';
return;
}
- strncpy(IsoFile, filename, MAXPATHLEN);
+ strncpy(IsoFile, filename, MAXPATHLEN - 1);
}
const char *GetIsoFile(void) {
}
const char *GetIsoFile(void) {