mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-20 10:19:15 +01:00
This commit is contained in:
parent
77103f3af8
commit
d87fdb5df8
@ -108,13 +108,13 @@ int CheatMenu(const char * gameID)
|
|||||||
if (ret)
|
if (ret)
|
||||||
{
|
{
|
||||||
const char *tt = options2.GetValue(ret);
|
const char *tt = options2.GetValue(ret);
|
||||||
if (strcmp(tt,tr("ON")))
|
if (strncmp(tt,"ON",2) == 0)
|
||||||
{
|
{
|
||||||
options2.SetValue(ret,"%s",tr("OFF"));
|
options2.SetValue(ret,"%s","OFF");
|
||||||
}
|
}
|
||||||
else if (strcmp(tt,tr("OFF")))
|
else if (strncmp(tt,"OFF",2) == 0)
|
||||||
{
|
{
|
||||||
options2.SetValue(ret,"%s",tr("ON"));
|
options2.SetValue(ret,"%s","ON");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -128,7 +128,7 @@ int CheatMenu(const char * gameID)
|
|||||||
for(int i = 0; i <= cntcheats; i++)
|
for(int i = 0; i <= cntcheats; i++)
|
||||||
{
|
{
|
||||||
const char *tt = options2.GetValue(i+1);
|
const char *tt = options2.GetValue(i+1);
|
||||||
if (strcmp(tt,tr("ON")))
|
if (strncmp(tt,"ON",2) == 0)
|
||||||
{
|
{
|
||||||
selectednrs[x] = i;
|
selectednrs[x] = i;
|
||||||
x++;
|
x++;
|
||||||
|
Loading…
Reference in New Issue
Block a user