CDImage: Add support for loading PBP images

This commit is contained in:
Albert Liu
2021-03-11 23:24:12 -08:00
parent a34f0d5599
commit 46ff2b553d
12 changed files with 882 additions and 6 deletions

View File

@ -143,6 +143,9 @@ void SanitizeFileName(std::string& Destination, bool StripSlashes = true);
/// Returns true if the specified path is an absolute path (C:\Path on Windows or /path on Unix).
bool IsAbsolutePath(const std::string_view& path);
/// Removes the extension of a filename.
std::string StripExtension(const std::string_view& path);
/// Replaces the extension of a filename with another.
std::string ReplaceExtension(const std::string_view& path, const std::string_view& new_extension);