Skip to content

Commit

Permalink
Use PathToFilename instead
Browse files Browse the repository at this point in the history
  • Loading branch information
CelestialAmber committed Oct 18, 2024
1 parent 4fae6a9 commit 9ff2b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/Boot/Boot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ bool CBoot::BootUp(Core::System& system, const Core::CPUThreadGuard& guard,

ppc_state.pc = executable.reader->GetEntryPoint();

std::string filename = PathToString(StringToPath(executable.path).filename());
std::string filename = PathToFileName(executable.path);

if (executable.reader->LoadSymbols(guard, system.GetPPCSymbolDB(), filename))
{
Expand Down

0 comments on commit 9ff2b95

Please sign in to comment.