[GPU] Start implementing commands

This commit is contained in:
wheremyfoodat 2022-09-21 03:15:43 +03:00
commit 8692e7fc6b
11 changed files with 132 additions and 21 deletions

View file

@ -1,8 +1,10 @@
#include "emulator.hpp"
void Emulator::reset() {
memory.reset();
cpu.reset();
gpu.reset();
memory.reset();
// Kernel must be reset last because it depends on CPU/Memory state
kernel.reset();
// Reloading r13 and r15 needs to happen after everything has been reset