mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-06-06 18:53:40 -04:00
Merge f989c84acb into ae7d7dca1f
This commit is contained in:
commit
95d899b6b6
1 changed files with 3 additions and 0 deletions
|
|
@ -58,6 +58,9 @@ 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];
|
||||
auto& framebuffer_sub = regs.framebuffer_config[1];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue