mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Start getting rid of driver->input references
This commit is contained in:
parent
c96312ad04
commit
4ff0492e3d
@ -428,7 +428,7 @@ error:
|
||||
static void init_video_input(const input_driver_t *tmp)
|
||||
{
|
||||
driver_t *driver = driver_get_ptr();
|
||||
if (driver->input)
|
||||
if (input_get_ptr())
|
||||
return;
|
||||
|
||||
/* Reset video frame count */
|
||||
@ -446,7 +446,7 @@ static void init_video_input(const input_driver_t *tmp)
|
||||
/* This should never really happen as tmp (driver.input) is always
|
||||
* found before this in find_driver_input(), or we have aborted
|
||||
* in a similar fashion anyways. */
|
||||
if (!driver->input)
|
||||
if (!input_get_ptr())
|
||||
goto error;
|
||||
|
||||
if (input_driver_ctl(RARCH_INPUT_CTL_INIT, NULL))
|
||||
|
Loading…
x
Reference in New Issue
Block a user