s/cfgSetVitual/cfgSetVirtual
This commit is contained in:
parent
7d282d9861
commit
221ba4c22d
|
@ -448,7 +448,7 @@ void cfgSaveInt(const wchar * Section, const wchar * Key, s32 Int)
|
|||
sprintf(tmp,"%d", Int);
|
||||
cfgSaveStr(Section,Key,tmp);
|
||||
}
|
||||
void cfgSetVitual(const wchar * Section, const wchar * Key, const wchar * String)
|
||||
void cfgSetVirtual(const wchar * Section, const wchar * Key, const wchar * String)
|
||||
{
|
||||
vlist.push_back(vitem(Section,Key,String));
|
||||
//cfgdb.GetEntry(Section,CEM_VIRTUAL)->SetEntry(Key,String,CEM_VIRTUAL);
|
||||
|
|
|
@ -16,6 +16,6 @@ void cfgLoadStr(const wchar * lpSection, const wchar * lpKey, wchar * lpReturn,
|
|||
string cfgLoadStr(const wchar * Section, const wchar * Key, const wchar* Default);
|
||||
void cfgSaveStr(const wchar * lpSection, const wchar * lpKey, const wchar * lpString);
|
||||
s32 cfgExists(const wchar * Section, const wchar * Key);
|
||||
void cfgSetVitual(const wchar * lpSection, const wchar * lpKey, const wchar * lpString);
|
||||
void cfgSetVirtual(const wchar * lpSection, const wchar * lpKey, const wchar * lpString);
|
||||
|
||||
bool ParseCommandLine(int argc,wchar* argv[]);
|
||||
bool ParseCommandLine(int argc,wchar* argv[]);
|
||||
|
|
|
@ -82,7 +82,7 @@ int setconfig(wchar** arg,int cl)
|
|||
value="";
|
||||
printf("Virtual cfg %s:%s=%s\n",sect,key,value);
|
||||
|
||||
cfgSetVitual(sect,key,value);
|
||||
cfgSetVirtual(sect,key,value);
|
||||
rv++;
|
||||
|
||||
if (cl>=3 && stricmp(arg[2],",")==0)
|
||||
|
@ -128,12 +128,12 @@ bool ParseCommandLine(int argc,wchar* argv[])
|
|||
}
|
||||
else if (strstr(*arg, ".cdi") || strstr(*arg, ".chd")) {
|
||||
printf("Using '%s' as cd image\n", *arg);
|
||||
cfgSetVitual("config", "image", *arg);
|
||||
cfgSetVirtual("config", "image", *arg);
|
||||
}
|
||||
else if (strstr(*arg, ".elf")) {
|
||||
printf("Using '%s' as reios elf file\n", *arg);
|
||||
cfgSetVitual("config", "reios.enabled", "1");
|
||||
cfgSetVitual("reios", "ElfFile", *arg);
|
||||
cfgSetVirtual("config", "reios.enabled", "1");
|
||||
cfgSetVirtual("reios", "ElfFile", *arg);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -144,4 +144,4 @@ bool ParseCommandLine(int argc,wchar* argv[])
|
|||
}
|
||||
printf("\n");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue