Tweaking GPU callbacks.

This commit is contained in:
Ben Vanik
2014-11-08 10:13:08 -08:00
parent 7bb61b8099
commit 21b6c93db0
4 changed files with 10 additions and 5 deletions

View File

@@ -192,6 +192,9 @@ void GraphicsSystem::DispatchInterruptCallback(
cpu = 2;
}
XELOGGPU("Dispatching GPU interrupt at %.8X w/ mode %d on cpu %d",
interrupt_callback_, source, cpu);
// NOTE: we may be executing in some random thread.
if (!interrupt_callback_) {
return;