mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-02 06:53:39 +00:00
Remove frontend_console.h header
This commit is contained in:
parent
ed90e7a446
commit
1c332e42f8
@ -20,7 +20,6 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "../config.def.h"
|
||||
#include "frontend_console.h"
|
||||
#include "menu/rmenu.h"
|
||||
|
||||
#if defined(__CELLOS_LV2__)
|
||||
@ -42,22 +41,13 @@
|
||||
|
||||
default_paths_t default_paths;
|
||||
|
||||
static void verbose_log_init(void)
|
||||
{
|
||||
if (g_extern.verbose)
|
||||
return;
|
||||
|
||||
g_extern.verbose = true;
|
||||
RARCH_LOG("Turning on verbose logging...\n");
|
||||
}
|
||||
|
||||
static inline void inl_logger_init(void)
|
||||
{
|
||||
#if defined(HAVE_LOGGER)
|
||||
verbose_log_init();
|
||||
g_extern.verbose = true;
|
||||
logger_init();
|
||||
#elif defined(HAVE_FILE_LOGGER)
|
||||
verbose_log_init();
|
||||
g_extern.verbose = true;
|
||||
g_extern.log_file = fopen("/retroarch-log.txt", "w");
|
||||
#endif
|
||||
}
|
||||
@ -127,7 +117,7 @@ int rarch_main(int argc, char *argv[])
|
||||
|
||||
rarch_main_clear_state();
|
||||
|
||||
verbose_log_init();
|
||||
g_extern.verbose = true;
|
||||
|
||||
get_environment_settings(argc, argv);
|
||||
config_load();
|
||||
|
@ -1,30 +0,0 @@
|
||||
/* RetroArch - A frontend for libretro.
|
||||
* Copyright (C) 2010-2013 - Hans-Kristian Arntzen
|
||||
* Copyright (C) 2011-2013 - Daniel De Matteis
|
||||
*
|
||||
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
||||
* of the GNU General Public License as published by the Free Software Found-
|
||||
* ation, either version 3 of the License, or (at your option) any later version.
|
||||
*
|
||||
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
||||
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along with RetroArch.
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _FRONTEND_CONSOLE_H
|
||||
#define _FRONTEND_CONSOLE_H
|
||||
|
||||
//optional RetroArch forward declarations
|
||||
static void verbose_log_init(void);
|
||||
|
||||
#ifdef IS_SALAMANDER
|
||||
//optional Salamander forward declarations
|
||||
static void find_first_libretro_core(char *first_file,
|
||||
size_t size_of_first_file, const char *dir,
|
||||
const char * ext);
|
||||
#endif
|
||||
|
||||
#endif
|
@ -17,9 +17,6 @@
|
||||
#ifndef _FRONTEND_SALAMANDER_H
|
||||
#define _FRONTEND_SALAMANDER_H
|
||||
|
||||
//optional RetroArch forward declarations
|
||||
static void verbose_log_init(void);
|
||||
|
||||
//optional Salamander forward declarations
|
||||
static void find_first_libretro_core(char *first_file,
|
||||
size_t size_of_first_file, const char *dir,
|
||||
|
Loading…
x
Reference in New Issue
Block a user