mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-21 18:39:57 +00:00
fix: back() called an empty string in PPUThread.cpp
This commit is contained in:
parent
ad4677a67c
commit
40cd255051
@ -3275,7 +3275,7 @@ extern void ppu_initialize()
|
||||
|
||||
const std::string mount_point = vfs::get("/dev_flash/");
|
||||
|
||||
bool dev_flash_located = Emu.GetCat().back() != 'P' && Emu.IsPathInsideDir(Emu.GetBoot(), mount_point);
|
||||
bool dev_flash_located = !Emu.GetCat().ends_with('P') && Emu.IsPathInsideDir(Emu.GetBoot(), mount_point);
|
||||
|
||||
if (compile_fw || dev_flash_located)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user