--- np2/macosx/commng.cpp 2003/10/16 17:59:37 1.1.1.1 +++ np2/macosx/commng.cpp 2003/11/28 17:44:19 1.3 @@ -1,6 +1,6 @@ #include "compiler.h" #include "commng.h" -#include "cmmidi.h" +#include "cmver.h" // ---- non connect @@ -25,7 +25,7 @@ static BYTE ncgetstat(COMMNG self) { return(0xf0); } -static UINT ncmsg(COMMNG self, UINT msg, long param) { +static long ncmsg(COMMNG self, UINT msg, long param) { (void)self; (void)msg; @@ -34,8 +34,6 @@ static UINT ncmsg(COMMNG self, UINT msg, } static void ncrelease(COMMNG self) { - - (void)self; } static const _COMMNG com_nc = { @@ -44,13 +42,18 @@ static const _COMMNG com_nc = { // ---- +void commng_initialize(void) { + + cmvermouth_initialize(); +} + COMMNG commng_create(UINT device) { COMMNG ret; ret = NULL; if (device == COMCREATE_MPU98II) { - ret = cmmidi_create(); + ret = cmvermouth_create(); } if (ret == NULL) { ret = (COMMNG)&com_nc;