PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
CardAuth.h
1extern void ResetMcHandlers(void);
2extern void SetMcCommandHandler(McCommandHandler_t handler);
3extern McCommandHandler_t GetMcCommandHandler(void);
4extern void SetMcDevIDHandler(McDevIDHandler_t handler);
5extern McDevIDHandler_t GetMcDevIDHandler(void); // unused.
6extern int McDeviceIDToCNum(int port, int slot);
7extern int SendMcCommand(int port, int slot, sio2_transfer_data_t *sio2packet);
8extern int card_auth(int port, int slot, int arg3, int command);
9extern unsigned char calculate_sio2_buffer_checksum(const void *buffer, unsigned int length);
10extern int card_auth_write(int port, int slot, const void *buffer, int arg3, int command);
11extern int card_auth_read(int port, int slot, void *buffer, int arg3, int command);
12
13extern int card_auth_60(int port, int slot);
14extern int card_auth_key_change(int port, int slot, int command);
15extern int card_auth2(int port, int slot, int arg3, int command);