Line 186:
Line 186:
|OSScreenSetBufferEx
|OSScreenSetBufferEx
|void OSScreenSetBufferEx(int bufferNum, uint32_t *vaddr_framebufptr)
|void OSScreenSetBufferEx(int bufferNum, uint32_t *vaddr_framebufptr)
−
|This sets the framebuffer addresses for the specified screen. primary_framebuf = vaddr_framebufptr+0, secondary_framebuf = vaddr_framebufptr+single_framebuf_bytesize. The physical framebuffer addresses in hardware won't get updated until OSScreenFlipBuffersEx() is called. This function must be called before using any of the other OSScreen functions with this screen(besides OSScreenEnableEx), otherwise a crash will occur due to the framebuf addrs not being initialized.
+
|This sets the framebuffer addresses for the specified screen(only in coreinit state). primary_framebuf = vaddr_framebufptr+0, secondary_framebuf = vaddr_framebufptr+single_framebuf_bytesize. The physical framebuffer addresses in hardware won't get updated until OSScreenFlipBuffersEx() is called. This function must be called before using any of the other OSScreen functions with this screen(besides OSScreenEnableEx), otherwise a crash will occur due to the framebuf addrs not being initialized.
|-
|-
|OSScreenFlipBuffersEx
|OSScreenFlipBuffersEx