1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-05 09:48:42 +00:00

Fix local header path includes

This commit is contained in:
twinaphex 2021-12-04 16:11:02 +01:00
parent a44f5bbf78
commit bfeffb2423
7 changed files with 18 additions and 18 deletions

View File

@ -18,11 +18,8 @@
#define __RARCH_CHEEVOS_LOCALS_H #define __RARCH_CHEEVOS_LOCALS_H
#include "../deps/rcheevos/include/rc_runtime.h" #include "../deps/rcheevos/include/rc_runtime.h"
#include "../deps/rcheevos/src/rcheevos/rc_libretro.h" #include "../deps/rcheevos/src/rcheevos/rc_libretro.h"
#include <../command.h>
#include <../verbosity.h>
#include <boolean.h> #include <boolean.h>
#include <queues/task_queue.h> #include <queues/task_queue.h>
@ -32,6 +29,9 @@
#include <retro_common_api.h> #include <retro_common_api.h>
#include "../command.h"
#include "../verbosity.h"
RETRO_BEGIN_DECLS RETRO_BEGIN_DECLS
/************************************************************************ /************************************************************************

View File

@ -21,7 +21,7 @@
#include <boolean.h> #include <boolean.h>
#include "joypad_connection.h" #include "joypad_connection.h"
#include "../input_defines.h" #include "../input_defines.h"
#include "verbosity.h" #include "../../verbosity.h"
#define DS3_ACTIVATION_REPORT_ID 0xf4 #define DS3_ACTIVATION_REPORT_ID 0xf4

View File

@ -23,8 +23,6 @@
#include "../input_defines.h" #include "../input_defines.h"
static int port_count = 0;
/* store device for each port */ /* store device for each port */
static struct hidpad_retrode_data* port_device[4]; static struct hidpad_retrode_data* port_device[4];
@ -33,13 +31,14 @@ struct hidpad_retrode_data
struct pad_connection* connection; struct pad_connection* connection;
uint32_t slot; uint32_t slot;
uint32_t buttons; uint32_t buttons;
int port_count;
uint8_t data[64]; uint8_t data[64];
}; };
static void* hidpad_retrode_init(void *data, uint32_t slot, hid_driver_t *driver) static void* hidpad_retrode_init(void *data, uint32_t slot, hid_driver_t *driver)
{ {
struct pad_connection* connection = (struct pad_connection*)data; struct pad_connection* connection = (struct pad_connection*)data;
struct hidpad_retrode_data* device = (struct hidpad_retrode_data*) struct hidpad_retrode_data* device = (struct hidpad_retrode_data*)
calloc(1, sizeof(struct hidpad_retrode_data)); calloc(1, sizeof(struct hidpad_retrode_data));
if (!device) if (!device)
@ -54,8 +53,8 @@ static void* hidpad_retrode_init(void *data, uint32_t slot, hid_driver_t *driver
device->connection = connection; device->connection = connection;
device->slot = slot; device->slot = slot;
port_device[port_count] = device; port_device[device->port_count] = device;
port_count++; device->port_count++;
return device; return device;
} }
@ -67,7 +66,6 @@ static void hidpad_retrode_deinit(void *data)
if (device) if (device)
free(device); free(device);
port_count = 0;
port_device[0] = NULL; port_device[0] = NULL;
port_device[1] = NULL; port_device[1] = NULL;
port_device[2] = NULL; port_device[2] = NULL;

View File

@ -12,11 +12,10 @@
* If not, see <http://www.gnu.org/licenses/>. * If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <stdio.h>
#include <string/stdstring.h> #include <string/stdstring.h>
#include "led_driver.h" #include "led_driver.h"
#include "verbosity.h" #include "../verbosity.h"
static const led_driver_t *current_led_driver = NULL; static const led_driver_t *current_led_driver = NULL;

View File

@ -16,11 +16,11 @@
#include <alsa/asoundlib.h> #include <alsa/asoundlib.h>
#include <libretro.h> #include <libretro.h>
#include <verbosity.h>
#include <lists/string_list.h> #include <lists/string_list.h>
#include <string/stdstring.h> #include <string/stdstring.h>
#include "../midi_driver.h" #include "../midi_driver.h"
#include "../../verbosity.h"
typedef struct typedef struct
{ {

View File

@ -19,11 +19,13 @@
#include <lists/string_list.h> #include <lists/string_list.h>
#include <string/stdstring.h> #include <string/stdstring.h>
#include <retro_miscellaneous.h> #include <retro_miscellaneous.h>
#include <configuration.h>
#include <verbosity.h>
#include <time.h> #include <time.h>
#include "../wifi_driver.h" #include "../wifi_driver.h"
#include "../../configuration.h"
#include "../../retroarch.h" #include "../../retroarch.h"
#include "../../verbosity.h"
#include "../../lakka.h" #include "../../lakka.h"
#ifdef HAVE_GFX_WIDGETS #ifdef HAVE_GFX_WIDGETS
#include "../../gfx/gfx_widgets.h" #include "../../gfx/gfx_widgets.h"

View File

@ -19,13 +19,14 @@
#include <array/rbuf.h> #include <array/rbuf.h>
#include <string/stdstring.h> #include <string/stdstring.h>
#include <retro_miscellaneous.h> #include <retro_miscellaneous.h>
#include <configuration.h>
#include <verbosity.h>
#include <string.h> #include <string.h>
#include <libretro.h> #include <libretro.h>
#include "../wifi_driver.h" #include "../wifi_driver.h"
#include "../../retroarch.h" #include "../../retroarch.h"
#include "../../configuration.h"
#include "../../verbosity.h"
typedef struct typedef struct
{ {