Mercurial > repos > blastem
view render_sdl.h @ 2419:0871f555eff6
Fix some CD-ROM emulation issues and make timing better match my MCD2. Seems to fix or at least improve video playback in Iron Helix and Power Rangers
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 18 Jan 2024 23:03:58 -0800 |
parents | 1c7329ac7f3f |
children |
line wrap: on
line source
#ifndef RENDER_SDL_H_ #define RENDER_SDL_H_ #include <SDL.h> SDL_Window *render_get_window(void); typedef void (*event_handler)(SDL_Event *); void render_set_event_handler(event_handler handler); SDL_Joystick *render_get_joystick(int index); SDL_GameController *render_get_controller(int index); int render_find_joystick_index(SDL_JoystickID instanceID); int render_lookup_button(char *name); int render_lookup_axis(char *name); void render_enable_gamepad_events(uint8_t enabled); uint8_t render_are_gamepad_events_enabled(void); #endif //RENDER_SDL_H_