From 7578e0432e6d0bb53326bbcbb2762b21084e8d80 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 5 Dec 2015 13:26:53 +0100 Subject: [PATCH] Reorder remaining driver struct members --- driver.h | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/driver.h b/driver.h index 7c98fab49f..6c977cf162 100644 --- a/driver.h +++ b/driver.h @@ -185,17 +185,21 @@ enum typedef struct driver { const camera_driver_t *camera; - const location_driver_t *location; - const record_driver_t *recording; - struct retro_callbacks retro_ctx; void *camera_data; - void *location_data; - void *recording_data; - void *netplay_data; - bool camera_active; - bool location_active; + bool camera_data_own; + const location_driver_t *location; + void *location_data; + bool location_active; + bool location_data_own; + + const record_driver_t *recording; + void *recording_data; + + struct retro_callbacks retro_ctx; + + void *netplay_data; /* Set this to true if the platform in question needs to 'own' * the respective handle and therefore skip regular RetroArch @@ -209,8 +213,6 @@ typedef struct driver * * Typically, if a driver intends to make use of this, it should * set this to true at the end of its 'init' function. */ - bool camera_data_own; - bool location_data_own; } driver_t; /**