Commit fa28e620 authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Cleanups

parent e9e7a797
......@@ -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;
}
#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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment