src/state.h

changeset 24
724d2f6deb37
parent 18
320dc6206f52
child 26
fef12817c5e8
     1.1 diff -r 3d964a6aa59b -r 724d2f6deb37 src/state.h
     1.2 --- a/src/state.h	Wed Dec 01 22:01:58 2010 +0000
     1.3 +++ b/src/state.h	Wed Dec 01 22:11:06 2010 +0000
     1.4 @@ -21,10 +21,13 @@
     1.5  	uint8_t		*ram;				///< RAM data buffer
     1.6  	size_t		ram_size;			///< Size of RAM buffer in bytes
     1.7  
     1.8 +	// Video RAM
     1.9 +	uint8_t		vram[0x8000];		///< Video RAM
    1.10 +
    1.11  	// GENERAL CONTROL REGISTER
    1.12  	/// GENCON.ROMLMAP -- false ORs the address with 0x800000, forcing the
    1.13  	/// 68010 to access ROM instead of RAM when booting. TRM page 2-36.
    1.14 -	bool		romlmap;			
    1.15 +	bool		romlmap;
    1.16  } S_state;
    1.17  
    1.18  // Global emulator state. Yes, I know global variables are evil, please don't