mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 14:05:39 +00:00
emscriptenmouse: remove old extra _INT
This commit is contained in:
parent
4dca8f7fb4
commit
404158595c
|
@ -230,7 +230,7 @@ Emscripten_ShowCursor(SDL_Cursor* cursor)
|
|||
curdata = (Emscripten_CursorData *) cursor->driverdata;
|
||||
|
||||
if(curdata->system_cursor) {
|
||||
MAIN_THREAD_EM_ASM_INT({
|
||||
MAIN_THREAD_EM_ASM({
|
||||
if (Module['canvas']) {
|
||||
Module['canvas'].style['cursor'] = UTF8ToString($0);
|
||||
}
|
||||
|
@ -239,7 +239,7 @@ Emscripten_ShowCursor(SDL_Cursor* cursor)
|
|||
}
|
||||
}
|
||||
else {
|
||||
MAIN_THREAD_EM_ASM_INT(
|
||||
MAIN_THREAD_EM_ASM(
|
||||
if (Module['canvas']) {
|
||||
Module['canvas'].style['cursor'] = 'none';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue