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