2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 03:07:41 +00:00

Use UTF-8 exclusively internally

This removes SystemString, SystemChar, etc.
All filepaths and log strings are assumed to be UTF-8,
with conversions to UTF-16 for Windows APIs as appropriate.

Updates amuse, athena, boo, kabufua and nod
This commit is contained in:
2021-06-30 14:20:45 -04:00
parent 6e12554026
commit 9ca1a38171
160 changed files with 2029 additions and 2753 deletions

View File

@@ -69,7 +69,7 @@ void SDNARead::enumerate(const std::function<bool(const FileBlock& block, athena
}
}
SDNARead::SDNARead(SystemStringView path) {
SDNARead::SDNARead(std::string_view path) {
athena::io::FileReader r(path);
if (r.hasError())
return;
@@ -134,7 +134,7 @@ SDNARead::SDNARead(SystemStringView path) {
});
}
BlendType GetBlendType(SystemStringView path) {
BlendType GetBlendType(std::string_view path) {
SDNARead r(path);
if (!r)
return BlendType::None;