From 0cd3d29770bb36c899d6591c3d82bcfc7740f6d0 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Thu, 28 Mar 2024 09:55:38 -0700 Subject: [PATCH] loader: add usb3 patches for 18.0.0 --- stratosphere/loader/source/ldr_embedded_usb_patches.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stratosphere/loader/source/ldr_embedded_usb_patches.inc b/stratosphere/loader/source/ldr_embedded_usb_patches.inc index f655c6a94..4ae97c2ec 100644 --- a/stratosphere/loader/source/ldr_embedded_usb_patches.inc +++ b/stratosphere/loader/source/ldr_embedded_usb_patches.inc @@ -59,6 +59,11 @@ constexpr inline const EmbeddedPatchEntry Usb30ForceEnablePatches_17_0_0[] = { { 0x71EC, "\x20\x00\x80\x52\xC0\x03\x5F\xD6", 8 }, }; +constexpr inline const EmbeddedPatchEntry Usb30ForceEnablePatches_18_0_0[] = { + { 0x6DCC, "\x20\x00\x80\x52\xC0\x03\x5F\xD6", 8 }, + { 0x6E48, "\x20\x00\x80\x52\xC0\x03\x5F\xD6", 8 }, +}; + constexpr inline const EmbeddedPatch Usb30ForceEnablePatches[] = { { ParseModuleId("C0D3F4E87E8B0FE9BBE9F1968A20767F3DC08E03"), util::size(Usb30ForceEnablePatches_9_0_0), Usb30ForceEnablePatches_9_0_0 }, { ParseModuleId("B9C700CA8335F8BAA0D2041D8D09F772890BA988"), util::size(Usb30ForceEnablePatches_10_0_0), Usb30ForceEnablePatches_10_0_0 }, @@ -70,4 +75,5 @@ constexpr inline const EmbeddedPatch Usb30ForceEnablePatches[] = { { ParseModuleId("30B15A83E94D91750E7470795414AD1AE9C6A8DB"), util::size(Usb30ForceEnablePatches_15_0_0), Usb30ForceEnablePatches_15_0_0 }, /* 15.0.0 */ { ParseModuleId("225865A442B4B66E8BD14B3E9450B901BDF29A40"), util::size(Usb30ForceEnablePatches_16_0_0), Usb30ForceEnablePatches_16_0_0 }, /* 16.0.0 */ { ParseModuleId("70D4C2ABCD049F16B301186924367F813DA70248"), util::size(Usb30ForceEnablePatches_17_0_0), Usb30ForceEnablePatches_17_0_0 }, /* 17.0.0 */ + { ParseModuleId("4F21AE15E814FA46515C0401BB23D4F7ADCBF3F4"), util::size(Usb30ForceEnablePatches_18_0_0), Usb30ForceEnablePatches_18_0_0 }, /* 18.0.0 */ };