gsdx mipmap: use a 3 state option

This commit is contained in:
Gregory Hainaut 2016-09-30 20:03:50 +02:00
parent a415d59e2f
commit b695e0065a
3 changed files with 4 additions and 4 deletions

View File

@ -38,12 +38,12 @@ GSRendererHW::GSRendererHW(GSTextureCache* tc)
m_userhacks_align_sprite_X = theApp.GetConfigB("UserHacks_align_sprite_X");
m_userhacks_round_sprite_offset = theApp.GetConfigI("UserHacks_round_sprite_offset");
m_userhacks_disable_gs_mem_clear = theApp.GetConfigB("UserHacks_DisableGsMemClear");
m_mipmap = theApp.GetConfigB("UserHacks_mipmap");
m_mipmap = theApp.GetConfigI("UserHacks_mipmap");
} else {
m_userhacks_align_sprite_X = false;
m_userhacks_round_sprite_offset = 0;
m_userhacks_disable_gs_mem_clear = false;
m_mipmap = false;
m_mipmap = 0;
}
if (!m_upscale_multiplier) { //Custom Resolution

View File

@ -46,7 +46,7 @@ GSState::GSState()
, m_frameskip(0)
{
m_nativeres = theApp.GetConfigI("upscale_multiplier") == 1;
m_mipmap = theApp.GetConfigB("mipmap");
m_mipmap = theApp.GetConfigI("mipmap");
m_NTSC_Saturation = theApp.GetConfigB("NTSC_Saturation");
m_userhacks_skipdraw = theApp.GetConfigB("UserHacks") ? theApp.GetConfigI("UserHacks_SkipDraw") : 0;
m_userhacks_auto_flush = theApp.GetConfigB("UserHacks") ? theApp.GetConfigB("UserHacks_AutoFlush") : 0;

View File

@ -223,7 +223,7 @@ public:
bool m_framelimit;
bool m_NTSC_Saturation;
bool m_nativeres;
bool m_mipmap;
int m_mipmap;
static int s_n;
bool s_dump;