Unverified Commit 2c65695a authored by Libretro-Admin's avatar Libretro-Admin Committed by GitHub
Browse files

Merge pull request #71 from msheehan79/master

Attempt to fix MSVC build errors
parents 0ab0a7c0 1dd07ba8
Pipeline #78692 passed with stages
in 5 minutes and 51 seconds
......@@ -117,13 +117,6 @@ void retro_init(void)
char gromPath[PATH_MAX_LENGTH];
struct retro_keyboard_callback kb = { Keyboard };
// init buffers, structs
memset(frame, 0, frameSize);
OSD_setDisplay(frame, MaxWidth, MaxHeight);
// setup controller swap
controllerInit();
// controller descriptors
struct retro_input_descriptor desc[] = {
{ 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_LEFT, "Disc Left" },
......@@ -167,6 +160,13 @@ void retro_init(void)
{ 0 },
};
// init buffers, structs
memset(frame, 0, frameSize);
OSD_setDisplay(frame, MaxWidth, MaxHeight);
// setup controller swap
controllerInit();
Environ(RETRO_ENVIRONMENT_SET_INPUT_DESCRIPTORS, desc);
// reset console
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment