Merge pull request #13272 from dreamsyntax/ppc-crlf

PPCSymbolDB: Fix loading maps with CRLF endings
This commit is contained in:
Admiral H. Curtiss 2025-01-12 14:26:27 +01:00 committed by GitHub
commit ede963d4db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ bool PPCSymbolDB::LoadMap(const Core::CPUThreadGuard& guard, const std::string&
continue;
// Support CodeWarrior and Dolphin map
if (std::string_view{line}.ends_with(" section layout\n") || strcmp(temp, ".text") == 0 ||
if (StripWhitespace(line).ends_with(" section layout") || strcmp(temp, ".text") == 0 ||
strcmp(temp, ".init") == 0)
{
section_name = temp;