Emulator: Reorder struct

This commit is contained in:
wheremyfoodat 2025-08-03 17:17:58 +03:00
commit 3c8dd1a39e

View file

@ -40,9 +40,11 @@ enum class ROMType {
class Emulator {
EmulatorConfig config;
Memory memory;
// We want memory to be constructed before the rest of the emulator, so it's at the top of the struct
CPU cpu;
GPU gpu;
Memory memory;
Kernel kernel;
std::unique_ptr<Audio::DSPCore> dsp;
Scheduler scheduler;