Skip to content
Open
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
5 changes: 5 additions & 0 deletions src/ps2/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#include <ps2prof.h>
#endif

#include "iopcontrol.h"
// Embedded ps2sdk IRX modules (generated by bin2c at build time)
extern unsigned char freesio2_irx[];
extern unsigned int size_freesio2_irx;
Expand Down Expand Up @@ -240,6 +241,10 @@ static unsigned int hidUsageToAsciiChar(uint8_t hid, bool shift) {
int main(int argc, char* argv[]) {
(void)argc;
SifInitRpc(0);
SifIopReset(NULL, 0);
SifIopSync();
SifInitRpc(0);

sbv_patch_enable_lmb();

// Ask the kernel how much main RAM we actually have.
Expand Down
Loading