src/state.h

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