Port Handy (Lynx core)

This commit is contained in:
YoshiRulz 2019-10-25 21:36:18 +10:00
parent 8c7862aa8a
commit 12e83ac257
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
3 changed files with 5 additions and 1 deletions

BIN
Assets/libbizlynx.dll.so Normal file

Binary file not shown.

View File

@ -15,7 +15,11 @@ void operator delete(void *p)
std::free(p);
}
#ifdef _WIN32
#define EXPORT extern "C" __declspec(dllexport)
#elif __linux__
#define EXPORT extern "C"
#endif
EXPORT CSystem *Create(const uint8 *game, uint32 gamesize, const uint8 *bios, uint32 biossize, int pagesize0, int pagesize1, int lowpass)
{

View File

@ -11,7 +11,7 @@ else
$(error Unknown arch)
endif
CXXFLAGS = -Wall -Wno-parentheses -I.. -O3 -std=gnu++11 -fomit-frame-pointer -fno-exceptions -flto
CXXFLAGS = -Wall -Wno-parentheses -I.. -O3 -std=gnu++11 -fomit-frame-pointer -fno-exceptions -flto -fPIC
TARGET = bizlynx.dll
LDFLAGS_32 = -static -static-libgcc -static-libstdc++