Merge pull request #82 from Aftnet/master

Fixed compilation issues in MSVC
This commit is contained in:
Twinaphex 2017-06-05 19:24:41 +02:00 committed by GitHub
commit 675a8385b3
2 changed files with 2 additions and 1 deletions

View File

@ -186,7 +186,7 @@ static struct retro_system_timing g_timing;
void retro_get_system_av_info(struct retro_system_av_info *info)
{
retro_game_geometry geom = { 160*NUM_GAMEBOYS, 144, 160*NUM_GAMEBOYS, 144 };
retro_game_geometry geom = { 160*NUM_GAMEBOYS, 144, 160*NUM_GAMEBOYS, 144, 160.0f/144.0f };
info->geometry = geom;
info->timing = g_timing;
}

View File

@ -22,6 +22,7 @@
#include <fstream>
#include <stdio.h>
#include <string.h>
#include <algorithm>
namespace gambatte
{