diff --git a/CHANGES b/CHANGES index c8d4ed8e7..6d94248d2 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,8 @@ 0.10.4: (Future) Emulation fixes: - GBA SIO: Fix MULTI mode SIOCNT bit 7 writes on secondary GBAs (fixes mgba.io/i/3110) +Other fixes: + - Updater: Fix updating appimage across filesystems Misc: - Vita: Add imc0 and xmc0 mount point support diff --git a/src/feature/updater-main.c b/src/feature/updater-main.c index becd9c2a3..e324e657f 100644 --- a/src/feature/updater-main.c +++ b/src/feature/updater-main.c @@ -250,7 +250,7 @@ int main(int argc, char* argv[]) { // Cross-dev, need to copy manually int infd = open(updateArchive, O_RDONLY); int outfd = -1; - if (infd >= 0) { + if (infd < 0) { ok = 2; } else { outfd = open(bin, O_CREAT | O_WRONLY | O_TRUNC, 0755);