GSP_GPU: Fix pokemon, mario & luigi games

This commit is contained in:
Gamer64ytb 2024-03-30 19:06:31 +01:00 committed by GitHub
parent a2a01d0860
commit baaf89ea3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -362,9 +362,7 @@ void GSP_GPU::SignalInterruptForThread(InterruptId interrupt_id, u32 thread_id)
auto* info = GetFrameBufferInfo(thread_id, screen_id);
if (info->is_dirty) {
system.GPU().SetBufferSwap(screen_id, info->framebuffer_info[info->index]);
// Decompiling the GSP module shows that the dirty bit is assigned 1 for top screen, 0
// for bottom
info->is_dirty.Assign(screen_id == 0);
info->is_dirty.Assign(false);
}
}