mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01: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/");
|
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)
|
if (compile_fw || dev_flash_located)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue