comparison m68k_core.c @ 883:9f149f0e98b7

It is now possible to switch back and forth between the menu ROM and the game
author Michael Pavone <pavone@retrodev.com>
date Fri, 13 Nov 2015 19:15:37 -0800
parents 4556818b6847
children 252dfd29831d
comparison
equal deleted inserted replaced
882:75453bf2ffac 883:9f149f0e98b7
981 981
982 void start_68k_context(m68k_context * context, uint32_t address) 982 void start_68k_context(m68k_context * context, uint32_t address)
983 { 983 {
984 code_ptr addr = get_native_address_trans(context, address); 984 code_ptr addr = get_native_address_trans(context, address);
985 m68k_options * options = context->options; 985 m68k_options * options = context->options;
986 context->should_return = 0;
987 options->start_context(addr, context);
988 }
989
990 void resume_68k(m68k_context *context)
991 {
992 code_ptr addr = context->resume_pc;
993 context->resume_pc = NULL;
994 m68k_options * options = context->options;
995 context->should_return = 0;
986 options->start_context(addr, context); 996 options->start_context(addr, context);
987 } 997 }
988 998
989 void m68k_reset(m68k_context * context) 999 void m68k_reset(m68k_context * context)
990 { 1000 {