aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/device/devices.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/sfx/device/devices.cpp')
-rw-r--r--engines/sci/sfx/device/devices.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/engines/sci/sfx/device/devices.cpp b/engines/sci/sfx/device/devices.cpp
index eb2923a1e0..defa5bcef3 100644
--- a/engines/sci/sfx/device/devices.cpp
+++ b/engines/sci/sfx/device/devices.cpp
@@ -50,9 +50,7 @@ struct _midi_device **devices[] = {
devices_opl2,
};
-
-static struct _midi_device *
- find_dev(int type, char *name) {
+static struct _midi_device *find_dev(int type, char *name) {
int i = 0;
if (!type)
@@ -67,15 +65,12 @@ static struct _midi_device *
return devices[type][i];
}
-
-void *
-sfx_find_device(int type, char *name) {
+void *sfx_find_device(int type, char *name) {
struct _midi_device *dev = find_dev(type, name);
if (dev) {
if (dev->init(dev)) {
- fprintf(stderr, "[SFX] Opening device '%s' failed\n",
- dev->name);
+ fprintf(stderr, "[SFX] Opening device '%s' failed\n", dev->name);
return NULL;
}