mirror of
https://github.com/libretro/RetroArch
synced 2025-03-26 02:37:23 +00:00
Change some header includes
This commit is contained in:
parent
f45867d1cd
commit
5ba14b45ce
5
driver.c
5
driver.c
@ -291,7 +291,7 @@ void driver_set_nonblock_state(void)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* driver_update_system_av_info:
|
* 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.
|
* Update the system Audio/Video information.
|
||||||
* Will reinitialize audio/video drivers.
|
* Will reinitialize audio/video drivers.
|
||||||
@ -299,8 +299,9 @@ void driver_set_nonblock_state(void)
|
|||||||
*
|
*
|
||||||
* Returns: true (1) if successful, otherwise false (0).
|
* 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)
|
||||||
{
|
{
|
||||||
|
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();
|
struct retro_system_av_info *av_info = video_viewport_get_system_av_info();
|
||||||
|
|
||||||
memcpy(av_info, info, sizeof(*av_info));
|
memcpy(av_info, info, sizeof(*av_info));
|
||||||
|
4
driver.h
4
driver.h
@ -24,8 +24,6 @@
|
|||||||
#include <boolean.h>
|
#include <boolean.h>
|
||||||
#include <compat/posix_string.h>
|
#include <compat/posix_string.h>
|
||||||
|
|
||||||
#include "libretro.h"
|
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
@ -275,7 +273,7 @@ void driver_set_refresh_rate(float hz);
|
|||||||
*
|
*
|
||||||
* Returns: true (1) if successful, otherwise false (0).
|
* 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:
|
* find_driver_index:
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "input_x11_common.h"
|
#include "input_x11_common.h"
|
||||||
|
#include "../../libretro.h"
|
||||||
|
|
||||||
static bool x11_mouse_wu;
|
static bool x11_mouse_wu;
|
||||||
static bool x11_mouse_wd;
|
static bool x11_mouse_wd;
|
||||||
|
@ -19,7 +19,8 @@
|
|||||||
|
|
||||||
#include <file/config_file.h>
|
#include <file/config_file.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "../driver.h"
|
|
||||||
|
#include "../libretro.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user