![]() |
libdragon
|
Functions for integrating with PixelFX console mods. More...
Files | |
file | pixelfx.c |
PixelFX integration routines. | |
file | pixelfx.h |
PixelFX integration routines. | |
Functions | |
void | pixelfx_send_game_id (uint64_t rom_check_code, uint8_t media_format, uint8_t region_code) |
Notifies the PixelFX console mod of the current Game ID. | |
void | pixelfx_clear_game_id (void) |
Notifies the PixelFX console mod to clear the current Game ID. | |
Functions for integrating with PixelFX console mods.
N64Digital and Retro GEM allow per-game settings when ROM metadata is broadcast over Joybus. This module provides functions to easily set and reset the "Game ID" to tell the console mod which game settings to use.
void pixelfx_send_game_id | ( | uint64_t | rom_check_code, |
uint8_t | media_format, | ||
uint8_t | region_code | ||
) |
Notifies the PixelFX console mod of the current Game ID.
This function is mostly intended to be used by flashcart menu software or by software that will be flashed onto single-ROM flash cartridges.
rom_check_code | ROM check code (ROM header bytes 0x10-0x17) |
media_format | Media category code (ROM header byte 0x3B) |
region_code | Region code (ROM header byte 0x3E) |
void pixelfx_clear_game_id | ( | void | ) |
Notifies the PixelFX console mod to clear the current Game ID.
This function is mostly intended to be used by flashcart menu software or by software that will be flashed onto single-ROM flash cartridges.