Get rid of some configuration.h dependencies

This commit is contained in:
twinaphex 2020-02-12 16:09:30 +01:00
parent 83a03b6679
commit d918c1791a
3 changed files with 0 additions and 16 deletions

View File

@ -304,23 +304,9 @@ static const char *font_renderer_ft_get_default_font(void)
return "";
#else
size_t i;
#if 0
char asset_path[PATH_MAX_LENGTH];
#endif
for (i = 0; i < ARRAY_SIZE(font_paths); i++)
{
#if 0
/* Check if we are getting the font from the assets directory. */
if (string_is_equal(font_paths[i], "assets://pkg/osd-font.ttf"))
{
settings_t *settings = config_get_ptr();
fill_pathname_join(asset_path,
settings->paths.directory_assets, "pkg/osd-font.ttf", PATH_MAX_LENGTH);
font_paths[i] = asset_path;
}
#endif
if (path_is_valid(font_paths[i]))
return font_paths[i];
}

View File

@ -34,7 +34,6 @@
#include "../common/d3d_common.h"
#include "../drivers/d3d_shaders/opaque.cg.d3d9.h"
#include "../../configuration.h"
#include "../../retroarch.h"
#include "../../verbosity.h"

View File

@ -34,7 +34,6 @@
#include "../video_shader_parse.h"
#include "../../managers/state_manager.h"
#include "../../configuration.h"
#include "../../retroarch.h"
#include "../../verbosity.h"