mirror of https://github.com/bsnes-emu/bsnes.git
More libretro changes.
This commit is contained in:
parent
2de906ea46
commit
6b34f134bf
|
@ -10,11 +10,11 @@ obj/libretro.o: target-libretro/libretro.cpp
|
|||
|
||||
all: $(objects)
|
||||
ifeq ($(platform),linux)
|
||||
$(strip $(compiler) -o out/$(name).so -shared $(objects) -Wl,--no-undefined -Wl,--version-script=target-libretro/link.T -Wl,-Bdynamic -lpthread -ldl -lgomp)
|
||||
$(strip $(compiler) -o out/$(name).so -shared $(objects) -Wl,--no-undefined -Wl,--version-script=target-libretro/link.T -Wl,-Bdynamic $(options))
|
||||
else ifeq ($(platform),windows)
|
||||
$(strip $(compiler) -o out/$(name).dll -shared $(objects) -Wl,--no-undefined -Wl,--version-script=target-libretro/link.T -static-libgcc -static-libstdc++ -Wl,-Bstatic -lws2_32 -lpthread -lgomp -Wl,-Bdynamic)
|
||||
$(strip $(compiler) -o out/$(name).dll -shared $(objects) -Wl,--no-undefined -Wl,--version-script=target-libretro/link.T -Wl,-Bdynamic $(options))
|
||||
else ifeq ($(platform),macos)
|
||||
$(strip $(compiler) -o out/$(name).dylib -shared $(objects) -lpthread -ldl)
|
||||
$(strip $(compiler) -o out/$(name).dylib -shared $(objects) $(options))
|
||||
else ifeq ($(platform), ios-arm64)
|
||||
ifeq ($(IOSSDK),)
|
||||
IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path)
|
||||
|
|
|
@ -484,6 +484,7 @@ RETRO_API void retro_reset()
|
|||
RETRO_API void retro_run()
|
||||
{
|
||||
check_variables();
|
||||
input_poll();
|
||||
emulator->run();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue