GarbAGE (Garbage Accurate GameBoy Emulator)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
366 B

/*
* Copyright (C) 2022 Riyyi
* Copyright (C) 2022 Th3FrankXD
*
* SPDX-License-Identifier: MIT
*/
#include "cpu.h"
#include "emu.h"
#include <iostream>
CPU::CPU(unsigned int frequency) : ProcessingUnit(frequency)
{
}
CPU::~CPU()
{
}
void CPU::update() {
printf("This is an update from the CPU\n");
Emu::the().writeMemory("RAM", 123, 42);
printf("fff");
}