Kern Fowler / Mbed 2 deprecated Donkey_Kong_Game

Dependencies:   mbed

Revision:
32:dca62ba807de
Parent:
31:06713cdbba37
--- a/main.cpp	Thu May 09 01:40:45 2019 +0000
+++ b/main.cpp	Thu May 09 01:52:56 2019 +0000
@@ -146,7 +146,7 @@
     if (pad.check_event(Gamepad::A_PRESSED) == true) {
         if (menu_option_pos == 0) { // Start Game option.
             // printf("GameEngine");
-            eng.gameengine_run(pad, lcd, barrel, banana, dky); // Runs the main game loop in the GameEngine class.
+            eng.gameengine_run(pad, lcd, barrel, banana, dky, opt); // Runs the main game loop in the GameEngine class.
             eng.gameengine_score(pad, lcd, banana, high); // When gameover is reached, runs the end game screen.
         }
         if (menu_option_pos == 1) { // Controls option.