X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=src%2Fdemo.c;h=b2a03e00e43a5e276b0ad879f5ddb4b7db05158d;hp=6abcf672b751f58424ad5c6b47415f005bc70214;hb=8cee0ffb00cce3d81487f1161286ac299db7d044;hpb=9ed338a5e703fc819cede5cb797e82e08046ac17 diff --git a/src/demo.c b/src/demo.c index 6abcf67..b2a03e0 100644 --- a/src/demo.c +++ b/src/demo.c @@ -11,6 +11,7 @@ #include "music.h" #include "cfgopt.h" #include "tinyfps.h" +#include "util.h" int fb_width = 320; int fb_height = 240; @@ -121,6 +122,10 @@ void demo_keyboard(int key, int press) demo_quit(); break; + case 127: + debug_break(); + break; + case '\n': case '\r': dptr = inp;