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::{
|
use crate::{
|
||||||
|
fixed::Fixed,
|
||||||
interrupts::IrqFn,
|
interrupts::IrqFn,
|
||||||
keys::{KeyControl, KeyInput},
|
keys::{KeyControl, KeyInput},
|
||||||
video::Color,
|
video::Color,
|
||||||
|
@ -224,3 +225,4 @@ unsafe impl GbaCellSafe for Option<NonZeroU8> {}
|
||||||
unsafe impl GbaCellSafe for u16 {}
|
unsafe impl GbaCellSafe for u16 {}
|
||||||
unsafe impl GbaCellSafe for u32 {}
|
unsafe impl GbaCellSafe for u32 {}
|
||||||
unsafe impl GbaCellSafe for u8 {}
|
unsafe impl GbaCellSafe for u8 {}
|
||||||
|
unsafe impl<I: GbaCellSafe, const B: u32> GbaCellSafe for Fixed<I, B> {}
|
||||||
|
|
Loading…
Reference in a new issue