Skip to content

Commit

Permalink
fix: Fix types/arguments for sifman, sifcmd
Browse files Browse the repository at this point in the history
  • Loading branch information
uyjulian committed Jan 23, 2024
1 parent a5bfd22 commit 8366b6a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions iop/kernel/include/sifcmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,10 @@ SifRpcServerData_t *sceSifRemoveRpc(SifRpcServerData_t *sd, SifRpcDataQueue_t *q
SifRpcDataQueue_t *sceSifRemoveRpcQueue(SifRpcDataQueue_t *qd);
void sceSifSetSif1CB(void *func, int param);
void sceSifClearSif1CB(void);
unsigned int sceSifSendCmdIntr(unsigned int, void *, int, void *, void *, int,
void (*func)(), void *);
unsigned int isceSifSendCmdIntr(unsigned int, void *, int, void *, void *, int,
void (*func)(), void *);
unsigned int sceSifSendCmdIntr(int cmd, void *packet, int packet_size, void *src_extra,
void *dest_extra, int size_extra, void (*completioncb)(void *userdata), void *userdata);
unsigned int isceSifSendCmdIntr(int cmd, void *packet, int packet_size, void *src_extra,
void *dest_extra, int size_extra, void (*completioncb)(void *userdata), void *userdata);

/* Compatibility names for use with ps2lib. */
#define SifInitRpc sceSifInitRpc
Expand Down
2 changes: 1 addition & 1 deletion iop/kernel/include/sifman.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ int sceSifCheckInit();
void sceSifSetDmaIntrHandler(void (*handler)(void *), void *arg);
void sceSifResetDmaIntrHandler();

unsigned int sceSifSetDmaIntr(SifDmaTransfer_t *dmat, int len, void (*func)(), void *data);
unsigned int sceSifSetDmaIntr(SifDmaTransfer_t *dmat, int count, void (*completioncb)(void *userdata), void *userdata);

#define sifman_IMPORTS_start DECLARE_IMPORT_TABLE(sifman, 1, 1)
#define sifman_IMPORTS_end END_IMPORT_TABLE
Expand Down

0 comments on commit 8366b6a

Please sign in to comment.