mirror of
https://github.com/italicsjenga/gba.git
synced 2024-12-23 10:51:30 +11:00
Implement GbaCellSafe
for Fixed
(#180)
This commit is contained in:
parent
6cc8866ef9
commit
59c7cb07c6
|
@ -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> {}
|
||||
|
|
Loading…
Reference in a new issue