yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
wasm_bootstrap.h
Go to the documentation of this file.
1#ifndef YAZE_APP_PLATFORM_WASM_WASM_BOOTSTRAP_H_
2#define YAZE_APP_PLATFORM_WASM_WASM_BOOTSTRAP_H_
3
4#ifdef __EMSCRIPTEN__
5
6#include <string>
7#include <functional>
8
9namespace yaze::app::wasm {
10
17void InitializeWasmPlatform();
18
23bool IsFileSystemReady();
24
28void SetRomLoadHandler(std::function<void(std::string)> handler);
29
33void TriggerRomLoad(const std::string& path);
34
35} // namespace yaze::app::wasm
36
37#endif // __EMSCRIPTEN__
38
39#endif // YAZE_APP_PLATFORM_WASM_WASM_BOOTSTRAP_H_