aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
Diffstat (limited to 'backends')
-rw-r--r--backends/events/default/default-events.cpp2
-rw-r--r--backends/midi/seq.cpp9
-rw-r--r--backends/platform/psp/README.PSP2
3 files changed, 6 insertions, 7 deletions
diff --git a/backends/events/default/default-events.cpp b/backends/events/default/default-events.cpp
index 99d12c73dc..38a0c8d46f 100644
--- a/backends/events/default/default-events.cpp
+++ b/backends/events/default/default-events.cpp
@@ -51,6 +51,8 @@ DefaultEventManager::DefaultEventManager(Common::EventSource *boss) :
// Reset key repeat
_currentKeyDown.keycode = 0;
+ _currentKeyDown.ascii = 0;
+ _currentKeyDown.flags = 0;
#ifdef ENABLE_VKEYBD
_vk = new Common::VirtualKeyboard();
diff --git a/backends/midi/seq.cpp b/backends/midi/seq.cpp
index d48b80c40b..37986520bf 100644
--- a/backends/midi/seq.cpp
+++ b/backends/midi/seq.cpp
@@ -88,12 +88,9 @@ int MidiDriver_SEQ::open() {
device = ::open((device_name), O_RDWR, 0);
- if ((device_name == NULL) || (device < 0)) {
- if (device_name == NULL)
- warning("Opening /dev/null (no music will be heard)");
- else
- warning("Cannot open rawmidi device %s - using /dev/null (no music will be heard)",
- device_name);
+ if (device < 0) {
+ warning("Cannot open rawmidi device %s - using /dev/null (no music will be heard)",
+ device_name);
device = (::open(("/dev/null"), O_RDWR, 0));
if (device < 0)
error("Cannot open /dev/null to dump midi output");
diff --git a/backends/platform/psp/README.PSP b/backends/platform/psp/README.PSP
index 969459dc5b..18833d9f23 100644
--- a/backends/platform/psp/README.PSP
+++ b/backends/platform/psp/README.PSP
@@ -1,4 +1,4 @@
-ScummVM-PSP 1.6.0git README
+ScummVM-PSP 1.7.0git README
==============================================================================
Installation