all repos — mgba @ eb341bb167d37897f1bc6141ce84093aa71bc221

mGBA Game Boy Advance Emulator

(libretro) Explicitly set core reported aspect ratio to 3:2
Monroe88 wmsmart88@gmail.com
Thu, 27 Aug 2015 18:37:50 -0500
commit

eb341bb167d37897f1bc6141ce84093aa71bc221

parent

74bbc057bb0046e0f2effd86e981c7e99863c465

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

jump to
M src/platform/libretro/libretro.csrc/platform/libretro/libretro.c

@@ -99,6 +99,7 @@ info->geometry.base_width = VIDEO_HORIZONTAL_PIXELS;

info->geometry.base_height = VIDEO_VERTICAL_PIXELS; info->geometry.max_width = VIDEO_HORIZONTAL_PIXELS; info->geometry.max_height = VIDEO_VERTICAL_PIXELS; + info->geometry.aspect_ratio = 3.0 / 2.0; info->timing.fps = GBA_ARM7TDMI_FREQUENCY / (float) VIDEO_TOTAL_LENGTH; info->timing.sample_rate = 32768; }