mirror of
https://github.com/gbdev/rgbds.git
synced 2026-08-26 00:34:27 +00:00
Fix error message when an rgbgfx output file cannot be created
This commit is contained in:
+1
-1
@@ -691,7 +691,7 @@ static void outputUnoptimizedMaps(
|
|||||||
file.emplace();
|
file.emplace();
|
||||||
if (!file->open(path, std::ios_base::out | std::ios_base::binary)) {
|
if (!file->open(path, std::ios_base::out | std::ios_base::binary)) {
|
||||||
// LCOV_EXCL_START
|
// LCOV_EXCL_START
|
||||||
fatal("Failed to create \"%s\": %s", file->c_str(options.tilemap), strerror(errno));
|
fatal("Failed to create \"%s\": %s", file->c_str(path), strerror(errno));
|
||||||
// LCOV_EXCL_STOP
|
// LCOV_EXCL_STOP
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user