Bdisp SetPointWB VRAM

From WikiPrizm
Revision as of 20:13, 1 December 2022 by Dr-carlos (talk | contribs) (Change color parameter type)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Header: fxcg/display.h
Syscall index: 0x0262
Function signature: void Bdisp_SetPointWB_VRAM(int x, int y, unsigned short color)

Sets a single point (x, y) in VRAM to the given color, automatically adding 24 pixels to the vertical coordinate to skip the status bar.


  • x: pixel column, 0 to 383.
  • y: pixel row, 0 to 191.
  • color: desired color.


This syscall is exactly like Bdisp_SetPoint_VRAM, except for the automatic increment of the vertical coordinate. It is usually more useful (faster) to write to VRAM yourself than to use a syscall.