Skip to content

gb_run_frame()

Mr-PauI edited this page Dec 15, 2025 · 1 revision

void gb_run_frame(struct gb_s *gb)

Included for compatibility options. Either this or gb_run_frames_dualfetch have the same effect, they run one frames worth of emulation, however this function uses just the original 8-bit dispatch method. It still benefits from 16-bit or 32-bit DMA modes if active.

These functions can be swapped at anytime during the execution of a game to compare just the dual-fetch instruction differences for performance, or to provide the original Peanut-GB core as a compatibility option.

Clone this wiki locally