mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 09:59:32 -06:00
Merge pull request #13272 from dreamsyntax/ppc-crlf
PPCSymbolDB: Fix loading maps with CRLF endings
This commit is contained in:
@ -252,7 +252,7 @@ bool PPCSymbolDB::LoadMap(const Core::CPUThreadGuard& guard, const std::string&
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Support CodeWarrior and Dolphin map
|
// 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)
|
strcmp(temp, ".init") == 0)
|
||||||
{
|
{
|
||||||
section_name = temp;
|
section_name = temp;
|
||||||
|
Reference in New Issue
Block a user