mirror of
https://github.com/libretro/RetroArch
synced 2025-03-22 16:20:58 +00:00
Change some header includes
This commit is contained in:
parent
f45867d1cd
commit
5ba14b45ce
7
driver.c
7
driver.c
@ -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);
|
||||
|
4
driver.h
4
driver.h
@ -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:
|
||||
|
@ -14,6 +14,7 @@
|
||||
*/
|
||||
|
||||
#include "input_x11_common.h"
|
||||
#include "../../libretro.h"
|
||||
|
||||
static bool x11_mouse_wu;
|
||||
static bool x11_mouse_wd;
|
||||
|
@ -19,7 +19,8 @@
|
||||
|
||||
#include <file/config_file.h>
|
||||
#include <stdint.h>
|
||||
#include "../driver.h"
|
||||
|
||||
#include "../libretro.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user