Fixed compiler warnings for Windows builds.
Added -Werror to Windows makefiles.
This commit is contained in:
parent
334992ef54
commit
2b892d2a7a
168 changed files with 1927 additions and 1963 deletions
|
|
@ -10,6 +10,7 @@
|
|||
#include "dma.h"
|
||||
#include "io.h"
|
||||
#include "pic.h"
|
||||
#include "sound.h"
|
||||
#include "sound_ad1848.h"
|
||||
#include "sound_opl.h"
|
||||
#include "sound_wss.h"
|
||||
|
|
@ -27,7 +28,7 @@
|
|||
|
||||
static int wss_dma[4] = {0, 0, 1, 3};
|
||||
static int wss_irq[8] = {5, 7, 9, 10, 11, 12, 14, 15}; /*W95 only uses 7-9, others may be wrong*/
|
||||
static uint16_t wss_addr[4] = {0x530, 0x604, 0xe80, 0xf40};
|
||||
//static uint16_t wss_addr[4] = {0x530, 0x604, 0xe80, 0xf40};
|
||||
|
||||
typedef struct wss_t
|
||||
{
|
||||
|
|
@ -78,8 +79,6 @@ static void wss_get_buffer(int32_t *buffer, int len, void *p)
|
|||
void *wss_init()
|
||||
{
|
||||
wss_t *wss = malloc(sizeof(wss_t));
|
||||
int c;
|
||||
double attenuation;
|
||||
|
||||
memset(wss, 0, sizeof(wss_t));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue