Updater: Fix updating appimage across filesystems

This commit is contained in:
Vicki Pfau 2024-01-30 16:01:49 -08:00
parent 32149f0e24
commit 5aa7c955f1
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
0.10.4: (Future) 0.10.4: (Future)
Emulation fixes: Emulation fixes:
- GBA SIO: Fix MULTI mode SIOCNT bit 7 writes on secondary GBAs (fixes mgba.io/i/3110) - 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: Misc:
- Vita: Add imc0 and xmc0 mount point support - Vita: Add imc0 and xmc0 mount point support

View File

@ -250,7 +250,7 @@ int main(int argc, char* argv[]) {
// Cross-dev, need to copy manually // Cross-dev, need to copy manually
int infd = open(updateArchive, O_RDONLY); int infd = open(updateArchive, O_RDONLY);
int outfd = -1; int outfd = -1;
if (infd >= 0) { if (infd < 0) {
ok = 2; ok = 2;
} else { } else {
outfd = open(bin, O_CREAT | O_WRONLY | O_TRUNC, 0755); outfd = open(bin, O_CREAT | O_WRONLY | O_TRUNC, 0755);