aboutsummaryrefslogtreecommitdiff
path: root/Makefile.libretro
AgeCommit message (Collapse)Author
2020-02-26[3DS] Tweak compile-time options to increase performanceJustin Weiss
2020-02-24Fix dynarec crashes on 3DSJustin Weiss
After the dynarec writes new instructions, it has to flush the instruction and data caches. Some of these flush operations are privileged on the 3DS, so the clear cache functions have to run through svcBackdoor. The Nintendo implementation (and CFW reimplementation) of svcBackdoor has a problem where interrupts and context switches will cause crashes. Even though we can disable interrupts in the flush function, there's still a window of time between svcBackdoor being called and the function being run where an interrupt will corrupt the stack. Luma3DS implemements a svcCustomBackdoor call we can use that also runs a function in supervisor mode, but uses an implementation that avoids this problem.
2020-02-12Take out this override for OSXtwinaphex
2020-02-09OSX should use lightrecTwinaphex
2020-02-09Update Makefile.libretroTwinaphex
2020-02-09Update Makefile.libretronegativeExponent
2020-02-08Add support for the Lightrec dynarecPaul Cercueil
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2019-12-17UpdatenegativeExponent
2019-09-22Enable CHD on 3DS buildsJustin Weiss
I don't know what build errors were happening before, but this built cleanly for me.
2019-09-21Re-enable unai on 3DSJustin Weiss
It now builds properly, and is much much faster.
2019-08-13iOS: support for building using buildbot recipeYoshi Sugawara
2019-07-03Add support for rpi4 platform with cortex-a72 cpuEric Matysek
2019-05-19Allow building without CHD, disable CHD for 3DSretro-wertz
- all platforms compiles with CHD support. - compile with HAVE_CHD=0 for no chd support. - CHD fails building for 3DS, not sure its even fast enough for the device. I tried asking in discord channel but haven't got reply. Disabling it till someone familiar with 3ds can fix it. http://p.0bl.net/123458
2019-05-14Fixed cflags for PSC build (#281)Wes Smith
* Committer: Wes Smith <wraith@smithmedia.wraithbox.com> On branch master Your branch is up to date with 'origin/master'. Changes to be committed: modified: Makefile.libretro Added v8a35 to Makefile * modified makefile with libretro changes * New makefile format from libretro * Updated with PSClassic Make again * Updated PSC config * Fix compile flags Re-add optimizations, -mtune
2019-05-12Added PSClassic to makefile (#278)Wes Smith
* Committer: Wes Smith <wraith@smithmedia.wraithbox.com> On branch master Your branch is up to date with 'origin/master'. Changes to be committed: modified: Makefile.libretro Added v8a35 to Makefile * modified makefile with libretro changes * New makefile format from libretro * Updated with PSClassic Make again * Updated PSC config
2019-04-20Backport check for Thumb instructions from configure scriptHugo Hromic
The recompiler can't handle Thumb instructions, so they must be disabled. This is accomplished via the `-marm` flag being set for different platforms. However, when using `platform=unix` and manually configuring the build, the check for Thumb instructions is not done in `Makefile.libretro`. Therefore, when building with a compiler that defaults to Thumb instructions (e.g. ODROID-XU4), the build can fail with this error: libpcsxcore/new_dynarec/backends/psx/pcsxmem.c:18:2: error: #error the dynarec is incompatible with Thumb functions, libpcsxcore/new_dynarec/backends/psx/pcsxmem.c:19:2: error: #error please add -marm to compile flags To address this, we simply backport the define check from the configure script for when we build with `ARCH=arm`. This change doesn't affect the buildbot.
2019-04-09Backport large file support from configure scriptHugo Hromic
Large file support is not enabled in `Makefile.libretro`, therefore when loading large PBP files you might get "Value too large" errors in some 32-bits systems such as the Raspberry Pi. For example: Could't open 'Final Fantasy VIII (USA).pbp' for reading: Value too large for defined data type Error opening CD-ROM plugin!
2019-04-09Tidy up and improve the libretro makefileHugo Hromic
* Made DEBUG and WANT_ZLIB variables configurable from make parameters * Removed duplicate block of code near the end of the Makefile * Matched formatting style with the rest of the Makefile * Changed spaces to tabs for consistency with the rest of the Makefile
2019-03-21Do not leave HAVE_NEON unset in armv platform checkHugo Hromic
* Default to `HAVE_NEON=0` until the `platform` is checked for `neon` * Fixes build with `platform=armv` alone (no NEON requested) in a NEON device where the autodetection using `$(CC) -E -dD` will enable it
2019-03-17re-re-re-re-disable unaihizzlekizzle
it keeps breaking 3DS compilation on the buildbot.
2019-03-123DS: Re-enable unai gpuretro-wertz
- As per request for performance testing sacrificing quality
2019-03-08Fix OSX interpreter build targetretro-wertz
- similar to IOS build fix
2019-03-08[ios] Try to fix build target mixupsretro-wertz
related: https://github.com/libretro/libretro-super/issues/976
2019-03-073DS: Restore default gpuretro-wertz
2019-03-07Fix CD audio not playing on some platformsretro-wertz
2019-01-13Embed zlibJean-André Santoni
2018-10-16Finished off Armv7 A7 Platform templateRyan 'Swingflip' Hamlin
2018-10-14Auto set flags for different gcc versions.CompCom
2018-10-12Adjustments into correct position. Added some echos.Ryan 'Swingflip' Hamlin
2018-10-12Added classic_armv7_a7Ryan 'Swingflip' Hamlin
2018-08-21Update Makefile.libretroAndrés
2018-07-27Update Makefile.libretroAndrés
2018-07-27Update Makefile.libretroAndrés
2018-01-28Fixed uname for Solaris + enabled Haiku buildkwyxz
2018-01-22This is litterally all that was required to build on Solaris 11. Portability ↵kwyxz
FTW.
2017-12-11Fixed ios9 compilationGlenn
2017-12-11checks arm64 properly nowGlenn
2017-12-10Fixed building for arm64 (iOS)Glenn
2017-09-14fix PCSX rearmed on windowsradius
2017-08-28Use dynamic base address for 3ds tooYuxuan Shui
Fixes #125
2017-04-03Fix build on CTR: CTR doesn't have neonYuxuan Shui
2016-12-09Report git version with library_versionGregor Richards
2016-09-27(Vita) Disable debugFrancisco José García García
2016-09-27(VITA) Enable O3 optimizationsFrancisco José García García
2016-09-26(VITA) Dynarec workingFrancisco José García García
2016-09-21Merge branch 'mainline' into libretronotaz
2016-09-21drc: some vita and 3ds supportnotaz
not tested, mostly just guesswork
2016-09-19Revert "redports backport"twinaphex
This reverts commit f82bcc681184536aa6d3ee410b938671c1ba2ead.
2016-09-09redports backporttwinaphex
2016-09-06Use DEBUG=1 properly for debug buildsorbea