mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
Get rid of some unused runloop variables
This commit is contained in:
parent
019a06a245
commit
969bbdd85d
@ -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)
|
||||
|
@ -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);
|
||||
|
@ -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():
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user