Implement GbaCellSafe for Fixed (#180)

This commit is contained in:
Ian Douglas Scott 2023-03-08 00:01:52 -08:00 committed by GitHub
parent 6cc8866ef9
commit 59c7cb07c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,6 +28,7 @@ use core::{
};
use crate::{
fixed::Fixed,
interrupts::IrqFn,
keys::{KeyControl, KeyInput},
video::Color,
@ -224,3 +225,4 @@ unsafe impl GbaCellSafe for Option<NonZeroU8> {}
unsafe impl GbaCellSafe for u16 {}
unsafe impl GbaCellSafe for u32 {}
unsafe impl GbaCellSafe for u8 {}
unsafe impl<I: GbaCellSafe, const B: u32> GbaCellSafe for Fixed<I, B> {}