summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReiko Asakura2021-04-03 12:08:27 -0400
committerReiko Asakura2021-04-03 12:08:27 -0400
commita07368825c951d493d861fd467c3e72061df72e3 (patch)
tree7a51a8509db9ba03ec1808874cdfe27d7ad8a42b
parentHook using offsets only (diff)
downloadmoonshine-master.tar.gz
Support more SceShell versionsHEADrelease/1.0.0master
-rw-r--r--moonshine.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/moonshine.c b/moonshine.c
index c9f930e..14cb1d4 100644
--- a/moonshine.c
+++ b/moonshine.c
@@ -131,6 +131,32 @@ int module_start() {
set_presence_ofs = 0x3B9EEE;
post_status_ofs = 0x1BDE54;
break;
+ case 0xBB4B0A3E: // 3.63 retail
+ set_presence_ofs = 0x3B9F8E;
+ post_status_ofs = 0x1BDF1C;
+ break;
+ case 0x5549BF1F: // 3.65 retail
+ case 0x34B4D82E: // 3.67 retail
+ case 0x12DAC0F3: // 3.68 retail
+ set_presence_ofs = 0x3BA336;
+ post_status_ofs = 0x1BDF1C;
+ break;
+ case 0x0703C828: // 3.69 retail
+ case 0x2053B5A5: // 3.70 retail
+ case 0xF476E785: // 3.71 retail
+ case 0x939FFBE9: // 3.72 retail
+ case 0x734D476A: // 3.73 retail
+ set_presence_ofs = 0x3BA346;
+ post_status_ofs = 0x1BDF1C;
+ break;
+ case 0xEAB89D5C: // 3.60 testkit
+ set_presence_ofs = 0x3B066E;
+ post_status_ofs = 0x1B6288;
+ break;
+ case 0x587F9CED: // 3.65 testkit
+ set_presence_ofs = 0x3B0AAE;
+ post_status_ofs = 0x1B6350;
+ break;
default:
SCE_DBG_LOG_ERROR("Unsupported SceShell version");
goto fail;