chore: improve code quality
Removed a lot of magic constants. Gave them descriptive variable names
This commit is contained in:
@@ -75,11 +75,3 @@ impl From<InterruptFlag> for u8 {
|
||||
flag.0
|
||||
}
|
||||
}
|
||||
|
||||
enum InterruptType {
|
||||
VBlank,
|
||||
LCDStat,
|
||||
Timer,
|
||||
Serial,
|
||||
Joypad,
|
||||
}
|
||||
|
Reference in New Issue
Block a user