Merge pull request #110 from negativeExponent/fix_missing_field_initializers

Fix missing-field-initializer warnings
This commit is contained in:
LibretroAdmin 2022-10-07 08:20:51 +02:00 committed by GitHub
commit cb3fc44789
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 4 deletions

View File

@ -1013,7 +1013,8 @@ mapperHuC3RTC gbRTCHuC3 = {
0, // DateTime
0, // WritingTime
0, // ModeFlag
0 // ClockShift
0, // ClockShift
{ 0 }
};
void memoryUpdateHuC3Latch() {

View File

@ -970,7 +970,7 @@ static bool option_swapAnalogSticks;
static void update_variables(bool startup)
{
struct retro_variable var = {0};
struct retro_variable var = { NULL, NULL };
char key[256] = {0};
int disabled_layers = 0;
int sound_enabled = 0x30F;

View File

@ -618,7 +618,7 @@ struct retro_core_option_v2_definition option_defs_us[] = {
},
"enabled"
},
{ NULL, NULL, NULL, NULL, NULL, NULL, {{0}}, NULL },
{ NULL, NULL, NULL, NULL, NULL, NULL, { { NULL, NULL } }, NULL },
};
struct retro_core_options_v2 options_us = {

View File

@ -613,7 +613,8 @@ struct retro_core_option_v2_definition option_defs_tr[] = {
},
"enabled"
},
{ NULL, NULL, NULL, NULL, NULL, NULL, {{0}}, NULL },
{ NULL, NULL, NULL, NULL, NULL, NULL, { { NULL, NULL } }, NULL },
};
struct retro_core_options_v2 options_tr = {