Ejemplo n.º 1
0
void CPU::queue_event(unsigned id) {
  switch(id) {
    case QueueEvent::DramRefresh: return add_clocks(40);
    case QueueEvent::HdmaRun: return hdma_run();
    case QueueEvent::ControllerLatch: return ppu.latch_counters();
  }
}
Ejemplo n.º 2
0
void CPU::queue_event(unsigned id) {
  switch(id) {
    case QueueEvent::DramRefresh: return add_clocks(40);
    case QueueEvent::HdmaRun: return hdma_run();
  }
}