mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-10 20:25:06 +01:00
Merge pull request #25 from Gamer64ytb/patch-1
GSP_GPU: Fix pokemon, mario & luigi games.
This commit is contained in:
commit
e64521491f
@ -362,9 +362,7 @@ void GSP_GPU::SignalInterruptForThread(InterruptId interrupt_id, u32 thread_id)
|
|||||||
auto* info = GetFrameBufferInfo(thread_id, screen_id);
|
auto* info = GetFrameBufferInfo(thread_id, screen_id);
|
||||||
if (info->is_dirty) {
|
if (info->is_dirty) {
|
||||||
system.GPU().SetBufferSwap(screen_id, info->framebuffer_info[info->index]);
|
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
|
info->is_dirty.Assign(false);
|
||||||
// for bottom
|
|
||||||
info->is_dirty.Assign(screen_id == 0);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user