From ed61f704ab0030d4f3a06efef1b00243d45d252b Mon Sep 17 00:00:00 2001 From: TheFloW Date: Sun, 17 Sep 2017 20:45:07 +0200 Subject: [PATCH] Update v1.71 --- modules/usbdevice/main.c | 16 +++++++++++----- resources/changeinfo.txt | 7 +++++++ resources/usbdevice.skprx | Bin 2134 -> 2168 bytes 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/modules/usbdevice/main.c b/modules/usbdevice/main.c index 5ebdf483..48b507b3 100644 --- a/modules/usbdevice/main.c +++ b/modules/usbdevice/main.c @@ -27,7 +27,7 @@ static tai_hook_ref_t ksceIoOpenRef; static tai_hook_ref_t ksceIoReadRef; -static SceUID hooks[3]; +static SceUID hooks[4]; static int first = 1; @@ -74,19 +74,25 @@ int module_start(SceSize args, void *argp) { memset(zero, 0, 0x6E); hooks[0] = taiInjectDataForKernel(KERNEL_PID, info.modid, 0, 0x1738, zero, 0x6E); + // Remove sector size check + hooks[1] = taiInjectDataForKernel(KERNEL_PID, info.modid, 0, 0x372, zero, 0x4); + // Add patches to support exFAT - hooks[1] = taiHookFunctionImportForKernel(KERNEL_PID, &ksceIoOpenRef, "SceUsbstorVStorDriver", 0x40FD29C7, 0x75192972, ksceIoOpenPatched); - hooks[2] = taiHookFunctionImportForKernel(KERNEL_PID, &ksceIoReadRef, "SceUsbstorVStorDriver", 0x40FD29C7, 0xE17EFC03, ksceIoReadPatched); + hooks[2] = taiHookFunctionImportForKernel(KERNEL_PID, &ksceIoOpenRef, "SceUsbstorVStorDriver", 0x40FD29C7, 0x75192972, ksceIoOpenPatched); + hooks[3] = taiHookFunctionImportForKernel(KERNEL_PID, &ksceIoReadRef, "SceUsbstorVStorDriver", 0x40FD29C7, 0xE17EFC03, ksceIoReadPatched); return SCE_KERNEL_START_SUCCESS; } int module_stop(SceSize args, void *argp) { + if (hooks[3] >= 0) + taiHookReleaseForKernel(hooks[3], ksceIoReadRef); + if (hooks[2] >= 0) - taiHookReleaseForKernel(hooks[2], ksceIoReadRef); + taiHookReleaseForKernel(hooks[2], ksceIoOpenRef); if (hooks[1] >= 0) - taiHookReleaseForKernel(hooks[1], ksceIoOpenRef); + taiInjectReleaseForKernel(hooks[1]); if (hooks[0] >= 0) taiInjectReleaseForKernel(hooks[0]); diff --git a/resources/changeinfo.txt b/resources/changeinfo.txt index ed6473e0..b3fe383e 100644 --- a/resources/changeinfo.txt +++ b/resources/changeinfo.txt @@ -277,4 +277,11 @@ - PS TV will now always open FTP when pressing SELECT.
]]> + + +- Fixed bug where uma0: options were grayed out on non PS TV models.
+- Fixed bug where the QR code scanner showed the result twice.
+ ]]> +
diff --git a/resources/usbdevice.skprx b/resources/usbdevice.skprx index 0acd64ed75d6d31a45d7d76bdc92eacb749862ea..8e272d72f4d8e7f43d3f614908b3d62ec294dac2 100644 GIT binary patch delta 1172 zcmV;F1Z(@&5cm*~7zs`h0RR91004NAA(sJgk-0Yp1cU$p1cZ_H9vvV6000I60000G z000000AO$n0RR9100000004-SF##7DC<6ch000000ssI2000000ssI200000NRwd! z9|=?k00000001Pji2<7ee@kc+K^O<{Z{w8=5?czb zkhBCg5MxM6QIM*s2f>S4t?5OpD2OlYpeewB>1O3%4qd~s!!vzE$Qb^?>Z0X~2D|F(S4d|rKlEvs8>UY)GG zwF<6H%6zsVc%Cg|HOk)MyGnYGH@~#%xxU<*_Ah)pqH3pGf4TQ*+^M)Ui%_N14EmYO zS`|LWw|Y;nA~QcL_9-I|@k(ZeCG4qxt* z%EOlmQM-RoeIt6#>ukSSSX}F7@<^+ho139beCXaoxq9=R2ED~0O8&y_okn(67l^d9 zO75mf`~8?}8*?*q7-uEzgepqLiLL!UT}}#pEQ0mpG zB-uwO^XnJRO>OwG^*zzR`~NYnZ(+VeybW}Oo09Fx&ZCLu0Ke=`M7qL>VuH{d=?n#w za5R6)XY3AlMLNQ>o1JG~dx#_+ULLo3JeU|v&ppwzQ$+oz|NNIdJQ@Ry+y3SMmyF9P z3t4`@&+FFm=o@eAy*OPs{&=G^I&=L?yj(k;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