Skip to content

Commit

Permalink
Merge pull request #16 from cad0gan/master
Browse files Browse the repository at this point in the history
Add swi function
  • Loading branch information
Azq2 authored Jun 8, 2024
2 parents 9b09492 + 2a19c79 commit 61ec75b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions swilib/include/swilib/idle.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ __swi_begin(0x09C)
void CloseScreensaver()
__swi_end(0x09C, CloseScreensaver, ());

/**
* Open screensaver code protection
* @return CSM_ID
* */
__swi_begin(0x3D0)
int ShowScreenSaverCodeProtection()
__swi_end(0x3D0, ShowScreenSaverCodeProtection, ())

/**
* Get screensaver CSM.
* @return pointer to the screensaver CSM
Expand Down

0 comments on commit 61ec75b

Please sign in to comment.