1
0
Fork 0

Default to using /dev/sequencer

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@842
This commit is contained in:
Sjoerd van der Berg 2003-03-30 11:03:44 +00:00
parent f83ff4ea6e
commit 447094cfb3

View file

@ -30,7 +30,7 @@ public:
bool Open(const char * conf) {
char devname[512];
if (conf && conf[0]) strncpy(devname,conf,512);
else strcpy(devname,"/dev/midi");
else strcpy(devname,"/dev/sequencer");
char * devfind=(strrchr(devname,','));
if (devfind) {
*devfind++=0;