Cargo Features
rubidium has no features set by default.
[dependencies]
rubidium = { version = "0.0.17", features = ["unsafe_addresses"] }
- unsafe_addresses
-
Safety: If you enable this the crate will define all the MMIO addresses.
They are unsafe to use on any system other than the GBA, so this is your opt-in to the unsafety involved.Affects
rubidium::KEYINPUT
,rubidium::PALRAM
,bg_affine::BG2_AFFINE_MATRIX
,bg_affine::BG2_REF_POINT
,bg_affine::BG3_AFFINE_MATRIX
,bg_affine::BG3_REF_POINT
,bg_cnt::BG0CNT
,bg_cnt::BG1CNT
,bg_cnt::BG2CNT
,bg_cnt::BG3CNT
,bg_ofs::BG0OFS
,bg_ofs::BG1OFS
,bg_ofs::BG2OFS
,bg_ofs::BG3OFS
,blending::BLDCNT
,blending::BLDALPHA
,blending::BLDBRIGHT
,dispcnt::DISPCNT
,dispstat::DISPSTAT
,mosaic::MOSAIC
…