mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
update to the texture format overlay, thanks to giga (see issue 112)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@150 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -258,21 +258,12 @@ void ConfigDialog::TexFmtOverlayChange(wxCommandEvent& event)
|
||||
case ID_TEXFMTOVERLAY:
|
||||
g_Config.bTexFmtOverlayEnable = m_TexFmtOverlay->IsChecked();
|
||||
m_TexFmtCenter->Enable(m_TexFmtOverlay->IsChecked());
|
||||
TextureMngr::Invalidate();
|
||||
if(!g_Config.bTexFmtOverlayEnable)
|
||||
{
|
||||
m_TexFmtCenter->SetValue(false);
|
||||
g_Config.bTexFmtOverlayCenter = false;
|
||||
}
|
||||
else{
|
||||
return;
|
||||
}
|
||||
break;
|
||||
case ID_TEXFMTCENTER:
|
||||
g_Config.bTexFmtOverlayCenter = m_TexFmtCenter->IsChecked();
|
||||
TextureMngr::Invalidate();
|
||||
break;
|
||||
}
|
||||
TextureMngr::Invalidate();
|
||||
}
|
||||
|
||||
void ConfigDialog::DumpTexturesChange(wxCommandEvent& event)
|
||||
|
@ -170,11 +170,10 @@ struct Config
|
||||
bool bDumpTextures;
|
||||
char texDumpPath[280];
|
||||
|
||||
int iSaveTargetId;
|
||||
|
||||
//currently unused:
|
||||
int aa; // anti-aliasing level
|
||||
int iLog; // CONF_ bits
|
||||
int iSaveTargetId;
|
||||
int iAdapter;
|
||||
int iMultisampleMode;
|
||||
char psProfile[16];
|
||||
|
@ -70,7 +70,7 @@ void DllConfig(HWND _hParent)
|
||||
|
||||
DWORD iModeNum = 0;
|
||||
DEVMODE dmi;
|
||||
int x = 0, y = 0;
|
||||
unsigned int x = 0, y = 0;
|
||||
ZeroMemory(&dmi, sizeof(dmi));
|
||||
dmi.dmSize = sizeof(dmi);
|
||||
|
||||
|
Reference in New Issue
Block a user