From 1e0b1e41b279770f52d1981042424a179f692b0c Mon Sep 17 00:00:00 2001 From: Joel16 Date: Thu, 2 Aug 2018 21:34:57 -0500 Subject: [PATCH] Fix headphone status --- common/hardware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/hardware.c b/common/hardware.c index adaef70..5917dbd 100644 --- a/common/hardware.c +++ b/common/hardware.c @@ -11,7 +11,7 @@ char *Hardware_GetAudioJackStatus(void) bool audio_jack = false; static char status[0xD]; - if (R_SUCCEEDED(FSUSER_CardSlotIsInserted(&audio_jack))) + if (R_SUCCEEDED(DSP_GetHeadphoneStatus(&audio_jack))) { snprintf(status, 0xD, audio_jack? "inserted" : "not inserted"); return status;