Port Handy (Lynx core)
This commit is contained in:
parent
8c7862aa8a
commit
12e83ac257
Binary file not shown.
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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++
|
||||
|
|
Loading…
Reference in New Issue