[nostalgia/core] Change how gba_timer_t is configured

This commit is contained in:
2022-02-10 21:28:54 -06:00
parent 0841b56399
commit f9d3521fe7
5 changed files with 20 additions and 7 deletions
+1
View File
@@ -8,6 +8,7 @@
#include "addresses.hpp"
#include "bios.hpp"
#include "irq.hpp"
#include "core.hpp"
extern "C" void isr();
+1
View File
@@ -9,6 +9,7 @@
#include "addresses.hpp"
#include "bios.hpp"
#include "irq.hpp"
#include "core.hpp"
extern "C" void isr();
+15
View File
@@ -0,0 +1,15 @@
/*
* Copyright 2016 - 2022 Gary Talent (gary@drinkingtea.net). All rights reserved.
*/
#pragma once
#include <ox/std/types.hpp>
#include <nostalgia/core/config.hpp>
namespace nostalgia::core {
using gba_timer_t = ox::Uint<config::GbaTimerBits>;
}
+1
View File
@@ -8,6 +8,7 @@
#include <ox/std/bit.hpp>
#include "addresses.hpp"
#include "core.hpp"
#include "gfx.hpp"
#include "irq.hpp"