private static void CheckImplementedInterruptType(PspInterrupts PspInterrupt) { switch (PspInterrupt) { case PspInterrupts.PSP_VBLANK_INT: break; default: throw(new NotImplementedException(String.Format("Can't handle '{0}'", PspInterrupt))); } }