gba
gba copied to clipboard
alignX structs / macro to allow for aligned include_bytes!() usage
Thanks to oli for suggesting this style
#[repr(align(4))] struct Wrapper<T>(T);
pub const A: &[u8] = &Wrapper(*include_bytes!("file.img")).0;