view src/gba/Sram.h @ 100:2090bcb78f44

created functions to get and set register values
author Robert McIntyre <rlm@mit.edu>
date Mon, 12 Mar 2012 12:37:04 -0500
parents f9f4f1b99eed
children
line wrap: on
line source
1 #ifndef VBA_SRAM_H
2 #define VBA_SRAM_H
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
8 extern u8 sramRead(u32 address);
9 extern void sramWrite(u32 address, u8 byte);
11 #endif // VBA_SRAM_H