RetroArch
Functions | Variables
platform_emscripten.c File Reference
#include <emscripten/emscripten.h>
#include <emscripten/html5.h>
#include <string.h>
#include <file/config_file.h>
#include <queues/task_queue.h>
#include <file/file_path.h>
#include <string/stdstring.h>
#include <retro_timers.h>
#include <gfx/video_frame.h>
#include <glsym/glsym.h>
#include <lists/file_list.h>
#include "../frontend.h"
#include "../frontend_driver.h"
#include "../../configuration.h"
#include "../../defaults.h"
#include "../../content.h"
#include "../../retroarch.h"
#include "../../verbosity.h"
#include "../../command.h"
#include "../../tasks/tasks_internal.h"
#include "../../file_path_special.h"
Include dependency graph for platform_emscripten.c:

Functions

void RWebAudioRecalibrateTime (void)
 
static EM_BOOL emscripten_fullscreenchange_cb (int event_type, const EmscriptenFullscreenChangeEvent *fullscreen_change_event, void *user_data)
 
static void emscripten_mainloop (void)
 
void cmd_savefiles (void)
 
void cmd_save_state (void)
 
void cmd_load_state (void)
 
void cmd_take_screenshot (void)
 
static void frontend_emscripten_get_env (int *argc, char *argv[], void *args, void *params_data)
 
int main (int argc, char *argv[])
 

Variables

static unsigned emscripten_fullscreen_reinit
 
static unsigned emscripten_frame_count = 0
 
frontend_ctx_driver_t frontend_ctx_emscripten
 

Function Documentation

◆ cmd_load_state()

void cmd_load_state ( void  )
Here is the call graph for this function:

◆ cmd_save_state()

void cmd_save_state ( void  )
Here is the call graph for this function:

◆ cmd_savefiles()

void cmd_savefiles ( void  )
Here is the call graph for this function:

◆ cmd_take_screenshot()

void cmd_take_screenshot ( void  )
Here is the call graph for this function:

◆ emscripten_fullscreenchange_cb()

static EM_BOOL emscripten_fullscreenchange_cb ( int  event_type,
const EmscriptenFullscreenChangeEvent *  fullscreen_change_event,
void user_data 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ emscripten_mainloop()

static void emscripten_mainloop ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_emscripten_get_env()

static void frontend_emscripten_get_env ( int *  argc,
char *  argv[],
void args,
void params_data 
)
static
Here is the call graph for this function:

◆ main()

int main ( int  argc,
char *  argv[] 
)
Here is the call graph for this function:

◆ RWebAudioRecalibrateTime()

void RWebAudioRecalibrateTime ( void  )
Here is the caller graph for this function:

Variable Documentation

◆ emscripten_frame_count

unsigned emscripten_frame_count = 0
static

◆ emscripten_fullscreen_reinit

unsigned emscripten_fullscreen_reinit
static

◆ frontend_ctx_emscripten

frontend_ctx_driver_t frontend_ctx_emscripten
Initial value:
= {
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
"emscripten"
}
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static void frontend_emscripten_get_env(int *argc, char *argv[], void *args, void *params_data)
Definition: platform_emscripten.c:135