mirror of
https://github.com/italicsjenga/gba.git
synced 2024-12-23 19:01:30 +11:00
TODO for later
This commit is contained in:
parent
1dcecb72cb
commit
6a07f95973
|
@ -90,7 +90,7 @@ impl DMAControlSetting {
|
||||||
0 => DMASrcAddressControl::Increment,
|
0 => DMASrcAddressControl::Increment,
|
||||||
1 => DMASrcAddressControl::Decrement,
|
1 => DMASrcAddressControl::Decrement,
|
||||||
2 => DMASrcAddressControl::Fixed,
|
2 => DMASrcAddressControl::Fixed,
|
||||||
_ => unreachable!(),
|
_ => unreachable!(), // TODO: custom error message?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pub const fn with_src_address_control(self, new_control: DMASrcAddressControl) -> Self {
|
pub const fn with_src_address_control(self, new_control: DMASrcAddressControl) -> Self {
|
||||||
|
|
Loading…
Reference in a new issue