CDImage: Work around cue parser requiring new line at end

This commit is contained in:
Connor McLaughlin
2020-08-05 03:14:06 +10:00
parent 466e4099d4
commit a7dbb9ab28
3 changed files with 41 additions and 4 deletions

View File

@@ -173,7 +173,9 @@ ManagedCFilePtr OpenManagedCFile(const char* filename, const char* mode);
std::FILE* OpenCFile(const char* filename, const char* mode);
std::optional<std::vector<u8>> ReadBinaryFile(const char* filename);
std::optional<std::string> ReadFileToString(const char* filename);
bool WriteBinaryFile(const char* filename, const void* data, size_t data_length);
bool WriteFileToString(const char* filename, const std::string_view& sv);
// creates a directory in the local filesystem
// if the directory already exists, the return value will be true.