mirror of
https://github.com/FireEmblemUniverse/fireemblem8u.git
synced 2024-11-23 05:10:00 +00:00
13 lines
288 B
C
13 lines
288 B
C
#ifndef GUARD_GBAIO_H
|
|
#define GUARD_GBAIO_H
|
|
|
|
#include "gba/types.h"
|
|
#include "gba/io_reg.h"
|
|
|
|
#define REG(type, addr) (*((type volatile *) (addr)))
|
|
|
|
#define REG_BLDCA REG(u8, REG_ADDR_BLDALPHA + 0)
|
|
#define REG_BLDCB REG(u8, REG_ADDR_BLDALPHA + 1)
|
|
|
|
#endif /* GUARD_GBAIO_H */
|