mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Use more starts_with
This commit is contained in:
parent
d7dd4897f8
commit
8762f2a588
4 changed files with 4 additions and 4 deletions
|
|
@ -802,7 +802,7 @@ s32 cellSailPlayerCreateDescriptor(vm::ptr<CellSailPlayer> pSelf, s32 streamType
|
|||
case CELL_SAIL_STREAM_PAMF:
|
||||
{
|
||||
std::string uri = pUri.get_ptr();
|
||||
if (uri.substr(0, 12) == "x-cell-fs://")
|
||||
if (uri.starts_with("x-cell-fs://"))
|
||||
{
|
||||
if (fs::file f{ vfs::get(uri.substr(12)) })
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue