mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-04 03:35:19 +02:00
Play the game's SND0.AT3 when a game is selected in the menu and on the "game screen".
This commit is contained in:
+3
-2
@@ -86,6 +86,7 @@
|
||||
#include "UI/OnScreenDisplay.h"
|
||||
#include "UI/MiscScreens.h"
|
||||
#include "UI/TiltEventProcessor.h"
|
||||
#include "UI/BackgroundAudio.h"
|
||||
|
||||
#if !defined(MOBILE_DEVICE)
|
||||
#include "Common/KeyMap.h"
|
||||
@@ -207,8 +208,8 @@ int NativeMix(short *audio, int num_samples) {
|
||||
if (g_mixer && GetUIState() == UISTATE_INGAME) {
|
||||
num_samples = g_mixer->Mix(audio, num_samples);
|
||||
} else {
|
||||
// MixBackgroundAudio(audio, num_samples);
|
||||
memset(audio, 0, num_samples * 2 * sizeof(short));
|
||||
MixBackgroundAudio(audio, num_samples);
|
||||
// memset(audio, 0, num_samples * 2 * sizeof(short));
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
Reference in New Issue
Block a user