mirror of
https://github.com/libretro/beetle-lynx-libretro.git
synced 2024-11-26 18:01:38 +00:00
Cleanups
This commit is contained in:
parent
e9e7a79761
commit
fa28e62069
@ -21,25 +21,6 @@
|
||||
#include <string>
|
||||
#include "settings.h"
|
||||
|
||||
uint64 MDFN_GetSettingUI(const char *name)
|
||||
{
|
||||
|
||||
fprintf(stderr, "unhandled setting UI: %s\n", name);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int64 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);
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool MDFN_GetSettingB(const char *name)
|
||||
{
|
||||
if (!strcmp("lynx.lowpass", name))
|
||||
@ -48,12 +29,5 @@ bool MDFN_GetSettingB(const char *name)
|
||||
return 0;
|
||||
if (!strcmp("cheats", name))
|
||||
return 0;
|
||||
fprintf(stderr, "unhandled setting B: %s\n", name);
|
||||
return 0;
|
||||
};
|
||||
|
||||
std::string MDFN_GetSettingS(const char *name)
|
||||
{
|
||||
fprintf(stderr, "unhandled setting S: %s\n", name);
|
||||
return 0;
|
||||
}
|
||||
|
@ -1,13 +1,9 @@
|
||||
#ifndef MDFN_SETTINGS_H
|
||||
#define MDFN_SETTINGS_H
|
||||
|
||||
#include <string>
|
||||
#include <boolean.h>
|
||||
|
||||
// This should assert() or something if the setting isn't found, since it would
|
||||
// be a totally tubular error!
|
||||
uint64 MDFN_GetSettingUI(const char *name);
|
||||
int64 MDFN_GetSettingI(const char *name);
|
||||
double MDFN_GetSettingF(const char *name);
|
||||
bool MDFN_GetSettingB(const char *name);
|
||||
std::string MDFN_GetSettingS(const char *name);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user