catch rdp init failure (#1257)

This commit is contained in:
Logan McNaughton authored and GitHub committed 2026-10-10 06:34:17 +00:00
1 parent e549fbc742
commit 6c4741db91
3 files changed
+19 -10

No files matched your search

+3 -2
View File
@@ -52,7 +52,7 @@ typedef enum {
MESSAGE_LONG = 6000,
} MESSAGE_LENGTH;
void rdp_init(void *_window, GFX_INFO _gfx_info, const void *font,
bool rdp_init(void *_window, GFX_INFO _gfx_info, const void *font,
size_t font_size, uint32_t save_state_slot);
void rdp_close();
void rdp_set_vi_register(uint32_t reg, uint32_t value);
@@ -65,7 +65,8 @@ void rdp_onscreen_message(const char *message, MESSAGE_LENGTH milliseconds);
void rdp_check_framebuffers(uint32_t address, uint32_t length);
size_t rdp_state_size();
void rdp_save_state(uint8_t *state);
void rdp_load_state(GFX_INFO _gfx_info, const uint8_t *state, size_t state_size);
void rdp_load_state(GFX_INFO _gfx_info, const uint8_t *state,
size_t state_size);
void rdp_set_fps(uint32_t fps, uint32_t vis);
JoystickEvent get_joystick_event();