diff --git a/lib/dolphin/gx/GXManage.cpp b/lib/dolphin/gx/GXManage.cpp index c176277..fe3fd19 100644 --- a/lib/dolphin/gx/GXManage.cpp +++ b/lib/dolphin/gx/GXManage.cpp @@ -10,9 +10,9 @@ GXFifoObj* GXInit(void* base, u32 size) { return NULL; } // TODO GXReadDrawSync // TODO GXSetDrawSyncCallback -void GXDrawDone() { DrawDoneCB(); } +void GXDrawDone() { if (DrawDoneCB != nullptr) DrawDoneCB(); } -void GXSetDrawDone() { DrawDoneCB(); } +void GXSetDrawDone() { if (DrawDoneCB != nullptr) DrawDoneCB(); } // TODO GXWaitDrawDone