Skip to content

Commit

Permalink
uhh
Browse files Browse the repository at this point in the history
  • Loading branch information
tsssu committed Apr 24, 2024
1 parent 0c96fd8 commit e326fe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ void AddGXTLabel(const char* gxtLabel, const char* text);
extern "C" void OnModPreLoad()
{
logger->SetTag("CLEO Mod");
pCfgCLEOLocation = cfg->Bind("CLEO_Location", "/storage/emulated/0/Android/media/ro.alyn_sampmobile.game");
pCfgCLEOLocation = cfg->Bind("CLEO_Location", "/storage/emulated/0/Android/media/ro.alyn_sampmobile.game/cleo");
pCfgCLEORedArrow = cfg->Bind("CLEO_RedArrow", true);
pCfgCLEOMenuColor = cfg->Bind("CLEO_MenuColor", "55 127 175 150");
pCfgCLEOMenuArrowColor = cfg->Bind("CLEO_MenuArrowColor", "55 127 175 100");
Expand Down Expand Up @@ -247,7 +247,7 @@ extern "C" void OnModPreLoad()
cleo = (cleo_ifs_t*)(nCLEOAddr + 0x219AA8); // VTable = 0xC382
nGameIdent = (eGameIdent*)(nCLEOAddr + 0x19298);

char tmp[256];
char tmp[512];
snprintf(tmp, sizeof(tmp), "%s", pCfgCLEOLocation->GetString());
__pathback(tmp);
setenv("EXTERNAL_STORAGE", tmp, 1);
Expand Down

0 comments on commit e326fe6

Please sign in to comment.