annotate src/gba/Sram.h @ 396:c7a43f4ffd9d

fixed bug where A was always 0 when the self-modigying code was executed.
author Robert McIntyre <rlm@mit.edu>
date Fri, 13 Apr 2012 04:50:58 -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