예제 #1
0
int cfgGetInt(char* key,int def)
{
	wchar t[512];
	mbstowcs(t,key,512);
	return eminf.ConfigLoadInt(L"nullAica",t,def);
}
예제 #2
0
void LoadSettings()
{
	settings.mode=max(0,min(emu.ConfigLoadInt(L"nullExtDev",L"mode",0),3));
	settings.adapter=emu.ConfigLoadInt(L"nullExtDev",L"adapter",0);
}