AppleWin/source/frontends/retro/environment.h
Andrea Odetti 120cb8be50 It is not clear to me how the Input API works.
This is copied (without understanding) from other examples.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 18:46:56 +00:00

19 lines
549 B
C++

#include "libretro.h"
#include <string>
void fallback_log(enum retro_log_level level, const char *fmt, ...);
extern retro_log_callback logging;
extern retro_log_printf_t log_cb;
extern retro_input_poll_t input_poll_cb;
extern retro_input_state_t input_state_cb;
extern retro_environment_t environ_cb;
extern retro_video_refresh_t video_cb;
extern retro_audio_sample_t audio_cb;
extern retro_audio_sample_batch_t audio_batch_cb;
extern std::string retro_base_directory;
#define RETRO_DEVICES 5
extern unsigned int retro_devices[RETRO_DEVICES];