mirror of
https://github.com/libretro/Mu.git
synced 2026-02-04 05:35:13 +00:00
It now compiles on windows
Still wont load the ROM when play is pushed, dont know why, the path and name are correct.
This commit is contained in:
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
changelog.txt eol=lf
|
||||
readme.md eol=lf
|
||||
@@ -24,17 +24,28 @@ DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs depreca
|
||||
|
||||
# ios {
|
||||
# QMAKE_INFO_PLIST = ios/Info.plist
|
||||
# DEFINES += EMU_MULTITHREADED
|
||||
# }
|
||||
|
||||
macx {
|
||||
CONFIG += sdk_no_version_check # using 10.14 SDK which Qt only unofficialy supports
|
||||
QMAKE_INFO_PLIST = macos/Info.plist
|
||||
DEFINES += EMU_MULTITHREADED
|
||||
}
|
||||
|
||||
windows {
|
||||
QMAKE_CFLAGS += -openmp
|
||||
QMAKE_CXXFLAGS += -openmp
|
||||
QMAKE_LFLAGS += -openmp
|
||||
DEFINES += "_Pragma=__pragma"
|
||||
DEFINES += EMU_MULTITHREADED
|
||||
}
|
||||
|
||||
android {
|
||||
QMAKE_CFLAGS += -fopenmp
|
||||
QMAKE_CXXFLAGS += -fopenmp
|
||||
QMAKE_LFLAGS += -fopenmp
|
||||
DEFINES += EMU_MULTITHREADED
|
||||
}
|
||||
|
||||
CONFIG(debug, debug|release){
|
||||
@@ -44,9 +55,8 @@ CONFIG(debug, debug|release){
|
||||
# DEFINES += EMU_SANDBOX_LOG_APIS
|
||||
}
|
||||
|
||||
DEFINES += EMU_MULTITHREADED
|
||||
QMAKE_CFLAGS += -std=c99
|
||||
QMAKE_CXXFLAGS += -std=c++11
|
||||
CONFIG += c++11
|
||||
|
||||
INCLUDEPATH += $$PWD/qt-common/include
|
||||
|
||||
|
||||
@@ -76,6 +76,15 @@ Install prc-tools from the below link(self compiled or prepackaged vm)
|
||||
./make.sh
|
||||
|
||||
## Running
|
||||
#### Before Compiling On Windows
|
||||
You must enable symlinks first:
|
||||
|
||||
cd ./libretro-palmm515emu
|
||||
git config core.symlinks true
|
||||
|
||||
Then open GitHub Desktop and discard all changes to create the linked directorys.
|
||||
The source files can now be located properly.
|
||||
|
||||
#### For Qt
|
||||
1. Run once to create the directory tree
|
||||
2. Copy "palmRoms/Palm m515/rom(selfDumped).bin" to "~/Mu"
|
||||
|
||||
@@ -4,10 +4,6 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER > 1200
|
||||
#define SWAP16 _byteswap_ushort
|
||||
#define SWAP32 _byteswap_ulong
|
||||
#else
|
||||
#define SWAP16(x) ((uint16_t)( \
|
||||
(((uint16_t)(x) & 0x00ff) << 8) | \
|
||||
(((uint16_t)(x) & 0xff00) >> 8) \
|
||||
@@ -18,7 +14,6 @@
|
||||
(((uint32_t)(x) & 0x00ff0000) >> 8) | \
|
||||
(((uint32_t)(x) & 0xff000000) >> 24) \
|
||||
))
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER <= 1200
|
||||
#define SWAP64(val) \
|
||||
|
||||
Reference in New Issue
Block a user