3 GB_save_battery_size
Lior Halphon edited this page 2024-12-01 01:09:32 +02:00

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