[Glide64] Remove card_id

This commit is contained in:
zilmar 2017-01-24 08:42:49 +11:00
parent 2ed3a57917
commit bcd2a6f6b6
2 changed files with 0 additions and 6 deletions

View File

@ -8,7 +8,6 @@ int GetCurrentResIndex(void);
short Set_basic_mode = 0, Set_texture_dir = 0, Set_log_dir = 0, Set_log_flush = 0;
CSettings::CSettings() :
card_id(0),
res_x(640),
scr_res_x(640),
res_y(480),
@ -118,7 +117,6 @@ void CSettings::RegisterSettings(void)
Set_log_dir = FindSystemSettingId("Dir:Log");
SetModuleName("Glide64");
general_setting(Set_CardId, "card_id", 0);
#ifdef _WIN32
general_setting(Set_Resolution, "resolution", 7);
general_setting(Set_wrpResolution, "wrpResolution", GetCurrentResIndex());
@ -228,7 +226,6 @@ void CSettings::RegisterSettings(void)
void CSettings::ReadSettings()
{
this->card_id = GetSetting(Set_CardId);
#ifdef ANDROID
this->scr_res_x = this->res_x = g_width;
this->scr_res_y = this->res_y = g_height;
@ -464,7 +461,6 @@ void ReadSpecialSettings(const char * name)
void WriteSettings(void)
{
SetSetting(Set_CardId, g_settings->card_id);
#ifdef _WIN32
SetSetting(Set_Resolution, (int)g_settings->res_data);
SetSetting(Set_wrpResolution, g_settings->wrpResolution);

View File

@ -5,8 +5,6 @@ class CSettings
public:
CSettings();
int card_id;
uint32_t res_x, scr_res_x;
uint32_t res_y, scr_res_y;
#ifndef ANDROID