Skip to content

Commit

Permalink
fixes2
Browse files Browse the repository at this point in the history
  • Loading branch information
BinBashBanana committed Jan 20, 2025
1 parent b48bfbe commit 7a986f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile.emscripten
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ endif
ifeq ($(HAVE_AL), 1)
LDFLAGS += -lopenal
DEFINES += -DHAVE_AL
ASYNC = 1
override ASYNC = 1
endif

ifneq ($(PTHREAD), 0)
Expand All @@ -122,7 +122,7 @@ endif
ifeq ($(ASYNC), 1)
LDFLAGS += -s ASYNCIFY=$(ASYNC) -s ASYNCIFY_STACK_SIZE=8192
ifeq ($(DEBUG), 1)
LDFLAGS += -s ASYNCIFY_DEBUG=1 # -s ASYNCIFY_ADVISE
LDFLAGS += -s ASYNCIFY_DEBUG=1 # -s ASYNCIFY_ADVISE
endif
endif

Expand Down
1 change: 0 additions & 1 deletion dist-scripts/dist-cores.sh
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ for f in `ls -v *_${platform}.${EXT}`; do
gles3=0
stack_mem=4194304
heap_mem=134217728
async=0
if [ $name = "mupen64plus_next" ] ; then
gles3=1
async=1
Expand Down
4 changes: 2 additions & 2 deletions libretro-common/include/retro_timers.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include <psp2/kernel/threadmgr.h>
#elif defined(_3DS)
#include <3ds.h>
#elif defined(EMSCRIPTEN_FIXME)
#elif defined(EMSCRIPTEN)
#include <emscripten/emscripten.h>
#else
#include <time.h>
Expand Down Expand Up @@ -100,7 +100,7 @@ static int nanosleepDOS(const struct timespec *rqtp, struct timespec *rmtp)
#define retro_sleep(msec) (usleep(1000 * (msec)))
#elif defined(WIIU)
#define retro_sleep(msec) (OSSleepTicks(ms_to_ticks((msec))))
#elif defined(EMSCRIPTEN_FIXME)
#elif defined(EMSCRIPTEN)
#define retro_sleep(msec) (emscripten_sleep(msec))
#else
static INLINE void retro_sleep(unsigned msec)
Expand Down

0 comments on commit 7a986f8

Please sign in to comment.