Fix DSP::ForceHeadphoneOut

This commit is contained in:
wheremyfoodat 2024-12-09 19:12:09 +02:00
parent cc669d7cab
commit bdb467d09f

View file

@ -283,10 +283,7 @@ void DSPService::invalidateDCache(u32 messagePointer) {
}
void DSPService::forceHeadphoneOut(u32 messagePointer) {
const bool force = mem.read8(messagePointer + 4) != 0;
if (force) {
headphonesInserted = false;
}
headphonesInserted = mem.read8(messagePointer + 4) != 0;
log("DSP::ForceHeadphoneOut\n");
mem.write32(messagePointer, IPC::responseHeader(0x20, 1, 0));