Skip to content

Commit

Permalink
Add swi function
Browse files Browse the repository at this point in the history
  • Loading branch information
cad0gan committed Mar 26, 2024
1 parent 8cc3c16 commit d57e792
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions swilib/include/swilib/player.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ __swi_begin(0x082)
const WSHDR *GetLastAudioTrackFilename()
__swi_end(0x082, GetLastAudioTrackFilename, ());

/**
* Get the directory of the last audio track in media player.
* @return pointer to the WSHDR
* */

__swi_begin(0x3B2)
const WSHDR *GetLastAudioTrackDir()
__swi_end(0x3B2, GetLastAudioTrackDir, ());

__swilib_end

/** @} */

0 comments on commit d57e792

Please sign in to comment.