r16/emu/cpu/ram.h

18 lines
257 B
C
Raw Normal View History

2024-04-19 09:05:10 +00:00
#ifndef EMU_CPU_RAM_H
#define EMU_CPU_RAM_H
#define RAM_DO_NULL_CHECK
#include <stdint.h>
typedef union
{
int16_t s;
uint16_t u;
} r16_int;
void InitRam();
void SetValue(r16_int address, r16_int value);
r16_int GetValue(r16_int address);
#endif