*: let libfmt quote strings

This commit is contained in:
Max Kellermann
2024-04-16 11:06:34 +02:00
parent 39c9e92f42
commit 0c1ecc96a8
71 changed files with 160 additions and 160 deletions

View File

@@ -62,7 +62,7 @@ static void loadRom(const Path rom_path, uint8_t *dump)
{
FileReader romDump(rom_path);
if (romDump.Read(std::as_writable_bytes(std::span{dump, rom_size})) != rom_size)
throw FmtRuntimeError("Could not load rom dump '{}'", rom_path);
throw FmtRuntimeError("Could not load rom dump {:?}", rom_path);
}
/**
@@ -74,7 +74,7 @@ sidplay_load_songlength_db(const Path path)
auto db = std::make_unique<SidDatabase>();
bool error = !db->open(path.c_str());
if (error)
throw FmtRuntimeError("unable to read songlengths file {}: {}",
throw FmtRuntimeError("unable to read songlengths file {:?}: {}",
path, db->error());
return db;