add comment explaining requirement

This commit is contained in:
Masamune3210 2026-05-22 20:27:03 -05:00 committed by GitHub
parent 8637a54111
commit 0640960c52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,6 +58,8 @@ void PicaCore::InitializeRegs() {
// Values initialized by GSP
regs.internal.irq_autostop = 1;
regs.internal.irq_mask = 0xFFFFFFF0;
// Older versions of libctru didn't initialize this, initialize it here to avoid endless black screen
// not needed on actual hardware due to previous software already having set it up
regs.internal.irq_compare = 0x12345678;
auto& framebuffer_top = regs.framebuffer_config[0];