mirror of
https://github.com/italicsjenga/gba.git
synced 2024-12-24 03:11:29 +11:00
Merge pull request #45 from eevee/fix-bg1ofs-addresses
Fix addresses for BG1HOFS and BG1VOFS
This commit is contained in:
commit
096eed2abb
|
@ -71,9 +71,9 @@ pub const BG0HOFS: VolAddress<u16> = unsafe { VolAddress::new_unchecked(0x400_00
|
||||||
pub const BG0VOFS: VolAddress<u16> = unsafe { VolAddress::new_unchecked(0x400_0012) };
|
pub const BG0VOFS: VolAddress<u16> = unsafe { VolAddress::new_unchecked(0x400_0012) };
|
||||||
|
|
||||||
/// BG1 X-Offset. Write only. Text mode only. 9 bits.
|
/// BG1 X-Offset. Write only. Text mode only. 9 bits.
|
||||||
pub const BG1HOFS: VolAddress<u16> = unsafe { VolAddress::new_unchecked(0x400_0012) };
|
pub const BG1HOFS: VolAddress<u16> = unsafe { VolAddress::new_unchecked(0x400_0014) };
|
||||||
/// BG1 Y-Offset. Write only. Text mode only. 9 bits.
|
/// BG1 Y-Offset. Write only. Text mode only. 9 bits.
|
||||||
pub const BG1VOFS: VolAddress<u16> = unsafe { VolAddress::new_unchecked(0x400_0012) };
|
pub const BG1VOFS: VolAddress<u16> = unsafe { VolAddress::new_unchecked(0x400_0016) };
|
||||||
|
|
||||||
/// BG2 X-Offset. Write only. Text mode only. 9 bits.
|
/// BG2 X-Offset. Write only. Text mode only. 9 bits.
|
||||||
pub const BG2HOFS: VolAddress<u16> = unsafe { VolAddress::new_unchecked(0x400_0018) };
|
pub const BG2HOFS: VolAddress<u16> = unsafe { VolAddress::new_unchecked(0x400_0018) };
|
||||||
|
|
Loading…
Reference in a new issue