Get rid of some configuration.h dependencies
This commit is contained in:
parent
83a03b6679
commit
d918c1791a
|
@ -304,23 +304,9 @@ static const char *font_renderer_ft_get_default_font(void)
|
||||||
return "";
|
return "";
|
||||||
#else
|
#else
|
||||||
size_t i;
|
size_t i;
|
||||||
#if 0
|
|
||||||
char asset_path[PATH_MAX_LENGTH];
|
|
||||||
#endif
|
|
||||||
|
|
||||||
for (i = 0; i < ARRAY_SIZE(font_paths); i++)
|
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]))
|
if (path_is_valid(font_paths[i]))
|
||||||
return font_paths[i];
|
return font_paths[i];
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,6 @@
|
||||||
#include "../common/d3d_common.h"
|
#include "../common/d3d_common.h"
|
||||||
#include "../drivers/d3d_shaders/opaque.cg.d3d9.h"
|
#include "../drivers/d3d_shaders/opaque.cg.d3d9.h"
|
||||||
|
|
||||||
#include "../../configuration.h"
|
|
||||||
#include "../../retroarch.h"
|
#include "../../retroarch.h"
|
||||||
#include "../../verbosity.h"
|
#include "../../verbosity.h"
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@
|
||||||
|
|
||||||
#include "../video_shader_parse.h"
|
#include "../video_shader_parse.h"
|
||||||
#include "../../managers/state_manager.h"
|
#include "../../managers/state_manager.h"
|
||||||
#include "../../configuration.h"
|
|
||||||
#include "../../retroarch.h"
|
#include "../../retroarch.h"
|
||||||
#include "../../verbosity.h"
|
#include "../../verbosity.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue