This commit is contained in:
twinaphex 2016-09-11 14:54:34 +02:00
parent 202e3e796e
commit 7ac1ed7e10
8 changed files with 36 additions and 31 deletions

View File

@ -25,6 +25,10 @@
#include <CoreFoundation/CoreFoundation.h>
#include <CoreFoundation/CFArray.h>
#ifdef HAVE_CONFIG_H
#include "../../config.h"
#endif
#ifdef __OBJC__
#include <Foundation/NSPathUtilities.h>
#include <objc/message.h>
@ -45,10 +49,6 @@
#include <file/file_path.h>
#include <rhash.h>
#ifdef HAVE_CONFIG_H
#include "../../config.h"
#endif
#ifdef HAVE_MENU
#include "../../menu/menu_driver.h"
#endif
@ -57,7 +57,7 @@
#include "../../file_path_special.h"
#include "../../configuration.h"
#include "../../defaults.h"
#include "../../general.h"
#include "../../runloop.h"
#include "../../verbosity.h"
#include "../../ui/ui_companion_driver.h"

View File

@ -20,29 +20,31 @@
#include <file/config_file.h>
#include <queues/task_queue.h>
#include "../../configuration.h"
#include "../../defaults.h"
#include "../../general.h"
#include "../../content.h"
#include "../frontend.h"
#include "../../retroarch.h"
#include "../../runloop.h"
#include "../frontend_driver.h"
#include "../../command.h"
#include <retro_stat.h>
#include <file/file_path.h>
#include "../../file_path_special.h"
#ifdef HAVE_CONFIG_H
#include "../../config.h"
#endif
#ifndef IS_SALAMANDER
#include <lists/file_list.h>
#endif
#include <retro_stat.h>
#include "../frontend.h"
#include "../frontend_driver.h"
#include "../../configuration.h"
#include "../../defaults.h"
#include "../../content.h"
#include "../../retroarch.h"
#include "../../runloop.h"
#include "../../command.h"
#include "../../file_path_special.h"
static void emscripten_mainloop(void)
{
unsigned sleep_ms = 0;
int ret = runloop_iterate(&sleep_ms);
int ret = runloop_iterate(&sleep_ms);
if (ret == 1 && sleep_ms > 0)
retro_sleep(sleep_ms);
task_queue_ctl(TASK_QUEUE_CTL_CHECK, NULL);

View File

@ -23,17 +23,19 @@
#include <lists/file_list.h>
#include <file/file_path.h>
#include "../frontend_driver.h"
#include "../../configuration.h"
#include "../../general.h"
#include "../../verbosity.h"
#ifdef HAVE_CONFIG_H
#include "../../config.h"
#endif
#ifdef HAVE_MENU
#include "../../menu/menu_driver.h"
#endif
#include "../frontend_driver.h"
#include "../../configuration.h"
#include "../../defaults.h"
#include "../../runloop.h"
#include "../../verbosity.h"
/* We only load this library once, so we let it be
* unloaded at application shutdown, since unloading

View File

@ -23,7 +23,6 @@
#include <string/stdstring.h>
#include "../../defines/psp_defines.h"
#include "../../general.h"
#include "../../driver.h"
#include "../video_coord_array.h"

View File

@ -20,11 +20,10 @@
#include "../../config.h"
#endif
#include "win32_common.h"
#include "../../frontend/frontend_driver.h"
#include "../../configuration.h"
#include "../../general.h"
#include "../../verbosity.h"
#include "win32_common.h"
#include "../../driver.h"
#include "../../runloop.h"
#include "../../tasks/tasks_internal.h"

View File

@ -44,7 +44,6 @@
#include <xfont.h>
#endif
#include "../../general.h"
#include "../../driver.h"
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_HLSL)

View File

@ -41,7 +41,7 @@
#include "../../gfx/video_context_driver.h"
#include "../../general.h"
#include "../../runloop.h"
#include "../../gfx/d3d/d3d.h"

View File

@ -22,14 +22,18 @@
#include <file/file_path.h>
#include <rthreads/rthreads.h>
#include "general.h"
#ifdef HAVE_CONFIG_H
#include "../../config.h"
#endif
#include "ui_qt.h"
#include "qt/wrapper/wrapper.h"
#include "../ui_companion_driver.h"
#include "../../core.h"
#include "../../configuration.h"
#include "../../runloop.h"
#include "../../tasks/tasks_internal.h"
#include "qt/wrapper/wrapper.h"
#ifdef HAVE_QT_WRAPPER
struct Wimp* wimp;