mirror of
https://github.com/libretro/RetroArch
synced 2024-07-03 00:38:44 +00:00
Move config_file_userdata.c to libretro-common
This commit is contained in:
parent
f9b44bbcf6
commit
8042c2ac62
|
@ -199,7 +199,7 @@ OBJ += frontend/frontend.o \
|
|||
managers/cheat_manager.o \
|
||||
core_info.o \
|
||||
$(LIBRETRO_COMM_DIR)/file/config_file.o \
|
||||
config_file_userdata.o \
|
||||
$(LIBRETRO_COMM_DIR)/file/config_file_userdata.o \
|
||||
tasks/task_screenshot.o \
|
||||
$(LIBRETRO_COMM_DIR)/gfx/scaler/scaler.o \
|
||||
gfx/drivers_shader/shader_null.o \
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include <dynamic/dylib.h>
|
||||
|
||||
#include <file/file_path.h>
|
||||
#include <file/config_file_userdata.h>
|
||||
#include <lists/dir_list.h>
|
||||
#include <features/features_cpu.h>
|
||||
#include <string/stdstring.h>
|
||||
|
@ -29,7 +30,6 @@
|
|||
#include "audio_dsp_filter.h"
|
||||
#include "audio_filters/dspfilter.h"
|
||||
|
||||
#include "../config_file_userdata.h"
|
||||
#include "../frontend/frontend_driver.h"
|
||||
#include "../performance_counters.h"
|
||||
#include "../dynamic.h"
|
||||
|
|
|
@ -18,10 +18,9 @@
|
|||
|
||||
#include <string/stdstring.h>
|
||||
#include <features/features_cpu.h>
|
||||
#include <file/config_file_userdata.h>
|
||||
|
||||
#include "audio_resampler_driver.h"
|
||||
#include "../config_file_userdata.h"
|
||||
#include "../performance_counters.h"
|
||||
|
||||
static const rarch_resampler_t *resampler_drivers[] = {
|
||||
&sinc_resampler,
|
||||
|
@ -108,11 +107,6 @@ static const rarch_resampler_t *find_resampler_driver(const char *ident)
|
|||
return resampler_drivers[0];
|
||||
}
|
||||
|
||||
static resampler_simd_mask_t resampler_get_cpu_features(void)
|
||||
{
|
||||
return cpu_features_get();
|
||||
}
|
||||
|
||||
/**
|
||||
* resampler_append_plugs:
|
||||
* @re : Resampler handle
|
||||
|
@ -127,7 +121,7 @@ static bool resampler_append_plugs(void **re,
|
|||
const rarch_resampler_t **backend,
|
||||
double bw_ratio)
|
||||
{
|
||||
resampler_simd_mask_t mask = resampler_get_cpu_features();
|
||||
resampler_simd_mask_t mask = cpu_features_get();
|
||||
|
||||
*re = (*backend)->init(&resampler_config, bw_ratio, mask);
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
#include <file/file_path.h>
|
||||
#include <file/config_file_userdata.h>
|
||||
#include <lists/dir_list.h>
|
||||
#include <dynamic/dylib.h>
|
||||
#include <features/features_cpu.h>
|
||||
|
@ -28,7 +29,6 @@
|
|||
#endif
|
||||
|
||||
#include "../frontend/frontend_driver.h"
|
||||
#include "../config_file_userdata.h"
|
||||
#include "../dynamic.h"
|
||||
#include "../performance_counters.h"
|
||||
#include "../verbosity.h"
|
||||
|
|
|
@ -122,7 +122,7 @@ CONFIG FILE
|
|||
#endif
|
||||
|
||||
#include "../libretro-common/file/config_file.c"
|
||||
#include "../config_file_userdata.c"
|
||||
#include "../libretro-common/file/config_file_userdata.c"
|
||||
#include "../managers/core_option_manager.c"
|
||||
|
||||
/*============================================================
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include <file/file_path.h>
|
||||
#include <lists/string_list.h>
|
||||
|
||||
#include "config_file_userdata.h"
|
||||
#include <file/config_file_userdata.h>
|
||||
|
||||
int config_userdata_get_float(void *userdata, const char *key_str,
|
||||
float *value, float default_value)
|
Loading…
Reference in New Issue
Block a user