This commit is contained in:
twinaphex 2020-10-03 12:40:06 +02:00
parent f18b109a6e
commit e2f040e024
6 changed files with 2 additions and 23 deletions

View File

@ -1,7 +1,7 @@
#ifndef __MDFN_CDROMFILE_H
#define __MDFN_CDROMFILE_H
#include <stdio.h>
#include <stdint.h>
#include "CDUtility.h"

View File

@ -1,8 +0,0 @@
#ifndef __MDFN_MEDNAFEN_DRIVER_H
#define __MDFN_MEDNAFEN_DRIVER_H
#include <stdio.h>
void MDFN_DispMessage(const char *format, ...);
#endif

View File

@ -11,10 +11,8 @@
#include "math_ops.h"
#include "git.h"
#include "settings.h"
#include "mednafen-driver.h"
#include "mednafen-endian.h"
#ifdef _WIN32
#define strcasecmp _stricmp
#endif

View File

@ -18,7 +18,6 @@
#include <string.h>
#include "../mednafen-types.h"
#include "../mednafen-driver.h"
#include "../state_helpers.h"
#include "../mednafen.h"

View File

@ -17,7 +17,6 @@
#include <boolean.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include "settings.h"
@ -52,19 +51,12 @@ uint64_t MDFN_GetSettingUI(const char *name)
if (!strcmp("pce_fast.hoverscan", name))
return setting_pce_hoverscan;
fprintf(stderr, "unhandled setting UI: %s\n", name);
return 0;
}
int64_t MDFN_GetSettingI(const char *name)
{
fprintf(stderr, "unhandled setting I: %s\n", name);
return 0;
}
double MDFN_GetSettingF(const char *name)
{
fprintf(stderr, "unhandled setting F: %s\n", name);
/* TODO/FIXME - handle 'pce_fast.mouse_sensitivity' */
return 0;
}
@ -91,6 +83,5 @@ bool MDFN_GetSettingB(const char *name)
return 0;
if (!strcmp("pce_fast.adpcmlp", name))
return 0;
fprintf(stderr, "unhandled setting B: %s\n", name);
return 0;
}

View File

@ -19,7 +19,6 @@ extern uint32_t setting_pce_fast_cdspeed;
extern bool OrderOfGriffonFix;
uint64 MDFN_GetSettingUI(const char *name);
int64 MDFN_GetSettingI(const char *name);
double MDFN_GetSettingF(const char *name);
bool MDFN_GetSettingB(const char *name);