示例#1
0
文件: GPU.cs 项目: robotjatek/Chip16
        public void AcceptCommand(GPUCommands command, byte[] parameters)
        {
            switch (command)
            {
            case GPUCommands.SPR:
                SPR(parameters);
                break;

            case GPUCommands.NOP:
                break;

            default:
                throw new NotImplementedException();
            }
        }
示例#2
0
 public void SendCommandToGPU(GPUCommands command, byte[] parameters)
 {
     _gpu.AcceptCommand(command, parameters);
 }