12 lines
355 B
C++
12 lines
355 B
C++
#include "PICA/gpu.hpp"
|
|
#include <cstdio>
|
|
|
|
void GPU::reset() {
|
|
regs.fill(0);
|
|
shaderUnit.reset();
|
|
// TODO: Reset blending, texturing, etc here
|
|
}
|
|
|
|
void GPU::clearBuffer(u32 startAddress, u32 endAddress, u32 value, u32 control) {
|
|
printf("GPU: Clear buffer\nStart: %08X End: %08X\nValue: %08X Control: %08X\n", startAddress, endAddress, value, control);
|
|
} |