mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 15:18:45 +00:00
Merge branch 'shadps4-emu:main' into main
This commit is contained in:
commit
bfd9611f80
1 changed files with 3 additions and 0 deletions
|
@ -235,6 +235,9 @@ int PS4_SYSV_ABI sceAudioOutGetSystemState() {
|
||||||
}
|
}
|
||||||
|
|
||||||
int PS4_SYSV_ABI sceAudioOutInit() {
|
int PS4_SYSV_ABI sceAudioOutInit() {
|
||||||
|
if (audio != nullptr) {
|
||||||
|
return ORBIS_AUDIO_OUT_ERROR_ALREADY_INIT;
|
||||||
|
}
|
||||||
audio = std::make_unique<Audio::SDLAudio>();
|
audio = std::make_unique<Audio::SDLAudio>();
|
||||||
LOG_INFO(Lib_AudioOut, "called");
|
LOG_INFO(Lib_AudioOut, "called");
|
||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue