Commit Graph

290 Commits

Author SHA1 Message Date
twinaphex
e74142b9dd Cleanups - get rid of stdio.h in many places 2021-11-18 01:05:31 +01:00
thelamer
89381afc9f fix emscripten builds 2021-11-13 14:21:55 -08:00
Zachary Cook
aa1806e119 lightrec: Set default LOG_LEVEL=3 (Info)
Adds some useful messages on startup and shutdown
2021-08-22 11:51:32 -04:00
Zachary Cook
9fc1dff852 Add LIGHTREC_LOG_LEVEL, allow enabling disassembler
LIGHTREC_LOG_LEVEL=4 enables lightrec pr_debug messages and the disassembler
LIGHTREC_LOG_LEVEL=3 outputs some useful messages about state of the mmap,
threaded recompiler, and lightrec memory usage stats

For details on what is printed by disassembler see:
https://github.com/pcercuei/lightrec/commit/5d6881c3

Log Levels:
0 = No Logging
1 = Error
2 = Warning (default)
3 = Info
4 = Debug
2021-05-21 20:49:02 -04:00
twinaphex
49e73a241e Update 2021-02-28 11:12:06 +01:00
twinaphex
4d97452eab Add LINK_STATIC_CPLUSPLUS for Linux cores 2021-02-28 11:04:27 +01:00
twinaphex
3ec155d89f (macOS) Set up CROSS_COMPILE for ARM 64bit 2021-01-28 06:20:54 +01:00
Yoshi Sugawara
4dfb70d88f [iOS][tvOS] Add -DHAVE_UNISTD_H flag to compile zlib 2020-11-25 22:29:58 -10:00
Vanfanel
1401e85a53 Add Rpi4 platform in 64bit mode. 2020-11-07 16:29:51 +01:00
twinaphex
921dbed515 Simplify SimpleFIFo 2020-10-15 07:18:00 +02:00
Autechre
2832709da6
Merge pull request #708 from dev-0x7C6/master
Removed library path /usr/local/lib.
2020-08-28 04:00:10 +02:00
MrJs
ff4ba8a72b
Update Makefile
Opt out of LIGHTREC to enable building for iOS/tvOS per https://github.com/libretro/beetle-psx-libretro/issues/702
2020-08-09 18:38:21 -07:00
twinaphex
4cda2d4597 Backport Lakka patch 2020-08-02 21:09:35 +02:00
Autechre
9cb4c09887
Merge pull request #691 from kwyxz/master
Fixes Haiku build with LightRec
2020-07-11 19:03:26 +02:00
kwyxz
4cde0a7bfc Fixes Haiku build with LightRec 2020-07-11 15:55:54 +00:00
twinaphex
e09f5fd34b Makefile tweaks 2020-06-16 23:39:57 +02:00
stoofin
cafb14279a wip so far 2020-06-16 22:53:15 +02:00
Benjamin FRANCOIS
20809d77d9 Maintain Solaris compat + restore IllumOS build 2020-06-05 08:37:50 -07:00
Benjamin FRANCOIS
5bfb987996 Allow Solaris 11 build 2020-05-19 23:37:01 -07:00
Zachary Cook
7ae544e1ce Compile in Lightrec support by default
Specify HAVE_LIGHTREC=0 if you don't want it compiled
2020-04-27 12:55:41 -04:00
Bartłomiej Burdukiewicz
989e5a7f3b
Removed library path /usr/local/lib. 2020-03-10 16:46:04 +01:00
Zachary Cook
5a726872e2 Allow easy disabling of lightrec THREADED_RECOMPILER 2020-01-23 22:34:36 -05:00
Zachary Cook
a9e439afeb Fix Mac mmap support 2020-01-22 23:17:10 -05:00
Zachary Cook
986444d837 Add lightrec dynarec support
Only output for big-ass-debugger if LIGHTREC_DEBUG=1

LIGHTREC_DEBUG=1 implies DEBUG=1, to disable threaded recompiler, so that output is reliable

Select which dynarec option with core config option

Default back to the faster option, and should allow running debugger easier

Fix crash when switching dynarec option at run-time, need to invalidate lightrec_state

Fix exe loading enough to get into lightrec interpreter

Code for reloading expansion1 is from @simias dynarec

Fix savestate loading

Cleanup LIGHTREC_DEBUG

Keep track of previous dynarec option properly

Fully re-initialize lightrec when switching dynarec option

Add option to invalidate stores always (Full) or just for DMA (DMA Only)

Add option to configure amount of cycles that can pass in dynarec before a DMA/GPU update is forced

Do not init lightrec for beetle interpreter

Make lightrec memory logging more concise

Runahead can use a second instance, use exclusive shared memory and try another name

Fix load state again

Change default dynarec option to interpreter

Reword DMA/GPU event cycles option

Don't build lightrec by default, require HAVE_LIGHTREC=1

Revert ReadAbsorb changes, incompatible with old save states

Revert changes to GPR, much more compatible with beetle interpreter

Fix subrepos so they can be updated cleanly in the future
2020-01-21 20:43:53 -05:00
ggdrt
8ad1e5711e Add -MMD to Makefile for non-MSVC builds (#462) 2019-12-07 11:17:24 -08:00
ggdrt
db35d8359f Clean up Makefile formatting
Use tabs only for recipes, spaces elsewhere
2019-12-07 11:17:21 -08:00
kwyxz
a6a78b376a Fix Haiku build (#549) 2019-10-17 07:08:15 +01:00
Yoshi Sugawara
8faccaf6dc (tvOS) support building 2019-09-10 14:59:10 -10:00
Aaron Kling
292fbc831b libretro: allow mingw cross compile 2019-08-07 02:19:28 -05:00
Twinaphex
3a3e397ca6
Update Makefile 2019-07-18 22:37:56 +02:00
twinaphex
1a9352470d (MSVC 2017) Add HAVE_CDROM for desktop version 2019-07-15 06:17:33 +02:00
twinaphex
214e0bd1be Update Makefile 2019-07-15 06:15:09 +02:00
twinaphex
772c9446e8 Set HAVE_CDROM for Windows and Linux 2019-07-14 05:21:57 +02:00
Yoshi Sugawara
e6840afca8 Support for touchscreen lightgun; map gamepad buttons to guncon A button 2019-07-04 08:33:24 -10:00
twinaphex
af40de6ba2 Revert "(Makefile) Cleanups"
This reverts commit 99a9c62cf0.
2019-07-02 04:16:36 +02:00
rz5
99a9c62cf0 (Makefile) Cleanups 2019-06-30 04:11:28 +01:00
krzys-h
89b6bbbf93 Fix multithreaded make with MSVC2017 2019-01-05 20:54:32 +01:00
Hans-Kristian Arntzen
06ff560876 parallel-psx: Update to latest Granite. 2018-12-12 12:23:05 +01:00
Maxime CHAPELET
391517b053 fix(ios) : Fix iOS compilation for arm64 and suffix target output name with arch
Compiling for arm64 on iOS doesn't seems to support implicit stdlib function declaration and generate a compilation error, where it generates only a warning when targeting armv7.
2018-12-03 00:06:58 +01:00
r5
9b9a3325db (Makefile) 'Pretty print' compile and clean messages
Suppresses all the flag/switch spam. Also changes what
is printed when the 'clean' command runs so it's less
text overall.
2018-09-18 04:51:24 +01:00
Yar
9fe3675240
Fixed Makefile for Vulkan
Probably, a typo
2018-09-02 20:41:47 +02:00
Brad Parker
69f4abe64d android buildfix 2018-06-30 22:24:44 -04:00
Brad Parker
dad4387663 initial uGUI message box for missing firmware, only works with software renderer currently 2018-06-30 19:32:16 -04:00
Alberto Fustinoni
6a5801c5ce Fixing UWP build 2018-06-08 14:20:58 +09:00
Alberto Fustinoni
0b1616cf95 Build fix 2018-05-31 14:57:29 +09:00
hunterk
163299fbc1 Revert "Merge pull request #335 from Aftnet/master"
This reverts commit 3eac43eeef, reversing
changes made to 4a75947e0f.
2018-05-25 08:45:10 -05:00
Alberto Fustinoni
57560e456f Better detection 2018-05-23 17:49:01 +09:00
Alberto Fustinoni
e9ca2dee23 Removed linking against opengl for UWP builds, since UWP does not support it anyways.
Fixes compile issue
2018-05-23 17:46:41 +09:00
twinaphex
bd81447143 Add -O3 optimization levels for GCC - +5fps or so 2018-04-19 09:41:35 +02:00
Dwedit
0717ab9a18 Alter the makefile for MSVC 2017 2018-04-18 20:11:43 -05:00