Added preliminary MPU-401 emulation (UART mode only) for SB16. Currently outputs to default Windows MIDI device. This allows Windows 3.x SB16 drivers to work.
This commit is contained in:
parent
f822488656
commit
b9062a1d0c
7 changed files with 152 additions and 15 deletions
|
|
@ -18,6 +18,7 @@
|
|||
#include "nvr.h"
|
||||
#include "sound.h"
|
||||
|
||||
#include "plat-midi.h"
|
||||
#include "plat-keyboard.h"
|
||||
|
||||
#include "win-ddraw.h"
|
||||
|
|
@ -300,6 +301,8 @@ int WINAPI WinMain (HINSTANCE hThisInstance,
|
|||
ghwnd=hwnd;
|
||||
|
||||
ddraw_init(hwnd);
|
||||
midi_init();
|
||||
atexit(midi_close);
|
||||
// d3d_init(hwnd);
|
||||
// opengl_init(hwnd);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue