]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
check for imgeUnsupported too
authorToni Wilen <twilen@winuae.net>
Tue, 20 Apr 2010 13:51:46 +0000 (16:51 +0300)
committerToni Wilen <twilen@winuae.net>
Tue, 20 Apr 2010 13:51:46 +0000 (16:51 +0300)
od-win32/caps/caps_win32.cpp

index d2bafd10011089f845322e8ee3d6599b2c90209d..5a0efe6443070649740f69d81d9e89fd7b00befc 100644 (file)
@@ -124,7 +124,7 @@ int caps_loadimage (struct zfile *zf, int drv, int *num_tracks)
        ret = pCAPSLockImageMemory (caps_cont[drv], buf, len, 0);
        xfree (buf);
        if (ret != imgeOk) {
-               if (ret == imgeIncompatible) {
+               if (ret == imgeIncompatible || ret == imgeUnsupported) {
                        if (!notified)
                                notify_user (NUMSG_OLDCAPS);
                        notified = 1;