mirror of
https://github.com/switchbrew/switch-examples.git
synced 2025-07-01 09:12:14 +02:00
Update main.c
This commit is contained in:
parent
06eff93189
commit
277dc31209
@ -45,9 +45,8 @@ int main(int argc, char* argv[])
|
|||||||
if (kDown & KEY_PLUS)
|
if (kDown & KEY_PLUS)
|
||||||
break; // break in order to return to hbmenu
|
break; // break in order to return to hbmenu
|
||||||
|
|
||||||
if (kDown & KEY_A){
|
if (kDown & KEY_A)
|
||||||
Mix_PlayMusic(audio, 1); //Play the audio file
|
Mix_PlayMusic(audio, 1); //Play the audio file
|
||||||
}
|
|
||||||
|
|
||||||
// Update the console, sending a new frame to the display
|
// Update the console, sending a new frame to the display
|
||||||
consoleUpdate(NULL);
|
consoleUpdate(NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user