fix initial joypad + serial values
This commit is contained in:
parent
4623c248db
commit
3fc25fcfb2
|
@ -114,7 +114,7 @@ impl Default for Joypad {
|
|||
fn default() -> Self {
|
||||
Self {
|
||||
sel_action: true,
|
||||
sel_direction: false,
|
||||
sel_direction: true,
|
||||
down: false,
|
||||
up: false,
|
||||
left: false,
|
||||
|
|
|
@ -25,7 +25,7 @@ impl Default for SerialControl {
|
|||
Self {
|
||||
transfer_in_progress: false,
|
||||
clock_speed: ClockSpeed::Normal,
|
||||
clock_source: ClockSource::Internal,
|
||||
clock_source: ClockSource::External,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -103,7 +103,7 @@ impl Serial {
|
|||
impl Default for Serial {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
byte: 0xFF,
|
||||
byte: 0,
|
||||
output_byte: 0,
|
||||
bits_remaining: 7,
|
||||
control: SerialControl::default(),
|
||||
|
|
Loading…
Reference in a new issue