Fix headphone status

This commit is contained in:
Joel16 2018-08-02 21:34:57 -05:00
parent 4bded33d60
commit 1e0b1e41b2

View File

@ -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;