Major changes to NVR, system initialization (pc.c), and what goes on in the Windows startup (win.c.) Not fully done yet, but good enough for a first commit.

This commit is contained in:
waltje
2017-10-07 00:46:54 -04:00
parent 95fe21b651
commit 2b37b7fbfb
108 changed files with 5628 additions and 5912 deletions

View File

@@ -9,7 +9,7 @@
#include "midi_system.h"
void* system_midi_init()
void* system_midi_init(device_t *info)
{
midi_device_t* dev = malloc(sizeof(midi_device_t));
memset(dev, 0, sizeof(midi_device_t));
@@ -32,7 +32,7 @@ void system_midi_close(void* p)
midi_close();
}
int system_midi_available()
int system_midi_available(void)
{
return plat_midi_get_num_devs();
}
@@ -53,9 +53,10 @@ static device_config_t system_midi_config[] =
device_t system_midi_device =
{
SYSTEM_MIDI_NAME,
0,
0, 0,
system_midi_init,
system_midi_close,
NULL,
system_midi_available,
NULL,
NULL,