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 {
|
fn default() -> Self {
|
||||||
Self {
|
Self {
|
||||||
sel_action: true,
|
sel_action: true,
|
||||||
sel_direction: false,
|
sel_direction: true,
|
||||||
down: false,
|
down: false,
|
||||||
up: false,
|
up: false,
|
||||||
left: false,
|
left: false,
|
||||||
|
|
|
@ -25,7 +25,7 @@ impl Default for SerialControl {
|
||||||
Self {
|
Self {
|
||||||
transfer_in_progress: false,
|
transfer_in_progress: false,
|
||||||
clock_speed: ClockSpeed::Normal,
|
clock_speed: ClockSpeed::Normal,
|
||||||
clock_source: ClockSource::Internal,
|
clock_source: ClockSource::External,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -103,7 +103,7 @@ impl Serial {
|
||||||
impl Default for Serial {
|
impl Default for Serial {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Self {
|
Self {
|
||||||
byte: 0xFF,
|
byte: 0,
|
||||||
output_byte: 0,
|
output_byte: 0,
|
||||||
bits_remaining: 7,
|
bits_remaining: 7,
|
||||||
control: SerialControl::default(),
|
control: SerialControl::default(),
|
||||||
|
|
Loading…
Reference in a new issue