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

Add missing structure definitions, fix existing. #213

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
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
2 changes: 1 addition & 1 deletion include/orbis/GnmDriver.h
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ int32_t sceGnmSetVsShader(
// Empty Comment
void sceGnmSetWaveLimitMultipliers();
// Empty Comment
void sceGnmSubmitAndFlipCommandBuffers();
int32_t sceGnmSubmitAndFlipCommandBuffers(uint32_t count, void *dcbGpuAddrs[], uint32_t *dcbSizesInBytes, void *ccbGpuAddrs[], uint32_t *ccbSizesInBytes, uint32_t videoOutHandle, uint32_t displayBufferIndex, uint32_t flipMode, int64_t flipArg);
// Empty Comment
void sceGnmSubmitAndFlipCommandBuffersForWorkload();
// Submit one or more draw command buffer, and optionally one or more compute command buffers.
Expand Down
20 changes: 8 additions & 12 deletions include/orbis/Mouse.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,21 @@
#define _SCE_MOUSE_H_

#include <stdint.h>
#include "orbis/_types/mouse.h"

#ifdef __cplusplus
extern "C" {
extern "C"
{
#endif

int32_t sceMouseInit();
int32_t sceMouseOpen(int32_t userID, int32_t type, int32_t index, const OrbisMouseOpenParam*);
int32_t sceMouseClose(int32_t);
int32_t sceMouseRead(int32_t handle, OrbisMouseData*, int32_t num);

// Empty Comment
void sceMouseClose();
// Empty Comment
void sceMouseInit();
// Empty Comment
void sceMouseOpen();
// Empty Comment
void sceMouseRead();
// Empty Comment
void sceMouseSetPointerSpeed();

#ifdef __cplusplus
}
#endif

#endif
#endif
62 changes: 17 additions & 45 deletions include/orbis/NpTrophy.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,63 +8,35 @@
extern "C" {
#endif

// Empty Comment
void sceNpTrophyAbortHandle();
// Empty Comment
void sceNpTrophyCaptureScreenshot();
// Empty Comment
int32_t sceNpTrophyCreateContext(int32_t *context, int32_t user, uint32_t unk, uint64_t unk2);
// Empty Comment
int32_t sceNpTrophyCreateHandle(int32_t *handle);
// Empty Comment
int32_t sceNpTrophyAbortHandle(int32_t handle);
int32_t sceNpTrophyCaptureScreenshot(int32_t handle, const OrbisNpTrophyScreenshotTarget* target, int32_t numTargets);
int32_t sceNpTrophyCreateContext(int32_t* context, int32_t userID, uint32_t serviceLabel, uint64_t options);
int32_t sceNpTrophyCreateHandle(int32_t* handle);
int32_t sceNpTrophyDestroyContext(int32_t context);
// Empty Comment
int32_t sceNpTrophyDestroyHandle(int32_t handle);
// Empty Comment
void sceNpTrophyGetGameIcon();
// Empty Comment
void sceNpTrophyGetGameInfo();
// Empty Comment
void sceNpTrophyGetGroupIcon();
// Empty Comment
void sceNpTrophyGetGroupInfo();
// Empty Comment
void sceNpTrophyGetTrophyIcon();
// Empty Comment
int32_t sceNpTrophyGetTrophyInfo(int32_t context, int32_t handle, int32_t TRPID, OrbisNpTrophyDetails* details, OrbisNpTrophyData* data);
// Empty Comment
void sceNpTrophyGetTrophyUnlockState();
// Empty Comment
int32_t sceNpTrophyGetGameIcon(int32_t context, int32_t handle, void* buffer, size_t* size);
int32_t sceNpTrophyGetGameInfo(int32_t context, int32_t handle, OrbisNpTrophyGameDetails* details, OrbisNpTrophyGameData* data);
int32_t sceNpTrophyGetGroupIcon(int32_t context, int32_t handle, int32_t groupID, void* buffer, size_t* size);
int32_t sceNpTrophyGetGroupInfo(int32_t context, int32_t handle, int32_t groupID, OrbisNpTrophyGroupDetails* details, OrbisNpTrophyGroupData* data);
int32_t sceNpTrophyGetTrophyIcon(int32_t context, int32_t handle, int32_t trophyID, void* buffer, size_t* size);
int32_t sceNpTrophyGetTrophyInfo(int32_t context, int32_t handle, int32_t trophyID, OrbisNpTrophyDetails* details, OrbisNpTrophyData* data);
int32_t sceNpTrophyGetTrophyUnlockState(int32_t context, int32_t handle, OrbisNpTrophyFlagArray* flags, uint32_t* count);
int32_t sceNpTrophyRegisterContext(int32_t context, int32_t handle, uint64_t options);
int32_t sceNpTrophyShowTrophyList(int32_t context, int32_t handle);
int32_t sceNpTrophyUnlockTrophy(int32_t context, int32_t handle, int32_t trophyID, int32_t *platinumId);

void sceNpTrophySystemIsServerAvailable();
void sceNpTrophyIntAbortHandle();
// Empty Comment
void sceNpTrophyIntCheckNetSyncTitles();
// Empty Comment
void sceNpTrophyIntCreateHandle();
// Empty Comment
void sceNpTrophyIntDestroyHandle();
// Empty Comment
void sceNpTrophyIntGetLocalTrophySummary();
// Empty Comment
void sceNpTrophyIntGetProgress();
// Empty Comment
void sceNpTrophyIntGetRunningTitle();
// Empty Comment
void sceNpTrophyIntGetRunningTitles();
// Empty Comment
void sceNpTrophyIntGetTrpIconByUri();
// Empty Comment
void sceNpTrophyIntNetSyncTitles();
// Empty Comment
int32_t sceNpTrophyRegisterContext(int32_t context, int32_t handle, uint64_t unk);
// Empty Comment
int32_t sceNpTrophyShowTrophyList(int32_t Context, int32_t hadle);
// Empty Comment
void sceNpTrophySystemIsServerAvailable();
// Empty Comment
int32_t sceNpTrophyUnlockTrophy(int32_t context, int32_t handle, int32_t TrophyID, int32_t *PLATID);

#ifdef __cplusplus
}
#endif

#endif
#endif
Loading