Fix Windows host breakage by 45a50b1668822c23afc2a89f724654e176518bc4 (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…
x
Reference in New Issue
Block a user