2018-11-08 15:21:17 +11:00
|
|
|
#![no_std]
|
2018-11-08 17:43:22 +11:00
|
|
|
#![warn(missing_docs)]
|
|
|
|
|
|
|
|
//! This crate helps you write GBA ROMs.
|
|
|
|
//!
|
|
|
|
//! # SAFETY POLICY
|
|
|
|
//!
|
|
|
|
//! Some parts of this crate are safe wrappers around unsafe operations. This is
|
|
|
|
//! good, and what you'd expect from a Rust crate.
|
|
|
|
//!
|
|
|
|
//! However, the safe wrappers all assume that you will _only_ attempt to
|
|
|
|
//! execute this crate on a GBA or in a GBA Emulator.
|
|
|
|
//!
|
|
|
|
//! **Do not** use this crate in programs that aren't running on the GBA. If you
|
|
|
|
//! do, it's a giant bag of Undefined Behavior.
|
|
|
|
|
|
|
|
//pub mod macros; // un-comment once we get some
|
|
|
|
|
|
|
|
pub mod core_extras;
|
|
|
|
pub(crate) use crate::core_extras::*;
|
|
|
|
|
|
|
|
pub mod io_registers;
|
|
|
|
//pub(crate) use crate::io_registers::*;
|