Skip to content

Commit d58961b

Browse files
committed
fix commit b48ec8d, long is 64bit on 64bit system
1 parent 6929baf commit d58961b

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

include/orbis/AppInstUtil.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ int32_t sceAppInstUtilAppUnInstallTheme(const char* contentId);
2929
bool sceAppInstUtilAppIsInInstalling(const char* contentId);
3030
int32_t sceAppInstUtilAppIsInUpdating(const char* titleId, int32_t* updating);
3131
int32_t sceAppInstUtilAppExists(const char* titleId, int32_t* exists);
32-
int32_t sceAppInstUtilAppGetSize(const char* titleId, uint32_t* size);
32+
int32_t sceAppInstUtilAppGetSize(const char* titleId, uint64_t* size);
3333

3434
int32_t sceAppInstUtilAppRecoverApp(const char* titleId);
3535

3636
int32_t sceAppInstUtilGetInstallProgress(const char* contentId, uint32_t* progress);
37-
int32_t sceAppInstUtilGetInstallProgressInfo(const char* contentId, uint32_t* state, uint32_t* progress, uint32_t* progressSize, uint32_t* totalSize, uint32_t* restSec);
37+
int32_t sceAppInstUtilGetInstallProgressInfo(const char* contentId, uint32_t* state, uint32_t* progress, uint64_t* progressSize, uint64_t* totalSize, uint32_t* restSec);
3838

3939
// Empty Comment
4040
void sceAppInstUtilAppCancelableUnInstall();

include/orbis/Pigletv2VSH.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ bool scePigletSetConfigurationVSH(const OrbisPglConfig *in_config);
8282
bool scePigletGetConfigurationVSH(OrbisPglConfig *out_config);
8383

8484
// A valid display must exist, and pname can only be 1 it seems.
85-
bool scePigletGetInteger(int32_t pname, int32_t *out_data);
85+
bool scePigletGetInteger(int32_t pname, int64_t *out_data);
8686

8787
// Prints heap statistics to a FILE* stream. The stream must be created by libSceLibcInternal.
88-
uint32_t scePigletHeapDump(void *FILE_fprintf_stream, int32_t unk_1, int32_t unk_2);
88+
uint64_t scePigletHeapDump(void *FILE_fprintf_stream, int32_t unk_1, int32_t unk_2);
8989

9090
// Mostly the same as scePigletHeapDump?? The stream must be created by libSceLibcInternal.
91-
uint32_t scePigletHeapGetInfo(void *FILE_fprintf_stream, int32_t unk_1);
91+
uint64_t scePigletHeapGetInfo(void *FILE_fprintf_stream, int32_t unk_1);
9292

9393
#ifdef __cplusplus
9494
}

include/orbis/_types/bgft.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ struct _OrbisBgftDownloadParam {
6060
const char* releaseDate;
6161
const char* packageType;
6262
const char* packageSubType;
63-
uint32_t packageSize;
63+
uint64_t packageSize;
6464
};
6565
typedef struct _OrbisBgftDownloadParam OrbisBgftDownloadParam;
6666

@@ -73,17 +73,17 @@ typedef struct _OrbisBgftDownloadParamEx OrbisBgftDownloadParamEx;
7373
struct _OrbisBgftDownloadTaskInfo {
7474
char* contentTitle;
7575
char* iconPath;
76-
uint32_t notificationUtcTick;
76+
uint64_t notificationUtcTick;
7777
};
7878
typedef struct _OrbisBgftDownloadTaskInfo OrbisBgftDownloadTaskInfo;
7979

8080
struct _OrbisBgftTaskProgress {
8181
uint32_t bits;
8282
int32_t errorResult;
83-
uint32_t length;
84-
uint32_t transferred;
85-
uint32_t lengthTotal;
86-
uint32_t transferredTotal;
83+
uint64_t length;
84+
uint64_t transferred;
85+
uint64_t lengthTotal;
86+
uint64_t transferredTotal;
8787
uint32_t numIndex;
8888
uint32_t numTotal;
8989
uint32_t restSec;

0 commit comments

Comments
 (0)