mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2024-12-29 11:06:07 +00:00
hotfix: fix incorrect appcontent available space size
This commit is contained in:
parent
dbdcaecd27
commit
3e65f89463
|
@ -145,8 +145,10 @@ int PS4_SYSV_ABI sceAppContentDownloadDataFormat() {
|
||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int PS4_SYSV_ABI sceAppContentDownloadDataGetAvailableSpaceKb() {
|
int PS4_SYSV_ABI sceAppContentDownloadDataGetAvailableSpaceKb(OrbisAppContentMountPoint* mountPoint,
|
||||||
|
u64* availableSpaceKb) {
|
||||||
LOG_ERROR(Lib_AppContent, "(STUBBED) called");
|
LOG_ERROR(Lib_AppContent, "(STUBBED) called");
|
||||||
|
*availableSpaceKb = 1048576;
|
||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -294,9 +296,9 @@ int PS4_SYSV_ABI sceAppContentTemporaryDataFormat() {
|
||||||
}
|
}
|
||||||
|
|
||||||
int PS4_SYSV_ABI sceAppContentTemporaryDataGetAvailableSpaceKb(
|
int PS4_SYSV_ABI sceAppContentTemporaryDataGetAvailableSpaceKb(
|
||||||
const OrbisAppContentMountPoint* mountPoint, size_t* availableSpaceKb) {
|
const OrbisAppContentMountPoint* mountPoint, u64* availableSpaceKb) {
|
||||||
LOG_ERROR(Lib_AppContent, "(STUBBED) called");
|
LOG_ERROR(Lib_AppContent, "(STUBBED) called");
|
||||||
*availableSpaceKb = 1073741824;
|
*availableSpaceKb = 1048576;
|
||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -84,7 +84,8 @@ int PS4_SYSV_ABI sceAppContentDownload0Shrink();
|
||||||
int PS4_SYSV_ABI sceAppContentDownload1Expand();
|
int PS4_SYSV_ABI sceAppContentDownload1Expand();
|
||||||
int PS4_SYSV_ABI sceAppContentDownload1Shrink();
|
int PS4_SYSV_ABI sceAppContentDownload1Shrink();
|
||||||
int PS4_SYSV_ABI sceAppContentDownloadDataFormat();
|
int PS4_SYSV_ABI sceAppContentDownloadDataFormat();
|
||||||
int PS4_SYSV_ABI sceAppContentDownloadDataGetAvailableSpaceKb();
|
int PS4_SYSV_ABI sceAppContentDownloadDataGetAvailableSpaceKb(OrbisAppContentMountPoint* mountPoint,
|
||||||
|
u64* availableSpaceKb);
|
||||||
int PS4_SYSV_ABI sceAppContentGetAddcontDownloadProgress();
|
int PS4_SYSV_ABI sceAppContentGetAddcontDownloadProgress();
|
||||||
int PS4_SYSV_ABI sceAppContentGetAddcontInfo(u32 service_label,
|
int PS4_SYSV_ABI sceAppContentGetAddcontInfo(u32 service_label,
|
||||||
const OrbisNpUnifiedEntitlementLabel* entitlementLabel,
|
const OrbisNpUnifiedEntitlementLabel* entitlementLabel,
|
||||||
|
@ -105,7 +106,7 @@ int PS4_SYSV_ABI sceAppContentSmallSharedDataMount();
|
||||||
int PS4_SYSV_ABI sceAppContentSmallSharedDataUnmount();
|
int PS4_SYSV_ABI sceAppContentSmallSharedDataUnmount();
|
||||||
int PS4_SYSV_ABI sceAppContentTemporaryDataFormat();
|
int PS4_SYSV_ABI sceAppContentTemporaryDataFormat();
|
||||||
int PS4_SYSV_ABI sceAppContentTemporaryDataGetAvailableSpaceKb(
|
int PS4_SYSV_ABI sceAppContentTemporaryDataGetAvailableSpaceKb(
|
||||||
const OrbisAppContentMountPoint* mountPoint, size_t* availableSpaceKb);
|
const OrbisAppContentMountPoint* mountPoint, u64* availableSpaceKb);
|
||||||
int PS4_SYSV_ABI sceAppContentTemporaryDataMount();
|
int PS4_SYSV_ABI sceAppContentTemporaryDataMount();
|
||||||
int PS4_SYSV_ABI sceAppContentTemporaryDataMount2(OrbisAppContentTemporaryDataOption option,
|
int PS4_SYSV_ABI sceAppContentTemporaryDataMount2(OrbisAppContentTemporaryDataOption option,
|
||||||
OrbisAppContentMountPoint* mountPoint);
|
OrbisAppContentMountPoint* mountPoint);
|
||||||
|
|
Loading…
Reference in a new issue