mirror of https://github.com/mgba-emu/mgba.git
Updater: Fix updating appimage across filesystems
This commit is contained in:
parent
7cacae1262
commit
1723a353c2
1
CHANGES
1
CHANGES
|
@ -19,6 +19,7 @@ Other fixes:
|
|||
- Debugger: Fix writing to specific segment in command-line debugger
|
||||
- GB: Fix uninitialized save data when loading undersized temporary saves
|
||||
- Qt: Fix savestate preview sizes with different scales (fixes mgba.io/i/2560)
|
||||
- Updater: Fix updating appimage across filesystems
|
||||
Misc:
|
||||
- Core: Handle relative paths for saves, screenshots, etc consistently (fixes mgba.io/i/2826)
|
||||
- GB: Prevent incompatible BIOSes from being used on differing models
|
||||
|
|
|
@ -271,7 +271,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