Skip to content

GB_save_battery_size

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

Definition

int GB_save_battery_size(GB_gameboy_t *gb);

In gb.h

Description

Returns the battery-backed save size required by the emulator instance's currently loaded ROM, which may be 0. This function is used with GB_save_battery_to_buffer.

Thread Safety

GB_save_battery_size is thread-safe and can be called from any thread and context.

See Also

Clone this wiki locally