mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-19 20:19:13 +12:00
[GSP::GPU] Add PSC0, PSC1 interrupts, set error flag in GSP shared mem to 0 on IRQ (Fixes Citro3D hang)
This commit is contained in:
parent
1dc091c444
commit
224ad643e8
2 changed files with 10 additions and 1 deletions
|
@ -111,11 +111,17 @@ int main()
|
|||
while (true)
|
||||
{
|
||||
// Render the scene
|
||||
emuPrint("Entering C3D_FrameBegin");
|
||||
C3D_FrameBegin(C3D_FRAME_SYNCDRAW);
|
||||
emuPrint("Clearing render target");
|
||||
C3D_RenderTargetClear(target, C3D_CLEAR_ALL, CLEAR_COLOR, 0);
|
||||
emuPrint("Calling C3D_FrameDrawOn");
|
||||
C3D_FrameDrawOn(target);
|
||||
emuPrint("Calling sceneRender");
|
||||
sceneRender();
|
||||
emuPrint("Entering C3D_FrameEnd");
|
||||
C3D_FrameEnd(0);
|
||||
emuPrint("Exited C3D_FrameEnd");
|
||||
}
|
||||
|
||||
// Deinitialize the scene
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue