Change some header includes

This commit is contained in:
twinaphex 2015-12-05 20:05:32 +01:00
parent f45867d1cd
commit 5ba14b45ce
4 changed files with 8 additions and 7 deletions

View File

@ -291,7 +291,7 @@ void driver_set_nonblock_state(void)
/**
* driver_update_system_av_info:
* @info : pointer to new A/V info
* @data : pointer to new A/V info
*
* Update the system Audio/Video information.
* Will reinitialize audio/video drivers.
@ -299,9 +299,10 @@ void driver_set_nonblock_state(void)
*
* Returns: true (1) if successful, otherwise false (0).
**/
bool driver_update_system_av_info(const struct retro_system_av_info *info)
bool driver_update_system_av_info(const void *data)
{
struct retro_system_av_info *av_info = video_viewport_get_system_av_info();
const struct retro_system_av_info *info = (const struct retro_system_av_info*)data;
struct retro_system_av_info *av_info = video_viewport_get_system_av_info();
memcpy(av_info, info, sizeof(*av_info));
event_command(EVENT_CMD_REINIT);

View File

@ -24,8 +24,6 @@
#include <boolean.h>
#include <compat/posix_string.h>
#include "libretro.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@ -275,7 +273,7 @@ void driver_set_refresh_rate(float hz);
*
* Returns: true (1) if successful, otherwise false (0).
**/
bool driver_update_system_av_info(const struct retro_system_av_info *info);
bool driver_update_system_av_info(const void *data);
/**
* find_driver_index:

View File

@ -14,6 +14,7 @@
*/
#include "input_x11_common.h"
#include "../../libretro.h"
static bool x11_mouse_wu;
static bool x11_mouse_wd;

View File

@ -19,7 +19,8 @@
#include <file/config_file.h>
#include <stdint.h>
#include "../driver.h"
#include "../libretro.h"
#ifdef __cplusplus
extern "C" {