mirror of
https://github.com/joel16/3DSident.git
synced 2024-11-23 03:29:45 +00:00
Fix headphone status
This commit is contained in:
parent
4bded33d60
commit
1e0b1e41b2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user