[Kernel/Memory] Implement datetime a bit more nicely

This commit is contained in:
wheremyfoodat 2022-09-24 04:40:43 +03:00
parent 4da023c236
commit c4cb20f846
4 changed files with 17 additions and 5 deletions

View file

@ -30,7 +30,7 @@ class Emulator {
public:
Emulator() : window(sf::VideoMode(width, height), "Alber", sf::Style::Default, sf::ContextSettings(0, 0, 0, 4, 3)),
kernel(cpu, memory, gpu), cpu(memory, kernel), gpu(memory) {
kernel(cpu, memory, gpu), cpu(memory, kernel), gpu(memory), memory(cpu.getTicksRef()) {
reset();
window.setActive(true);
}