mirror of https://github.com/mgba-emu/mgba.git
Updater: Fix updating appimage across filesystems
This commit is contained in:
parent
32149f0e24
commit
5aa7c955f1
2
CHANGES
2
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
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue