\r
void SekStepM68k(void);\r
\r
+static void mplayer_loop(void)\r
+{\r
+ emu_startSound();\r
+\r
+ while (1)\r
+ {\r
+ PDebugZ80Frame();\r
+ if (read_buttons_async(BTN_NORTH)) break;\r
+ emu_waitSound();\r
+ }\r
+\r
+ emu_endSound();\r
+}\r
+\r
static void draw_text_debug(const char *str, int skip, int from)\r
{\r
const char *p;\r
}\r
menu_draw_end();\r
\r
- inp = read_buttons(BTN_EAST|BTN_SOUTH|BTN_WEST|BTN_L|BTN_R|BTN_UP|BTN_DOWN|BTN_LEFT|BTN_RIGHT);\r
+ inp = read_buttons(BTN_EAST|BTN_SOUTH|BTN_WEST|BTN_NORTH|BTN_L|BTN_R|BTN_UP|BTN_DOWN|BTN_LEFT|BTN_RIGHT);\r
if (inp & BTN_SOUTH) return;\r
if (inp & BTN_L) { mode--; if (mode < 0) mode = 3; }\r
if (inp & BTN_R) { mode++; if (mode > 3) mode = 0; }\r
{\r
case 0:\r
if (inp & BTN_EAST) SekStepM68k();\r
+ if (inp & BTN_NORTH) {\r
+ while (inp & BTN_NORTH) inp = read_buttons_async(BTN_NORTH);\r
+ mplayer_loop();\r
+ }\r
if ((inp & (BTN_WEST|BTN_LEFT)) == (BTN_WEST|BTN_LEFT)) {\r
mkdir("dumps", 0777);\r
PDebugDumpMem();\r