Mercurial > repos > blastem
diff blastem.h @ 198:209a37eed3e7
Add support for breaking into the debugger while game is running
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 20 Jan 2013 19:10:29 -0800 |
parents | 108e587165c0 |
children | a8ee7934a1f8 |
line wrap: on
line diff
--- a/blastem.h Thu Jan 17 20:00:07 2013 -0800 +++ b/blastem.h Sun Jan 20 19:10:29 2013 -0800 @@ -2,6 +2,7 @@ #define BLASTEM_H_ #include <stdint.h> +#include "m68k_to_x86.h" typedef struct { uint32_t th_counter; @@ -20,6 +21,7 @@ void io_adjust_cycles(io_port * pad, uint32_t current_cycle, uint32_t deduction); uint16_t read_dma_value(uint32_t address); +m68k_context * debugger(m68k_context * context, uint32_t address); #endif //BLASTEM_H_