Vastly overhauled the UI, there's now a completely new Settings dialog as well as a status bar with disk activity icons and removable drive menus;
Thoroughly clean up the code to vastly reduce the number of compiler warnings and found and fixed several bugs in the process; Applied all mainline PCem commits; Added SCSI hard disk emulation; Commented out all unfinished machines and graphics cards; Added the AOpen AP53 and ASUS P/I-P55T2 machines as well as another Tyan 440FX machine, all three with AMI WinBIOS (patch from TheCollector1995); Added the Diamond Stealth 3D 3000 (S3 ViRGE/VX) graphics card (patch from TheCollector1995); Added the PS/2 XT IDE (AccuLogic) HDD Controller (patch from TheCollector1995); Added Microsoft/Logitech Bus Mouse emulation (patch from waltje); Overhauled the makefiles (patch from waltje); Added the Adaptec AHA-1542CF SCSI controller (patch from waltje); Added preliminary (but still unfinished) Adaptec AHA-154x SCSI controller BIOS support (patch from waltje); Added an ISABugger debugging device (patch from waltje); Added sanity checks to the Direct3D code.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <windows.h>
|
||||
#include <mmsystem.h>
|
||||
#include "ibm.h"
|
||||
#include "config.h"
|
||||
#include "plat-midi.h"
|
||||
|
||||
static int midi_id;
|
||||
@@ -13,9 +14,6 @@ void midi_close();
|
||||
|
||||
void midi_init()
|
||||
{
|
||||
int c;
|
||||
int n;
|
||||
MIDIOUTCAPS ocaps;
|
||||
MMRESULT hr;
|
||||
|
||||
midi_id = config_get_int(NULL, "midi", 0);
|
||||
@@ -62,12 +60,11 @@ static int midi_pos, midi_len;
|
||||
static uint32_t midi_command;
|
||||
static int midi_lengths[8] = {3, 3, 3, 3, 2, 2, 3, 1};
|
||||
static int midi_insysex;
|
||||
static uint8_t midi_sysex_data[1024+2];
|
||||
static char midi_sysex_data[1024+2];
|
||||
|
||||
static void midi_send_sysex()
|
||||
{
|
||||
MIDIHDR hdr;
|
||||
int c;
|
||||
|
||||
hdr.lpData = midi_sysex_data;
|
||||
hdr.dwBufferLength = midi_pos;
|
||||
|
||||
Reference in New Issue
Block a user