Skip to content

Commit

Permalink
Merge pull request #213 from pspdev/fix-some-docs
Browse files Browse the repository at this point in the history
Fix documentation mistakes
  • Loading branch information
sharkwouter authored Jul 11, 2024
2 parents 3dbde19 + 2308834 commit 5f8da2b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/ctrl/pspctrl.h
Original file line number Diff line number Diff line change
Expand Up @@ -294,22 +294,22 @@ int sceCtrlPeekLatch(SceCtrlLatch *latch_data);
* // Obtain latch data
* sceCtrlReadLatch(&latchData);
*
* if (latchData.buttonMake & PSP_CTRL_CROSS)
* if (latchData.uiMake & PSP_CTRL_CROSS)
* {
* // The Cross button has just been pressed (transition from 'released' state to 'pressed' state)
* }
*
* if (latchData.buttonPress & PSP_CTRL_SQUARE)
* if (latchData.uiPress & PSP_CTRL_SQUARE)
* {
* // The Square button is currently in the 'pressed' state
* }
*
* if (latchData.buttonBreak & PSP_CTRL_TRIANGLE)
* if (latchData.uiBreak & PSP_CTRL_TRIANGLE)
* {
* // The Triangle button has just been released (transition from 'pressed' state to 'released' state)
* }
*
* if (latchData.buttonRelease & PSP_CTRL_CIRCLE)
* if (latchData.uiRelease & PSP_CTRL_CIRCLE)
* {
* // The Circle button is currently in the 'released' state
* }
Expand Down
2 changes: 1 addition & 1 deletion src/debug/pspdebug.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ void pspDebugScreenSetBackColor(u32 color);
/**
* Set the text color
*
* @param color - A 32 bit RGB color
* @param color - A 32 bit BGR color
*/
void pspDebugScreenSetTextColor(u32 color);

Expand Down

0 comments on commit 5f8da2b

Please sign in to comment.