Get rid of some unused runloop variables

This commit is contained in:
twinaphex 2015-05-20 03:13:42 +02:00
parent 019a06a245
commit 969bbdd85d
4 changed files with 0 additions and 5 deletions

View File

@ -21,7 +21,6 @@
#include <string.h>
#include "../../general.h"
#include "../../retroarch.h"
#include "../../runloop.h"
#include "../../performance.h"
#include <retro_inline.h>
#include <gfx/scaler/scaler.h>
@ -483,7 +482,6 @@ static bool sdl2_gfx_frame(void *data, const void *frame, unsigned width,
{
char buf[128];
sdl2_video_t *vid = (sdl2_video_t*)data;
runloop_t *runloop = rarch_main_get_ptr();
driver_t *driver = driver_get_ptr();
if (vid->should_resize)

View File

@ -123,7 +123,6 @@ static void ps3_joypad_poll(void)
unsigned port;
CellPadInfo2 pad_info;
global_t *global = global_get_ptr();
runloop_t *runloop = rarch_main_get_ptr();
uint64_t *lifecycle_state = (uint64_t*)&global->lifecycle_state;
cellPadGetInfo2(&pad_info);

View File

@ -130,7 +130,6 @@ static void rmenu_render(void)
unsigned menu_type = 0;
menu_handle_t *menu = menu_driver_get_ptr();
global_t *global = global_get_ptr();
runloop_t *runloop = rarch_main_get_ptr();
uint64_t frame_count = video_driver_get_frame_count();
size_t entries_end = menu_entries_get_end():

View File

@ -533,7 +533,6 @@ static void rmenu_xui_render(void)
const char *dir = NULL, *label = NULL;
unsigned menu_type = 0;
menu_handle_t *menu = menu_driver_get_ptr();
runloop_t *runloop = rarch_main_get_ptr();
uint64_t frame_count = video_driver_get_frame_count();
if (!menu)