emscripten: Support message skip

This commit is contained in:
kichikuou
2020-12-28 22:45:47 +09:00
parent 5ec0c0a7be
commit 6d5831c4e8
8 changed files with 61 additions and 23 deletions
+10
View File
@@ -25,6 +25,7 @@
#include "portab.h"
#include "menu.h"
#include "input.h"
void menu_open(void) {
return;
@@ -74,3 +75,12 @@ void menu_init(void) {
void menu_gtkmainiteration() {
return;
}
EM_JS(void, menu_setSkipState, (boolean enabled, boolean activated), {
xsystem35.shell.setSkipButtonState(enabled, activated);
});
EMSCRIPTEN_KEEPALIVE
void msgskip_activate(int enable) {
set_skipMode(enable);
}