annotate src/gba/Sram.h @ 96:cb487c4ce5c0

added write-memory!, which allows me to write any value to the gameboy's memory-mapped rom or ram.
author Robert McIntyre <rlm@mit.edu>
date Sun, 11 Mar 2012 23:27:19 -0500
parents f9f4f1b99eed
children
rev   line source
rlm@1 1 #ifndef VBA_SRAM_H
rlm@1 2 #define VBA_SRAM_H
rlm@1 3
rlm@1 4 #if _MSC_VER > 1000
rlm@1 5 #pragma once
rlm@1 6 #endif // _MSC_VER > 1000
rlm@1 7
rlm@1 8 extern u8 sramRead(u32 address);
rlm@1 9 extern void sramWrite(u32 address, u8 byte);
rlm@1 10
rlm@1 11 #endif // VBA_SRAM_H