diff --git a/stratosphere/boot/source/boot_display.cpp b/stratosphere/boot/source/boot_display.cpp index 431031c65..51fc0aa9a 100644 --- a/stratosphere/boot/source/boot_display.cpp +++ b/stratosphere/boot/source/boot_display.cpp @@ -135,11 +135,10 @@ static inline void DoDsiSleepOrRegisterWrites(const DsiSleepOrRegisterWrite *reg if (reg_writes[i].kind == DsiSleepOrRegisterWriteKind_Write) { *(reinterpret_cast(g_dsi_regs + sizeof(u32) * reg_writes[i].offset)) = reg_writes[i].value; } else if (reg_writes[i].kind == DsiSleepOrRegisterWriteKind_Sleep) { - svcSleepThread(1'000'000ul * reg_writes[i].offset); + svcSleepThread(1'000'000ul * u64(reg_writes[i].offset)); } else { std::abort(); } - } } diff --git a/stratosphere/boot/source/boot_display_config.hpp b/stratosphere/boot/source/boot_display_config.hpp index 323a94507..1a06d12a5 100644 --- a/stratosphere/boot/source/boot_display_config.hpp +++ b/stratosphere/boot/source/boot_display_config.hpp @@ -403,7 +403,7 @@ static constexpr RegisterWrite DisplayConfigMipiCal03Erista[] = { {0x64, 0x200002}, {0x68, 0x200002}, {0x14, 0}, - {0x14, 0}, + {0x18, 0}, }; static constexpr RegisterWrite DisplayConfigMipiCal03Mariko[] = { @@ -411,8 +411,8 @@ static constexpr RegisterWrite DisplayConfigMipiCal03Mariko[] = { {0x3C, 0x200006}, {0x64, 0x260000}, {0x68, 0x260000}, - {0x14, 0x200000}, - {0x14, 0x200000}, + {0x14, 0}, + {0x18, 0}, }; static constexpr RegisterWrite DisplayConfigMipiCal04[] = {