Another massive cleanup run. Ibm.h no longer includes system header files. ROM loading simplified, and moved from mem.c to rom.c. Fixes in Makefile. Corrected mamy wrong includes. Removed old junk from days long gone. First phase of new SCAT chipset driver - no longer gives errors in BIOS, but NOT DONE YET.
This commit is contained in:
@@ -1,23 +1,26 @@
|
||||
/* some code borrowed from scummvm */
|
||||
#ifdef USE_FLUIDSYNTH
|
||||
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <wchar.h>
|
||||
#include <fluidsynth.h>
|
||||
#include "../config.h"
|
||||
#include "../win/plat_dynld.h"
|
||||
#include "../win/plat_thread.h"
|
||||
#include "../win/plat_ui.h"
|
||||
#include "../device.h"
|
||||
#include "midi_fluidsynth.h"
|
||||
#include "midi.h"
|
||||
#include "midi_fluidsynth.h"
|
||||
#include "sound.h"
|
||||
|
||||
|
||||
#define RENDER_RATE 100
|
||||
#define BUFFER_SEGMENTS 10
|
||||
|
||||
|
||||
extern void givealbuffer_midi(void *buf, uint32_t size);
|
||||
extern void pclog(const char *format, ...);
|
||||
extern void al_set_midi(int freq, int buf_size);
|
||||
|
||||
Reference in New Issue
Block a user