Line 78:
Line 78:
=== Screen ===
=== Screen ===
−
Please not for the first arg(bufferNum) 0 = TV, 1 = Gamepad.
+
In all the functions below, bufferNum means: 0 = TV, 1 = Gamepad.
{| class="wikitable"
{| class="wikitable"
!Name
!Name
Line 85:
Line 85:
|-
|-
|OSScreenGetBufferSizeEx
|OSScreenGetBufferSizeEx
−
|uint32_t OSScreenGetBufferSizeEx(uint32_t bufferNum)
+
|uint32_t OSScreenGetBufferSizeEx(int bufferNum)
−
|get the size of the buffer at "bufferNum"
+
|Get the size of the specified buffer
|-
|-
|OSScreenFlipBuffersEx
|OSScreenFlipBuffersEx
−
|uint32_t OSScreenFlipBuffersEx(uint32_t bufferNum);
+
|uint32_t OSScreenFlipBuffersEx(int bufferNum);
−
|Flip/Switch to the buffer at "bufferNum"
+
|Draw the changes in the specified buffer
|-
|-
|OSScreenClearBufferEx
|OSScreenClearBufferEx
−
|uint32_t OSScreenClearBufferEx(uint32_t bufferNum, uint32_t colour);
+
|uint32_t OSScreenClearBufferEx(int bufferNum, uint32_t colour);
−
|Fills the screen.
+
|Fill the specified buffer with a certain color
|-
|-
|OSScreenPutPixelEx
|OSScreenPutPixelEx
−
|uint32_t OSScreenPutPixelEx(uint32_t bufferNum, uint32_t posX, uint32_t posY, uint32_t colour);
+
|uint32_t OSScreenPutPixelEx(int bufferNum, uint32_t posX, uint32_t posY, uint32_t colour);
−
|Draws a pixel to the specified cords
+
|Draw a pixel of a certain color to the specified coordinates
|-
|-
|OSScreenPutFontEx
|OSScreenPutFontEx
−
|uint32_t OSScreenPutFontEx(uint32_t bufferNum, uint32_t posX, uint32_t posY, void* buffer);
+
|uint32_t OSScreenPutFontEx(int bufferNum, uint32_t posX, uint32_t posY, const char *str);
−
|Writes text to the screen; unlike OSFatal this doesn't halt your system.
+
|Write text to the specified buffer; unlike OSFatal() this doesn't halt your system.
|}
|}
Line 146:
Line 146:
!Description
!Description
|-
|-
−
|SCREEN_BUFNUM_TV
+
|SCREEN_BUF_TV
|0
|0
|The buffer number for the TV
|The buffer number for the TV
|-
|-
−
|SCREEN_BUFNUM_GAMEPADMAIN
+
|SCREEN_BUF_DRC0
|1
|1
−
|The buffer number for the main GamePad
+
|The buffer number for the first Gamepad
|}
|}