public void AcceptCommand(GPUCommands command, byte[] parameters) { switch (command) { case GPUCommands.SPR: SPR(parameters); break; case GPUCommands.NOP: break; default: throw new NotImplementedException(); } }
public void SendCommandToGPU(GPUCommands command, byte[] parameters) { _gpu.AcceptCommand(command, parameters); }