fixed "enter menu"-bug

This commit is contained in:
Hans-Gert Dahmen 2009-12-26 23:26:06 +00:00
parent 27260b2abe
commit f70ab4226c
1 changed files with 20 additions and 19 deletions

View File

@ -98,50 +98,51 @@ void display_loop(){
#ifdef ANIMATION_MHERWEG #ifdef ANIMATION_MHERWEG
case 10: case 10:
flydots(); flydots();
lines1(); lines1();
dots1(); dots1();
movinglines(); movinglines();
checkbox(); checkbox();
rectangle1(); rectangle1();
rectangles(); rectangles();
break; break;
#endif #endif
case 29:
// mode = 1;
break;
#ifdef ANIMATION_TESTS #ifdef ANIMATION_TESTS
case 31: case 31:
//test_level1(); test_level1();
break; break;
case 32: case 32:
//test_level2(); test_level2();
break; break;
case 33: case 33:
//test_level3(); test_level3();
break; break;
case 35: case 35:
test_palette(); test_palette();
test_palette2(); test_palette2();
break; break;
#endif #endif
case 42:
mode = 1;
break;
#ifdef MENU_SUPPORT
case 43:
menu();
mode = oldOldmode;
#endif
#ifdef ANIMATION_OFF #ifdef ANIMATION_OFF
case 0xFF: case 0xFF:
off(); off();
break; break;
#endif #endif
#ifdef MENU_SUPPORT
case 43:
menu();
mode = oldOldmode;
#endif
} }
} }
} }