summaryrefslogtreecommitdiff
path: root/romdb.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-07-20 23:11:42 -0700
committerMichael Pavone <pavone@retrodev.com>2015-07-20 23:11:42 -0700
commit6f6468a4e6cb2e4c487d9ef3f59f87390e0f3015 (patch)
tree1c6c31d3acaaf27dda90514f8a2d1cea3ffedb50 /romdb.c
parentdcff6b6b16c292943e905ed7986664ff0f4a05be (diff)
EEPROM reads now work for NFL Quarterback Club 96
Diffstat (limited to 'romdb.c')
-rw-r--r--romdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/romdb.c b/romdb.c
index ff4e65a..6dd70a7 100644
--- a/romdb.c
+++ b/romdb.c
@@ -143,6 +143,7 @@ void set_scl(eeprom_state *state, uint8_t val)
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;