mirror of
https://github.com/italicsjenga/gba.git
synced 2025-01-11 03:21:30 +11:00
simplify the import list
This commit is contained in:
parent
d09d880eab
commit
b8f19602cf
14
src/mmio.rs
14
src/mmio.rs
|
@ -27,19 +27,7 @@
|
||||||
use core::{ffi::c_void, mem::size_of};
|
use core::{ffi::c_void, mem::size_of};
|
||||||
use bitfrob::u8x2;
|
use bitfrob::u8x2;
|
||||||
use voladdress::{Safe, Unsafe, VolAddress, VolBlock, VolSeries};
|
use voladdress::{Safe, Unsafe, VolAddress, VolBlock, VolSeries};
|
||||||
use crate::{
|
use crate::prelude::*;
|
||||||
interrupts::IrqBits,
|
|
||||||
video::{
|
|
||||||
BackgroundControl, Color, DisplayControl, DisplayStatus, WindowInside,
|
|
||||||
WindowOutside, Mosaic, BlendControl, Tile4, ObjAttr0, ObjAttr1, ObjAttr2, Tile8, TextEntry
|
|
||||||
},
|
|
||||||
dma::DmaControl,
|
|
||||||
sound::{
|
|
||||||
SweepControl, TonePattern, ToneFrequency, WaveBank, WaveLenVolume, WaveFrequency,
|
|
||||||
NoiseLenEnvelope, NoiseFrequency, LeftRightVolume, SoundMix, SoundEnable, SoundBias
|
|
||||||
},
|
|
||||||
timers::TimerControl, keys::{KeyInput, KeyControl}, mgba::MgbaMessageLevel, fixed::{i16fx8, i32fx8}, prelude::ObjAttr,
|
|
||||||
};
|
|
||||||
|
|
||||||
// Note(Lokathor): This macro lets us stick each address at the start of the
|
// Note(Lokathor): This macro lets us stick each address at the start of the
|
||||||
// definition, which lets us easily keep each declaration in address order.
|
// definition, which lets us easily keep each declaration in address order.
|
||||||
|
|
Loading…
Reference in a new issue