diff --git a/src/ps2/main.c b/src/ps2/main.c index 2adff128..ea56333f 100644 --- a/src/ps2/main.c +++ b/src/ps2/main.c @@ -36,6 +36,7 @@ #include #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; @@ -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.