Crate gba_env

Source
Expand description

Crate for identifying the environment for Game Boy Advance ROMs. The environment can be identified by simply calling the get_env() function.
The supported environments can be found in the Environment-enum

Enums§

Environment
Represents the current system environment.

Functions§

get_env
Returns the current system environment.
identify_ds
Detects if the current system is a Nintendo DS running in GBA mode.
DS: false
mGBA: false
NanoBoyAdvance: false
No$GBA (debug): false
No$GBA: false
GBA: false
MyBoy: not tested
gpSP: false
VBA: false
Mesen: false
identify_gba_micro
Detects if the current system is a GBA Micro.
DS: false
mGBA: false
NanoBoyAdvance: false
No$GBA (debug): false
No$GBA: false
GBA: true
GBA Micro: true
MyBoy: not tested
gpSP: false
VBA: false
Mesen: false
identify_gpsp
Detects if the system is running the MyBoy emulator.
DS: false
mGBA: false
NanoBoyAdvance: false
No$GBA (debug): false
No$GBA: false
GBA: false / crash (not sure yet)
MyBoy: not tested
gpSP: true
VBA: false
Mesen: false
identify_mgba
Detects if the system is running mGBA.
DS: false
mGBA: true
NanoBoyAdvance: false
No$GBA (debug): false
No$GBA: false
GBA: false
MyBoy: not tested
gpSP: false
VBA: false
Mesen: false
identify_nanoboyadvance
Detects if the current system is a GBA Micro.
DS: false
mGBA: false
NanoBoyAdvance: true
No$GBA (debug): false
No$GBA: false
GBA: false
GBA Micro: false
MyBoy: not tested
gpSP: false
VBA: false
Mesen: false
identify_nocashba_debug
Detects if the system is running no$gba debug.
DS: false
mGBA: false
NanoBoyAdvance: false
No$GBA (debug): true
No$GBA: false
GBA: false
MyBoy: not tested
gpSP: false
VBA: false
Mesen: false
identify_real_gba
Detects if the system is a real Game Boy Advance.
DS: false
mGBA: true
NanoBoyAdvance: false
No$GBA (debug): true
No$GBA: true
GBA: true
MyBoy: not tested
gpSP: false
VBA: false
Mesen: false
identify_vba
Detects if the system is running VisualBoyAdvance.
DS: crash
mGBA: true
NanoBoyAdvance: crash
No$GBA (debug): crash
No$GBA: crash
GBA: crash
MyBoy: not tested
gpSP: crash
VBA: true
Mesen: crash