all repos — mgba @ 6bf77357af61dd6638458851a698030ba6eeaa23

mGBA Game Boy Advance Emulator

SDL: Initialize a missing variable
Jeffrey Pfau jeffrey@endrift.com
Wed, 27 Jan 2016 20:19:02 -0800
commit

6bf77357af61dd6638458851a698030ba6eeaa23

parent

3b279b3fbe106f14f181fc208dad9cc43a4d39ba

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/platform/sdl/main.csrc/platform/sdl/main.c

@@ -57,7 +57,7 @@ #endif

int main(int argc, char** argv) { - struct mSDLRenderer renderer; + struct mSDLRenderer renderer = {}; struct GBAInputMap inputMap; GBAInputMapInit(&inputMap);