Add PHX, PHY, PHB, PHD, PHK and PLX, PLY, PLB, PLD

This commit is contained in:
scawful
2023-08-19 16:18:45 -04:00
parent 76f40531f1
commit 8d0f4110e0
4 changed files with 200 additions and 104 deletions

View File

@@ -208,7 +208,7 @@ absl::Status DecodeObjFile(
expected_cut = 0x900;
}
std::ifstream file(filename, std::ios::binary);
std::ifstream file(filename.data(), std::ios::binary);
if (!file.is_open()) {
return absl::NotFoundError("OBJ file not found.");
}