Skip to content

Commit

Permalink
Merge pull request #13272 from dreamsyntax/ppc-crlf
Browse files Browse the repository at this point in the history
PPCSymbolDB: Fix loading maps with CRLF endings
  • Loading branch information
AdmiralCurtiss authored Jan 12, 2025
2 parents b0e5ebc + b9a2d89 commit ede963d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/PowerPC/PPCSymbolDB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ede963d

Please sign in to comment.