mirror of
https://github.com/libretro/RetroArch
synced 2025-02-23 15:40:35 +00:00
commit
4620d07ac8
@ -188,8 +188,13 @@ static void resampler_CC_free(void *re_)
|
|||||||
(void)re_;
|
(void)re_;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void *resampler_CC_init(double bandwidth_mod)
|
static void *resampler_CC_init(const struct resampler_config *config,
|
||||||
|
double bandwidth_mod, resampler_simd_mask_t mask)
|
||||||
{
|
{
|
||||||
|
(void)mask;
|
||||||
|
(void)bandwidth_mod;
|
||||||
|
(void)config;
|
||||||
|
|
||||||
__asm__ (
|
__asm__ (
|
||||||
".set push\n"
|
".set push\n"
|
||||||
".set noreorder\n"
|
".set noreorder\n"
|
||||||
|
11
driver.c
11
driver.c
@ -1349,6 +1349,7 @@ void init_video_input(void)
|
|||||||
const input_driver_t *tmp = NULL;
|
const input_driver_t *tmp = NULL;
|
||||||
const struct retro_game_geometry *geom = NULL;
|
const struct retro_game_geometry *geom = NULL;
|
||||||
video_info_t video = {0};
|
video_info_t video = {0};
|
||||||
|
static int dummy_pixel=0;
|
||||||
|
|
||||||
rarch_init_filter(g_extern.system.pix_fmt);
|
rarch_init_filter(g_extern.system.pix_fmt);
|
||||||
rarch_init_shader_dir();
|
rarch_init_shader_dir();
|
||||||
@ -1516,6 +1517,16 @@ void init_video_input(void)
|
|||||||
rarch_main_command(RARCH_CMD_OVERLAY_INIT);
|
rarch_main_command(RARCH_CMD_OVERLAY_INIT);
|
||||||
|
|
||||||
g_extern.measure_data.frame_time_samples_count = 0;
|
g_extern.measure_data.frame_time_samples_count = 0;
|
||||||
|
|
||||||
|
g_extern.frame_cache.width = 1;
|
||||||
|
g_extern.frame_cache.height = 1;
|
||||||
|
g_extern.frame_cache.pitch = 4;
|
||||||
|
g_extern.frame_cache.data = &dummy_pixel;
|
||||||
|
|
||||||
|
if (driver.video_poke && driver.video_poke->set_texture_frame)
|
||||||
|
driver.video_poke->set_texture_frame(driver.video_data,
|
||||||
|
&dummy_pixel, false, 1, 1, 1.0f);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void uninit_video_input(void)
|
void uninit_video_input(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user