diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2025-01-12 14:26:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-12 14:26:27 +0100 |
| commit | ede963d4dbfaeefe002eddbe4251f005a3d7379b (patch) | |
| tree | 50611df382bc60e8d4e35ec5437c37af44565b12 /Source | |
| parent | b0e5ebc80d5f17e3b9ac9863bf8fc1fcac5881bb (diff) | |
| parent | b9a2d89035c38ab0e8f93d02e0fa8a489dde213e (diff) | |
Merge pull request #13272 from dreamsyntax/ppc-crlf
PPCSymbolDB: Fix loading maps with CRLF endings
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/PowerPC/PPCSymbolDB.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/PowerPC/PPCSymbolDB.cpp b/Source/Core/Core/PowerPC/PPCSymbolDB.cpp index b131b15f84..6c686148f3 100644 --- a/Source/Core/Core/PowerPC/PPCSymbolDB.cpp +++ b/Source/Core/Core/PowerPC/PPCSymbolDB.cpp @@ -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; |
