comparison blastem.c @ 957:1618d3676a35

Save state menu WIP
author Michael Pavone <pavone@retrodev.com>
date Fri, 15 Apr 2016 23:57:50 -0700
parents f5550cdffe49
children 750995b587a0
comparison
equal deleted inserted replaced
956:f5550cdffe49 957:1618d3676a35
1218 mark_all_free(); 1218 mark_all_free();
1219 free_genesis(game_context); 1219 free_genesis(game_context);
1220 } 1220 }
1221 //allocate new genesis context 1221 //allocate new genesis context
1222 game_context = alloc_init_genesis(&info, fps, ym_log ? YM_OPT_WAVE_LOG : 0); 1222 game_context = alloc_init_genesis(&info, fps, ym_log ? YM_OPT_WAVE_LOG : 0);
1223 menu_context->next_context = game_context;
1224 game_context->next_context = menu_context;
1223 setup_saves(menu_context->next_rom, &info, game_context); 1225 setup_saves(menu_context->next_rom, &info, game_context);
1224 free(menu_context->next_rom); 1226 free(menu_context->next_rom);
1225 menu_context->next_rom = NULL; 1227 menu_context->next_rom = NULL;
1226 menu = 0; 1228 menu = 0;
1227 genesis = game_context; 1229 genesis = game_context;