comparison genesis.c @ 1849:6b5147f08846

Don't print out a message when saving a state to the serialization pseudo-slot
author Michael Pavone <pavone@retrodev.com>
date Tue, 23 Apr 2019 23:31:34 -0700
parents ef3d368d59b0
children dc94354eab66
comparison
equal deleted inserted replaced
1848:ef3d368d59b0 1849:6b5147f08846
463 free(state.data); 463 free(state.data);
464 } 464 }
465 } else { 465 } else {
466 save_gst(gen, save_path, address); 466 save_gst(gen, save_path, address);
467 } 467 }
468 printf("Saved state to %s\n", save_path); 468 if (slot != SERIALIZE_SLOT) {
469 debug_message("Saved state to %s\n", save_path);
470 }
469 free(save_path); 471 free(save_path);
470 } else if(gen->header.save_state) { 472 } else if(gen->header.save_state) {
471 context->sync_cycle = context->current_cycle + 1; 473 context->sync_cycle = context->current_cycle + 1;
472 } 474 }
473 } 475 }