Test keystrokes

This commit is contained in:
jl777
2019-02-06 00:01:30 -11:00
parent 69122cfdf5
commit 20b1d0df88
2 changed files with 2 additions and 2 deletions

View File

@@ -146,7 +146,7 @@ void rogue_progress(uint64_t seed,char *keystrokes,int32_t num) // use seed to l
for (i=0; i<num; i++)
sprintf(&hexstr[i<<1],"%02x",keystrokes[i]);
hexstr[i<<1] = 0;
sprintf(cmd,"./komodo-cli -ac_name=ROGUE keystrokes 17 \"[%%22%s%%22,%%22%s%%22]\"",Gametxidstr,hexstr);
sprintf(cmd,"./komodo-cli -ac_name=ROGUE cclib keystrokes 17 \\\"[%%22%s%%22,%%22%s%%22]\\\"",Gametxidstr,hexstr);
if ( system(cmd) != 0 )
fprintf(stderr,"error issuing (%s)\n",cmd);
}