comparison src/gb/GB.cpp @ 60:ef59aee6d715

added function to retrieve main RAM
author Robert McIntyre <rlm@mit.edu>
date Wed, 07 Mar 2012 19:29:51 -0600
parents 3ce48d803e74
children dc8b383ecefa
comparison
equal deleted inserted replaced
59:3ce48d803e74 60:ef59aee6d715
3869 3869
3870 int getRomSize(){ 3870 int getRomSize(){
3871 return gbRomSize; 3871 return gbRomSize;
3872 } 3872 }
3873 3873
3874 void storeRam(int32* store){
3875 int i;
3876 for (i = 0; i < gbRamSize; i++){
3877 store[i] = (int32) gbRam[i];
3878 }
3879 }
3880
3881
3882
3874 3883
3875 struct EmulatedSystem GBSystem = 3884 struct EmulatedSystem GBSystem =
3876 { 3885 {
3877 // emuMain 3886 // emuMain
3878 gbEmulate, 3887 gbEmulate,