diff --git a/README.md b/README.md index c55eb07..4789087 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,8 @@ Currently only binary ROP-chains are supported, hence no support for using this You must specify the "sysver={val}" URL parameter for pages using this codebase, for selecting your Wii U system-version: * "532": 5.3.2 -* "550": 5.5.0 +* "540": 5.4.0 +* "550": 5.5.0 / 5.5.1 # Usage diff --git a/wiiu_browserhax_common.php b/wiiu_browserhax_common.php index 7064348..e6df58d 100644 --- a/wiiu_browserhax_common.php +++ b/wiiu_browserhax_common.php @@ -12,6 +12,10 @@ if(isset($_REQUEST['sysver'])) { $sysver = 532; } + else if($_REQUEST['sysver']==="540") + { + $sysver = 540; + } else if($_REQUEST['sysver']==="550") { $sysver = 550; @@ -20,7 +24,10 @@ if(isset($_REQUEST['sysver'])) if($sysver===-1)die("The system-version must be specified via an URL parameter."); -require_once("wiiuhaxx_rop_sysver_$sysver.php"); +$filesysver = $sysver; +if($filesysver == 540)$filesysver = 532; + +require_once("wiiuhaxx_rop_sysver_$filesysver.php"); if(!isset($ropchainselect))$ropchainselect = -1; if($ropchainselect == -1)