Skip to content

Commit

Permalink
Added ndspChnGetFormat (#538)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anh302kay authored Jan 29, 2024
1 parent d0936b8 commit 0da8705
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libctru/source/ndsp/ndsp-channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ void ndspChnSetFormat(int id, u16 format)
ndspChn[id].format = format;
}

u16 ndspChnGetFormat(int id)
{
return ndspChn[id].format;
}

bool ndspChnIsPaused(int id)
{
return ndspChn[id].paused;
Expand Down

0 comments on commit 0da8705

Please sign in to comment.