mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2024-11-25 12:06:55 +01:00
Cleaner code for audio
This commit is contained in:
parent
3b5d15fb2e
commit
fcd768e42f
@ -19,7 +19,7 @@
|
|||||||
#include "uae.h"
|
#include "uae.h"
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
#include "VirtualKeyboard.h"
|
#include "VirtualKeyboard.h"
|
||||||
#include "sounddep/sound.h"
|
#include "audio.h"
|
||||||
#include "inputdevice.h"
|
#include "inputdevice.h"
|
||||||
#include "filesys.h"
|
#include "filesys.h"
|
||||||
|
|
||||||
@ -1713,7 +1713,7 @@ void gui_display(int shortcut)
|
|||||||
int submenus[3];
|
int submenus[3];
|
||||||
int opt;
|
int opt;
|
||||||
gui_is_active=1;
|
gui_is_active=1;
|
||||||
pause_sound();
|
audio_pause();
|
||||||
|
|
||||||
memset(submenus, 0, sizeof(submenus));
|
memset(submenus, 0, sizeof(submenus));
|
||||||
|
|
||||||
@ -1772,7 +1772,7 @@ void gui_display(int shortcut)
|
|||||||
|
|
||||||
if (shortcut==6) {virtual_keyboard(); notice_screen_contents_lost ();}//Enter Virtual Keyboard
|
if (shortcut==6) {virtual_keyboard(); notice_screen_contents_lost ();}//Enter Virtual Keyboard
|
||||||
|
|
||||||
resume_sound();
|
audio_resume();
|
||||||
gui_is_active=0;
|
gui_is_active=0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user