mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
Use constants rather than hard coded stuff
This commit is contained in:
parent
81e9789272
commit
c8ac436b84
|
@ -85,7 +85,7 @@ mod test {
|
|||
|
||||
let address = &*first_box as *const _ as usize;
|
||||
assert!(
|
||||
address >= 0x0200_0000 && address < 0x0204_0000,
|
||||
address >= super::EWRAM_START && address < super::EWRAM_END,
|
||||
"ewram is located between 0x0200_0000 and 0x0204_0000, address was actually found to be {:#010X}",
|
||||
address
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue