notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #347 from justinweiss/enable-chd-3ds
[pcsx_rearmed.git]
/
libpcsxcore
/
plugins.c
diff --git
a/libpcsxcore/plugins.c
b/libpcsxcore/plugins.c
index
4f52ed2
..
af7ebed
100644
(file)
--- a/
libpcsxcore/plugins.c
+++ b/
libpcsxcore/plugins.c
@@
-1064,7
+1064,7
@@
void CALLBACK clearDynarec(void) {
int LoadPlugins() {
int ret;
int LoadPlugins() {
int ret;
- char Plugin[MAXPATHLEN];
+ char Plugin[MAXPATHLEN
* 2
];
ReleasePlugins();
SysLibError();
ReleasePlugins();
SysLibError();
@@
-1169,7
+1169,7
@@
int ReloadCdromPlugin()
if (UsingIso()) {
LoadCDRplugin(NULL);
} else {
if (UsingIso()) {
LoadCDRplugin(NULL);
} else {
- char Plugin[MAXPATHLEN];
+ char Plugin[MAXPATHLEN
* 2
];
sprintf(Plugin, "%s/%s", Config.PluginsDir, Config.Cdr);
if (LoadCDRplugin(Plugin) == -1) return -1;
}
sprintf(Plugin, "%s/%s", Config.PluginsDir, Config.Cdr);
if (LoadCDRplugin(Plugin) == -1) return -1;
}
@@
-1182,7
+1182,7
@@
void SetIsoFile(const char *filename) {
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) {