mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-10-03 04:08:00 +03:00
emscripten: Support message skip
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user