public void OP_CLEAR() { // Set flags and Start the clearing mode. if ((Params24 & 1) != 0) { GpuState->ClearFlags = (ClearBufferSet)Param8(8); GpuState->ClearingMode = true; } // Stop the clearing mode. else { GpuState->ClearingMode = false; } }