src/gba/gba-io.c (view raw)
1#include "gba-io.h"
2
3void GBAIOWrite(struct GBA* gba, uint32_t address, uint16_t value) {
4 switch (address) {
5 default:
6 GBALog(GBA_LOG_STUB, "Stub I/O register write: %03x", address);
7 break;
8 }
9}
10
11uint16_t GBAIORead(struct GBA* gba, uint32_t address) {
12 switch (address) {
13 default:
14 GBALog(GBA_LOG_STUB, "Stub I/O register read: %03x", address);
15 break;
16 }
17 return 0;
18}