chore(cpu): Ensure Cycles is the size of an u32

This commit is contained in:
Rekai Nyangadzayi Musuka 2021-06-02 23:09:45 -05:00
parent 50ba300d23
commit c60bf704ff
1 changed files with 1 additions and 0 deletions

View File

@ -118,6 +118,7 @@ pub enum JumpCondition {
struct Table; struct Table;
#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Default)] #[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Default)]
#[repr(transparent)]
pub struct Cycle(u32); pub struct Cycle(u32);
impl Instruction { impl Instruction {