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
341 B

/*
* Copyright (C) 2022 Riyyi
* Copyright (C) 2022 Th3FrankXD
*
* SPDX-License-Identifier: MIT
*/
#pragma once
#include <cstdint> // uint32_t
class ProcessingUnit {
public:
ProcessingUnit(uint32_t frequency);
virtual ~ProcessingUnit();
virtual void update() = 0;
uint32_t frequency();
private:
uint32_t m_frequency { 0 };
};