This commit is contained in:
twinaphex 2015-11-23 21:32:05 +01:00
parent 866501703f
commit 32b363c75e
4 changed files with 2 additions and 6 deletions

View File

@ -86,7 +86,6 @@ static void *vg_init(const video_info_t *video, const input_driver_t **input, vo
unsigned temp_width = 0, temp_height = 0;
VGfloat clearColor[4] = {0, 0, 0, 1};
settings_t *settings = config_get_ptr();
driver_t *driver = driver_get_ptr();
const gfx_ctx_driver_t *ctx = NULL;
vg_t *vg = (vg_t*)calloc(1, sizeof(vg_t));

View File

@ -278,7 +278,8 @@ static bool vita2d_gfx_frame(void *data, const void *frame,
}
}
if(msg&&strcmp(msg,"")){
if(msg && strcmp(msg,""))
{
driver_t *driver = driver_get_ptr();
const font_renderer_t *font_ctx = driver->font_osd_driver;

View File

@ -409,7 +409,6 @@ static void *xv_init(const video_info_t *video,
XvAdaptorInfo *adaptor_info = NULL;
const struct retro_game_geometry *geom = NULL;
struct retro_system_av_info *av_info = NULL;
driver_t *driver = driver_get_ptr();
settings_t *settings = config_get_ptr();
xv_t *xv = (xv_t*)calloc(1, sizeof(*xv));

View File

@ -283,9 +283,6 @@ static void state_tracker_update_input(state_tracker_t *tracker)
for (i = 0; i < MAX_USERS; i++)
binds[i] = settings->input.binds[i];
if (!driver->input)
return;
for (i = 0; i < 2; i++)
input_push_analog_dpad(settings->input.binds[i],
settings->input.analog_dpad_mode[i]);