-
-
Notifications
You must be signed in to change notification settings - Fork 212
GB_load_isx
Lior Halphon edited this page Nov 25, 2024
·
2 revisions
int GB_load_isx(GB_gameboy_t *gb, const char *path);
In gb.h
Loads ROM data and symbols from an ISX file into an emulator instance. Returns 0 on success, a positive errno
value on a POSIX failure, and -1
on other failures.
In case of a failure, an error message will also be output to the log. Warning messages may be output to the log upon success.
GB_load_isx
must not be called if the instance is being run in another thread, but may be called from the current one (via a callback).
GB_load_isx
will not remove existing symbols from the emulator instance. You may want to call GB_debugger_clear_symbols before calling this function if the emulator instance already has symbols for a previously loaded ROM.