fix a warning & the cargo version of ffmpeg4
This commit is contained in:
parent
a440c1a190
commit
abff72a694
|
@ -19,4 +19,4 @@ sdl2 = "^0.32"
|
|||
crossbeam-channel = "^0.4"
|
||||
structopt = "^0.3"
|
||||
# example: ffmpeg_recorder
|
||||
ffmpeg4 = "*"
|
||||
ffmpeg4 = "0.4.0"
|
||||
|
|
|
@ -230,7 +230,7 @@ impl MyEmulator {
|
|||
}
|
||||
}
|
||||
|
||||
fn input_state_keyboard(&mut self, port: u32, device: &InputDeviceId, index: &InputIndex) -> i16 {
|
||||
fn input_state_keyboard(&mut self, port: u32, device: &InputDeviceId, _index: &InputIndex) -> i16 {
|
||||
if port != 0 { // Keyboard only controls the first port.
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue