dreamcast/type.hpp
Zack Buhman 3338b611c1 aica: initial working example
This plays 10 seconds of PCM audio via the AICA ARM CPU.
2024-02-29 16:51:25 +08:00

19 lines
360 B
C++

#pragma once
#include <stddef.h>
#include <stdint.h>
#ifndef __cplusplus
#ifndef static_assert
#define static_assert _Static_assert
#endif
#endif
typedef volatile uint8_t reg8;
typedef volatile uint16_t reg16;
typedef volatile uint32_t reg32;
static_assert((sizeof (reg8)) == 1);
static_assert((sizeof (reg16)) == 2);
static_assert((sizeof (reg32)) == 4);