Cleaning up

This commit is contained in:
AnonymusRaccoon
2020-01-27 18:28:42 +01:00
parent 9f82374557
commit f24c3566cb
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ namespace ComSquare::Cartridge
struct stat info;
if (stat(romPath.c_str(), &info) < 0)
throw InvalidRomException("File not found.");
throw InvalidRomException("Could not stat the rom file at " + romPath + ". " + strerror(errno));
return info.st_size;
}