This commit is contained in:
C.W. Betts 2025-06-25 14:20:10 +00:00 committed by GitHub
commit d7c2195020
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ char *do_open_rom_dialog(void)
NSString *ret = [[[dialog URLs] firstObject] path];
dup2(stderr_fd, STDERR_FILENO);
if (ret) {
return strdup(ret.UTF8String);
return strdup(ret.fileSystemRepresentation);
}
return NULL;
}
@ -59,7 +59,7 @@ char *do_save_recording_dialog(unsigned frequency)
NSString *ret = [[dialog URL] path];
dup2(stderr_fd, STDERR_FILENO);
if (ret) {
return strdup(ret.UTF8String);
return strdup(ret.fileSystemRepresentation);
}
return NULL;
}