2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-20 14:59:12 +00:00

FileStoreManager: Use SDL_GetPrefPath, add org argument

Use SDL_GetPrefPath by default, if we fail to get a valid path *then* we use the platform specific logic as a fallback
This commit is contained in:
2022-02-27 17:35:13 -08:00
parent 399b44baf0
commit b305454199
4 changed files with 41 additions and 32 deletions

View File

@@ -13,6 +13,7 @@ void CTextOutStream::WriteString(const char* str, u32 len) {
} else if (str[i] == '\n' && !wroteCarriageReturn) {
m_out->WriteChar('\r');
wroteLineFeed = true;
wroteCarriageReturn = true;
}
m_out->WriteChar(str[i]);
}