Merge pull request #108 from igor725/features

Revert audio change
This commit is contained in:
SysRay 2024-04-17 21:05:18 +02:00 committed by GitHub
commit fbf46eb9aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,5 @@
#include "common.h"
#include "config_emu.h"
#include "core/videoout/videoout.h"
#include "logging.h"
#include "types.h"
@ -75,7 +74,7 @@ EXPORT const char* MODULE_NAME = "libSceAudioOut";
EXPORT SYSV_ABI int32_t sceAudioOutInit(void) {
if (audioInited) return Err::ALREADY_INIT;
if (accessVideoOut().SDLInit(SDL_INIT_AUDIO) == 0) {
if (SDL_InitSubSystem(SDL_INIT_AUDIO) == 0) {
audioInited = true;
(void)getData();
return Ok;