| 298 | } |
| 299 | |
| 300 | GXDrawDoneCallback GXSetDrawDoneCallback(GXDrawDoneCallback cb) |
| 301 | { |
| 302 | GXDrawDoneCallback oldcb; |
| 303 | BOOL enabled; |
| 304 | |
| 305 | oldcb = DrawDoneCB; |
| 306 | enabled = OSDisableInterrupts(); |
| 307 | DrawDoneCB = cb; |
| 308 | OSRestoreInterrupts(enabled); |
| 309 | return oldcb; |
| 310 | } |
| 311 | |
| 312 | static void GXFinishInterruptHandler(__OSInterrupt interrupt, OSContext* context) |
| 313 | { |
no test coverage detected