コード例 #1
0
ファイル: timing.cpp プロジェクト: devinacker/bsnes-plus
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();
  }
}
コード例 #2
0
ファイル: timing.cpp プロジェクト: NaaChill/Higan-Core
void CPU::queue_event(unsigned id) {
  switch(id) {
    case QueueEvent::DramRefresh: return add_clocks(40);
    case QueueEvent::HdmaRun: return hdma_run();
  }
}