VMUPro SDK v1.0.0
Application Development SDK for the VMUPro
Loading...
Searching...
No Matches
vmupro_utils.h
Go to the documentation of this file.
1
15#pragma once
16
17#include "stdint.h"
18#include "stdbool.h"
19#include <stddef.h>
20
21#ifdef __cplusplus
22extern "C"
23{
24#endif
25
39void vmupro_sleep_ms(uint32_t milliseconds);
40
64uint64_t vmupro_get_time_us(void);
65
96void vmupro_delay_us(uint64_t delay_us);
97
121void vmupro_delay_ms(uint64_t delay_ms);
122
146int vmupro_snprintf(char* buffer, size_t size, const char* format, ...);
147
148
156typedef struct {
157 const char* title;
158 const char* rootPath;
159 const char* filterExtension;
161
186
213
214#ifdef __cplusplus
215}
216#endif
Settings structure for the emulator browser.
void vmupro_delay_ms(uint64_t delay_ms)
Delay for a specified number of milliseconds.
void vmupro_sleep_ms(uint32_t milliseconds)
Sleep for a specified number of milliseconds.
int vmupro_emubrowser_init(vmupro_emubrowser_settings_t settings)
Initialize the emulator browser.
void vmupro_emubrowser_render_contents(char *launchfile)
Render the emulator browser and get selected file.
uint64_t vmupro_get_time_us(void)
Get current time in microseconds.
void vmupro_delay_us(uint64_t delay_us)
Delay for a specified number of microseconds.
int vmupro_snprintf(char *buffer, size_t size, const char *format,...)
Safe string formatting function.