diff --git a/src/emu/system.c b/src/emu/system.c index cc30db2..07914a4 100644 --- a/src/emu/system.c +++ b/src/emu/system.c @@ -337,7 +337,7 @@ load_clock_offsets(struct clkoff *clkoff, struct emu_args *args) FILE *f = fopen(offset_file, "r"); if (f == NULL) { - if (is_optional) + if (is_optional && errno == ENOENT) return 0; err("fopen %s failed:", offset_file);