From ccc64b9b7ad46c86f1d8cd870cbe0cc54ea778a2 Mon Sep 17 00:00:00 2001 From: TheOfficialFloW Date: Wed, 11 Jul 2018 10:54:34 +0200 Subject: [PATCH] Update main.c --- cef/systemctrl/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cef/systemctrl/main.c b/cef/systemctrl/main.c index 96a9a26..4d50768 100644 --- a/cef/systemctrl/main.c +++ b/cef/systemctrl/main.c @@ -444,14 +444,14 @@ int OnModuleStart(SceModule2 *mod) { u32 func = sctrlHENFindImport(modname, "IoFileMgrForUser", 0xE3EB004C); if (func) { MAKE_DUMMY_FUNCTION(func, 0); - ClearCaches(); - } - } else if (strcmp(modname, "tekken") == 0) { + ClearCaches(); + } + } else if (strcmp(modname, "tekken") == 0) { u32 func = sctrlHENFindImport(modname, "scePower", 0x34F9C463); if (func) { MAKE_DUMMY_FUNCTION(func, 222); - ClearCaches(); - } + ClearCaches(); + } } else if (strcmp(modname, "KHBBS_patch") == 0) { MAKE_DUMMY_FUNCTION(mod->entry_addr, 1); ClearCaches();