Refactor WASM runner and logging functionality; add heartbeat task and improve initialization process
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
/* Desktop Simulator Settings */
|
||||
#define configUSE_PREEMPTION 1
|
||||
#define configUSE_TIME_SLICING 1
|
||||
#define configUSE_PORT_OPTIMISED_TASK_SELECTION 0
|
||||
#define configUSE_IDLE_HOOK 1
|
||||
#define configUSE_TICK_HOOK 0
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#ifndef NOVA64_API_H
|
||||
#define NOVA64_API_H
|
||||
|
||||
void register_nova64_imports(void);
|
||||
void nova64_register_imports(void);
|
||||
|
||||
#endif // NOVA64_API_H
|
||||
|
||||
@@ -28,7 +28,8 @@ bool wasm_runner_initialize(void);
|
||||
*/
|
||||
bool wasm_runner_start_program(
|
||||
const char *module_path,
|
||||
const wasm_runner_framebuffer_config_t *framebuffer_config,
|
||||
wasm_runner_instance_t **out_instance);
|
||||
const wasm_runner_framebuffer_config_t *framebuffer_config);
|
||||
|
||||
void wasm_runner_terminate(void);
|
||||
|
||||
#endif // WASM_RUNNER_H
|
||||
|
||||
Reference in New Issue
Block a user