Test: Difference between revisions

From OuroDev
No edit summary
(Replaced content with "Test")
Tag: Replaced
Line 1: Line 1:
Test
Test
<syntaxhighlight lang="c++">
void initGameChecksum()
{
char *s,full_path[MAX_PATH];
strcpy(full_path,fileDataDir());
s = strrchr(full_path,'/');
if (s)
*s = 0;
strcat(full_path,"/Some.exe");
if (!checksumFile(full_path,correct_game_checksum))
{
ignore_checksum = 1;
printf("game checksum = 0, assuming dev mode\n");
}
}
</syntaxhighlight>

Revision as of 22:19, 26 April 2019

Test