mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 08:33:12 -05:00
PPSA01289 (Sackboy: A Big Adventure) calls sceAudioOut2MasteringTerm when it replaces its world, which threw. Like Init and SetParam it has no effect, as there is no mastering stage. The title creates its next world's audio device before it destroys the previous one, so Init runs twice before Term runs twice; whether the console reports an error for either is unknown, so both return 0 and the case is recorded in TechnicalDebt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
32 lines
779 B
C++
32 lines
779 B
C++
#include <cstdint>
|
|
#include "SceTypes.hpp"
|
|
#include "prx/libc/include/General.hpp"
|
|
|
|
extern "C" {
|
|
|
|
int APS5_VABI sceAudioOut2MasteringInit(uint32_t flags) {
|
|
if (flags != 0) NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceAudioOut2MasteringTerm(void) {
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceAudioOut2MasteringGetState(AudioOut2MasteringStatesHeader* state, uint32_t output, AudioOut2UserHandle user) {
|
|
(void)state;
|
|
(void)output;
|
|
(void)user;
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceAudioOut2MasteringSetParam(const AudioOut2MasteringParamsHeader* param, uint32_t output, uint32_t flags) {
|
|
(void)output;
|
|
(void)flags;
|
|
if (param == nullptr) NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
}
|