stack overflow fix

This commit is contained in:
BADIM-PC\Vadim 2018-03-16 08:54:13 +03:00
parent 03efd90518
commit 55d5b620a4
1 changed files with 5 additions and 6 deletions

View File

@ -352,13 +352,12 @@ static void save(Config* config)
void initConfig(Config* config, tic_mem* tic, FileSystem* fs)
{
*config = (Config)
{
.tic = tic,
.save = save,
.reset = reset,
.fs = fs,
};
config->tic = tic;
config->save = save;
config->reset = reset;
config->fs = fs;
}
setDefault(config);