From 19464e0e692275f7e1b00ee12107f064377e31e1 Mon Sep 17 00:00:00 2001 From: rodrigo1593-dev Date: Sat, 20 Jun 2026 17:24:46 -0300 Subject: [PATCH] iop reset and sync with the stupid fork thank you...? --- src/ps2/main.c | 5 +++++ 1 file changed, 5 insertions(+) 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.