mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 16:32:39 +00:00
change sizeof to TmpMount.size
This commit is contained in:
parent
229740f557
commit
2265f997b7
@ -323,7 +323,7 @@ int PS4_SYSV_ABI sceAppContentTemporaryDataMount2(OrbisAppContentTemporaryDataOp
|
|||||||
return ORBIS_APP_CONTENT_ERROR_PARAMETER;
|
return ORBIS_APP_CONTENT_ERROR_PARAMETER;
|
||||||
}
|
}
|
||||||
static constexpr std::string_view TmpMount = "/temp0";
|
static constexpr std::string_view TmpMount = "/temp0";
|
||||||
TmpMount.copy(mountPoint->data, sizeof(mountPoint->data));
|
TmpMount.copy(mountPoint->data, TmpMount.size());
|
||||||
LOG_INFO(Lib_AppContent, "sceAppContentTemporaryDataMount2: option = {}, mountPoint = {}",
|
LOG_INFO(Lib_AppContent, "sceAppContentTemporaryDataMount2: option = {}, mountPoint = {}",
|
||||||
option, mountPoint->data);
|
option, mountPoint->data);
|
||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
|
Loading…
Reference in New Issue
Block a user