Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix commit b48ec8d, long is 64bit on 64bit system #260

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/orbis/AppInstUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ int32_t sceAppInstUtilAppUnInstallTheme(const char* contentId);
bool sceAppInstUtilAppIsInInstalling(const char* contentId);
int32_t sceAppInstUtilAppIsInUpdating(const char* titleId, int32_t* updating);
int32_t sceAppInstUtilAppExists(const char* titleId, int32_t* exists);
int32_t sceAppInstUtilAppGetSize(const char* titleId, uint32_t* size);
int32_t sceAppInstUtilAppGetSize(const char* titleId, uint64_t* size);

int32_t sceAppInstUtilAppRecoverApp(const char* titleId);

int32_t sceAppInstUtilGetInstallProgress(const char* contentId, uint32_t* progress);
int32_t sceAppInstUtilGetInstallProgressInfo(const char* contentId, uint32_t* state, uint32_t* progress, uint32_t* progressSize, uint32_t* totalSize, uint32_t* restSec);
int32_t sceAppInstUtilGetInstallProgressInfo(const char* contentId, uint32_t* state, uint32_t* progress, uint64_t* progressSize, uint64_t* totalSize, uint32_t* restSec);

// Empty Comment
void sceAppInstUtilAppCancelableUnInstall();
Expand Down
6 changes: 3 additions & 3 deletions include/orbis/Pigletv2VSH.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ bool scePigletSetConfigurationVSH(const OrbisPglConfig *in_config);
bool scePigletGetConfigurationVSH(OrbisPglConfig *out_config);

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

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

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

#ifdef __cplusplus
}
Expand Down
12 changes: 6 additions & 6 deletions include/orbis/_types/bgft.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ struct _OrbisBgftDownloadParam {
const char* releaseDate;
const char* packageType;
const char* packageSubType;
uint32_t packageSize;
uint64_t packageSize;
};
typedef struct _OrbisBgftDownloadParam OrbisBgftDownloadParam;

Expand All @@ -73,17 +73,17 @@ typedef struct _OrbisBgftDownloadParamEx OrbisBgftDownloadParamEx;
struct _OrbisBgftDownloadTaskInfo {
char* contentTitle;
char* iconPath;
uint32_t notificationUtcTick;
uint64_t notificationUtcTick;
};
typedef struct _OrbisBgftDownloadTaskInfo OrbisBgftDownloadTaskInfo;

struct _OrbisBgftTaskProgress {
uint32_t bits;
int32_t errorResult;
uint32_t length;
uint32_t transferred;
uint32_t lengthTotal;
uint32_t transferredTotal;
uint64_t length;
uint64_t transferred;
uint64_t lengthTotal;
uint64_t transferredTotal;
uint32_t numIndex;
uint32_t numTotal;
uint32_t restSec;
Expand Down