mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-14 08:12:16 +00:00
change sizeof to TmpMount.size (#2523)
Co-authored-by: smiRaphi <neogt404@gmail.com>
This commit is contained in:
parent
ad68318515
commit
f975c0603c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue