Mercurial > repos > blastem
comparison segacd.c @ 2302:0343f0d5add0
Fix libretro build for real
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 12 Mar 2023 20:03:35 -0700 |
parents | a6a68c33cce7 |
children | 06d5e9b08bdb |
comparison
equal
deleted
inserted
replaced
2301:d30ea441b92e | 2302:0343f0d5add0 |
---|---|
1134 scd_peripherals_run(cd, context->current_cycle); | 1134 scd_peripherals_run(cd, context->current_cycle); |
1135 if (address) { | 1135 if (address) { |
1136 if (cd->enter_debugger) { | 1136 if (cd->enter_debugger) { |
1137 genesis_context *gen = cd->genesis; | 1137 genesis_context *gen = cd->genesis; |
1138 cd->enter_debugger = 0; | 1138 cd->enter_debugger = 0; |
1139 #ifndef IS_LIB | |
1139 if (gen->header.debugger_type == DEBUGGER_NATIVE) { | 1140 if (gen->header.debugger_type == DEBUGGER_NATIVE) { |
1140 debugger(context, address); | 1141 debugger(context, address); |
1141 } else { | 1142 } else { |
1142 gdb_debug_enter(context, address); | 1143 gdb_debug_enter(context, address); |
1143 } | 1144 } |
1145 #endif | |
1144 } | 1146 } |
1145 cd->m68k_pc = address; | 1147 cd->m68k_pc = address; |
1146 } | 1148 } |
1147 switch (context->int_ack) | 1149 switch (context->int_ack) |
1148 { | 1150 { |