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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user