From 1c6828fa8ceeccd81d02beb8cdf70c80061c9947 Mon Sep 17 00:00:00 2001 From: getdls <25286924+getdls@users.noreply.github.com> Date: Thu, 23 Apr 2020 21:07:42 +0200 Subject: [PATCH] Bayonetta 2 - 60 FPS Cutscenes --- .../patch_60FPSCutscene.asm | 20 +++++++++++++++++++ Mods/Bayonetta2_60FPS_Cutscenes/rules.txt | 18 +++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 Mods/Bayonetta2_60FPS_Cutscenes/patch_60FPSCutscene.asm create mode 100644 Mods/Bayonetta2_60FPS_Cutscenes/rules.txt diff --git a/Mods/Bayonetta2_60FPS_Cutscenes/patch_60FPSCutscene.asm b/Mods/Bayonetta2_60FPS_Cutscenes/patch_60FPSCutscene.asm new file mode 100644 index 00000000..cb0bbf24 --- /dev/null +++ b/Mods/Bayonetta2_60FPS_Cutscenes/patch_60FPSCutscene.asm @@ -0,0 +1,20 @@ +[Bayo2USv0]#No patches released +moduleMatches = 0xAF5D1A85 +.origin = codecave + +_enable60: +.int $enable60 + +_cave60: +lis r9, _enable60@ha +lwz r9, _enable60@l(r9) +cmpwi r9, 1 +bne skipTo30 +addi r0,r10,1 +blr +skipTo30: +xori r0,r10,2 +blr + +0x03351098 = bla _cave60 +#0x034461C4 = nop #Kill Vsync diff --git a/Mods/Bayonetta2_60FPS_Cutscenes/rules.txt b/Mods/Bayonetta2_60FPS_Cutscenes/rules.txt new file mode 100644 index 00000000..e5565b36 --- /dev/null +++ b/Mods/Bayonetta2_60FPS_Cutscenes/rules.txt @@ -0,0 +1,18 @@ +[Definition] +titleIds = 0005000010172600,0005000010172700,000500001011B900 +name = 60 FPS cutscenes +path = "Bayonetta 2/Mods/60 FPS cutscenes" +description = 60 FPS cutscenes. 30 FPS is the WiiU default +version = 4 + +[Default] +name = 60 fps +$enable60:int = 1 + +[Preset] +name = 60 fps +$enable60:int = 1 + +[Preset] +name = 30 fps +$enable60:int = 0