debug.c needs dylib.h.
[SquirrelJME.git] / nanocoat / frontend / libretro / video.c
blobe14f81edb7d87e455ecb2c3ffe6d829cb1e6a7d4
1 /* -*- Mode: C; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
3 // SquirrelJME
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the Mozilla Public License Version 2.0.
7 // See license.mkd for licensing and copyright information.
8 // -------------------------------------------------------------------------*/
10 #include "sjme/nvm/nvm.h"
11 #include "sjme/debug.h"
12 #include "3rdparty/libretro/libretro.h"
13 #include "frontend/libretro/shared.h"
14 #include "sjme/nvm/modelessStars.h"
16 sjme_attrUnused RETRO_API void retro_get_system_av_info(
17 struct retro_system_av_info* info)
19 /* Base size. */
20 info->geometry.base_width = 240;
21 info->geometry.base_height = 320;
23 /* Maximum permitted size. */
24 info->geometry.max_width = 240;
25 info->geometry.max_height = 320;
27 /* Always square pixels. */
28 info->geometry.aspect_ratio = 1.0F;
30 /* Always target 60 FPS. */
31 info->timing.fps = 60;
33 /* Use a standard audio format here. */
34 info->timing.sample_rate = 22050;
37 sjme_attrUnused RETRO_API void retro_set_video_refresh(
38 retro_video_refresh_t refresh)
40 sjme_libretro_videoRefreshCallback = refresh;