changeset 780:fa2c03fcbb88

EEPROM reads now work for NFL Quarterback Club 96
author Michael Pavone <pavone@retrodev.com>
date Mon, 20 Jul 2015 23:11:42 -0700
parents ba38e36559b0
children 51c3e571eeb1
files romdb.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/romdb.c	Mon Jul 20 22:22:49 2015 -0700
+++ b/romdb.c	Mon Jul 20 23:11:42 2015 -0700
@@ -143,6 +143,7 @@
 			state->address++;
 			//TODO: page mask
 			state->address &= state->size-1;
+			state->latch = state->buffer[state->address];
 			break;
 		case I2C_WRITE_ACK:
 			state->state = I2C_WRITE;