Fix Windows host breakage by 45a50b1668
(TeLeMan)
Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
parent
e0bda367e5
commit
cef290b878
|
@ -563,7 +563,7 @@ int rom_add_file(const char *file,
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
||||||
fd = open(rom->path, O_RDONLY);
|
fd = open(rom->path, O_RDONLY | O_BINARY);
|
||||||
if (fd == -1) {
|
if (fd == -1) {
|
||||||
fprintf(stderr, "Could not open option rom '%s': %s\n",
|
fprintf(stderr, "Could not open option rom '%s': %s\n",
|
||||||
rom->path, strerror(errno));
|
rom->path, strerror(errno));
|
||||||
|
|
Loading…
Reference in New Issue