comparison gst.c @ 1112:7ab7c8fb34ba

Fix intermittent crash in GST savestate loading
author Michael Pavone <pavone@retrodev.com>
date Mon, 19 Dec 2016 13:46:58 -0800
parents 2eb54e24914e
children e9369d6f0101
comparison
equal deleted inserted replaced
1111:2eb54e24914e 1112:7ab7c8fb34ba
212 context->mem_pointers[0][i] = buffer[i]; 212 context->mem_pointers[0][i] = buffer[i];
213 z80_handle_code_write(i, context); 213 z80_handle_code_write(i, context);
214 } 214 }
215 } 215 }
216 context->native_pc = NULL; 216 context->native_pc = NULL;
217 context->extra_pc = NULL;
217 return 1; 218 return 1;
218 } 219 }
219 220
220 uint8_t vdp_load_gst(vdp_context * context, FILE * state_file) 221 uint8_t vdp_load_gst(vdp_context * context, FILE * state_file)
221 { 222 {