mirror of https://github.com/LIJI32/SameBoy.git
Updated GB_load_rom (markdown)
parent
2e1705518b
commit
4a0524b355
|
@ -6,7 +6,7 @@ In `gb.h`
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
Loads a ROM file into an emulator instance. Returns 0 on success, a positive `errno` value on a POSIX failure, and `-1` on other failures.
|
Loads a ROM 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|GB_set_log_callback]]. Warning messages may be output to the [[log|GB_set_log_callback]] upon success.
|
In case of a failure, an error message will also be output to the [[log|GB_set_log_callback]]. Warning messages may be output to the [[log|GB_set_log_callback]] upon success.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue