]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
MAX_PATH.
authorToni Wilen <twilen@winuae.net>
Tue, 4 Oct 2016 16:11:14 +0000 (19:11 +0300)
committerToni Wilen <twilen@winuae.net>
Tue, 4 Oct 2016 16:11:14 +0000 (19:11 +0300)
od-win32/registry.cpp
rommgr.cpp

index 20655e52a5db8de6d905452cbd85b1bdce0df78a..24b382b404f8fe43f136ed1cf616bc8390eb7ba6 100644 (file)
@@ -409,7 +409,7 @@ void regclosetree (UAEREG *key)
 int reginitializeinit (TCHAR **pppath)
 {
        UAEREG *r = NULL;
-       TCHAR path[MAX_DPATH], fpath[MAX_PATH];
+       TCHAR path[MAX_DPATH], fpath[MAX_DPATH];
        FILE *f;
        TCHAR *ppath = *pppath;
 
index b9ecd3f3565a7c77ba535a2102a65d40d6ac8761..6db72b6134980439fa2edabf720d942db1c45061 100644 (file)
@@ -856,7 +856,7 @@ int load_keyring (struct uae_prefs *p, const TCHAR *path)
 {
        uae_u8 *keybuf;
        int keysize;
-       TCHAR tmp[MAX_PATH], *d;
+       TCHAR tmp[MAX_DPATH], *d;
        int keyids[] = { 0, 48, 73, -1 };
        int cnt, i;
 
@@ -938,7 +938,7 @@ void free_keyring (void)
 
 struct romdata *getromdatabyname (const TCHAR *name)
 {
-       TCHAR tmp[MAX_PATH];
+       TCHAR tmp[MAX_DPATH];
        int i = 0;
        while (roms[i].name) {
                if (!roms[i].group) {