diff --git a/wiiu_browserhax_common.php b/wiiu_browserhax_common.php index 38aeacd..f73d8d7 100644 --- a/wiiu_browserhax_common.php +++ b/wiiu_browserhax_common.php @@ -117,6 +117,10 @@ function generate_ropchain() { generateropchain_type2(); } + else if ($ropchainselect==3) + { + generateropchain_type3(); + } if($generatebinrop==0)$ROPCHAIN.= "\""; } @@ -488,4 +492,10 @@ function generateropchain_type2(){ ropchain_appendu32($codegen_addr); } +// Print payload_srcaddr. +function generateropchain_type3(){ + global $payload_srcaddr; + ropgen_OSFatal($payload_srcaddr); +} + ?>