Skip to content

GB_load_rom_from_buffer

Lior Halphon edited this page Nov 30, 2024 · 3 revisions

Definition

void GB_load_rom_from_buffer(GB_gameboy_t *gb, const uint8_t *buffer, size_t size);

In gb.h

Description

Loads ROM data into an emulator instance. Warning messages may be output to the log upon loading.

Thread Safety

GB_load_rom_from_buffer must not be called if the instance is being run in another thread, but may be called from the current one (via a callback).

See Also

Clone this wiki locally