src/memory.c

changeset 139
d91346487fe9
parent 136
f7d78dfb45d0
child 150
c19afa2c81db
     1.1 --- a/src/memory.c	Thu Apr 11 09:37:11 2013 +0100
     1.2 +++ b/src/memory.c	Thu Apr 11 09:37:25 2013 +0100
     1.3 @@ -226,7 +226,7 @@
     1.4  bool access_check_dma(int reading)
     1.5  {
     1.6  	// Check memory access permissions
     1.7 -	bool access_ok;
     1.8 +	bool access_ok = false;
     1.9  	switch (checkMemoryAccess(state.dma_address, !reading)) {
    1.10  		case MEM_PAGEFAULT:
    1.11  			// Page fault