Zachary Cook
216d449846
Override lightrec's debug.h with one that uses log_cb
2021-08-24 19:25:47 -04:00
Zachary Cook
9981f11a6f
Revert "Reduce compile time up to 57%, reduce binary size up to 32%"
...
This reverts commit d8479c7ab2
.
2021-08-22 11:54:18 -04: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
17b9f78270
Acquire shared memory from shm_open more reliably
2021-08-22 11:49:49 -04:00
Zachary Cook
aeee732aeb
Revert "Disable a bad optimization in lightrec config until fixed"
...
This reverts commit c1f61d0e26
.
2021-08-22 11:47:56 -04:00
Zachary Cook
781094c597
git subrepo pull (merge) deps/lightrec
...
subrepo:
subdir: "deps/lightrec"
merged: "0df4ec86"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "0df4ec86"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "2f68596"
2021-08-22 11:47:17 -04:00
twinaphex
364a705dc7
Revert "Update core options"
...
This reverts commit e368fa4dd0
.
2021-08-17 10:32:42 +02:00
twinaphex
e368fa4dd0
Update core options
2021-08-16 22:47:05 +02:00
twinaphex
b1c81e1591
Implement core option categories
2021-08-16 06:02:21 +02:00
twinaphex
d071bec5b1
Translated core options don't need default values
2021-08-16 04:16:02 +02:00
Autechre
43121942c7
Merge pull request #810 from libretro/dynarec
...
Disable a bad optimization in lightrec config until fixed
2021-08-08 22:17:21 +02:00
Zachary Cook
c1f61d0e26
Disable a bad optimization in lightrec config until fixed
2021-08-08 16:02:58 -04:00
Autechre
f71ab8b810
Merge pull request #807 from Calinou/add-more-widescreen-aspect-ratios
...
Add 18:9, 19:9 and 20:9 widescreen aspect ratio options
2021-07-22 14:51:08 +02:00
Hugo Locurcio
00624458fe
Add 18:9, 19:9 and 20:9 widescreen aspect ratio options
...
These options are intended for mobile devices where aspect ratios
wider than 16:9 recently became widespread.
If currently using a 21:9 or 32:9 aspect ratio, the user will have to
adjust their settings to get their old aspect ratio back.
2021-07-22 12:24:49 +02:00
Autechre
fe0f1c27d8
Merge pull request #800 from libretro/dynarec
...
Disable pre-cache for physical media
2021-07-22 03:41:30 +02:00
Autechre
19cceeacc3
Merge pull request #805 from embercold/fix-div-insn
...
Handle DIV overflow in lightrec
2021-07-21 15:01:26 +02:00
Ember Cold
4fc7b18b6d
Handle DIV overflow in lightrec
2021-07-21 15:36:34 +03:00
Zachary Cook
6d918c1cdc
Disable pre-cache for physical media
...
This takes way too long and is unresponsive, so don't actually
pre-cache any physical media when pre-cache is enabled
Fixes #795
2021-06-09 20:36:30 -04:00
Autechre
78f4e82eca
Merge pull request #797 from ToKe79/rm-gnulib
...
remove obsolete submodule reference
2021-06-03 20:57:38 +02:00
Tomáš Kelemen (vudiq)
56985703e7
remove obsolete submodule reference
2021-06-03 01:12:32 +02:00
Autechre
b8a3982f6c
Merge pull request #791 from libretro/dynarec
...
Dynarec updates
2021-05-29 08:15:48 +02: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
Zachary Cook
4b83d86881
Adjust for changes in lightrec api
...
Enable lightrec OPT_REPLACE_MEMSET
2021-05-21 20:49:02 -04:00
Zachary Cook
a388aacc8f
git subrepo pull --force deps/lightrec
...
subrepo:
subdir: "deps/lightrec"
merged: "aa2f992e"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "aa2f992e"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "2f68596"
2021-05-21 20:49:02 -04:00
Zachary Cook
8ac3ca82f0
Fix Android 10+ shared memory failing
...
if open /dev/ashmem fails with EACCESS, due to change in what is allowed
in Android 10+ then use dlsym ASharedMemory_create to get shared memory
2021-05-21 20:49:02 -04:00
Zachary Cook
1f620d0194
Fix crash in BIOS while dynarec+runahead are active
...
Fixes #636
This is a hack to run lightrec's interpreter for a few dozen frames
whenever a load state occurs while in the bios, as this bios code
doesn't seem to work when both dynarec and runahead are enabled
2021-05-21 20:49:02 -04:00
Zachary Cook
0673ca68e9
Update lightning.h to match changes in deps/lightning/include/lightning.h.in
2021-05-21 20:49:02 -04:00
Zachary Cook
d47b2ed882
git subrepo pull (merge) deps/lightning
...
subrepo:
subdir: "deps/lightning"
merged: "b1be3ed1"
upstream:
origin: "https://git.savannah.gnu.org/git/lightning.git "
branch: "master"
commit: "876c1043"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "2f68596"
2021-05-21 20:48:01 -04:00
Zachary Cook
bd765e2bf9
Move lightning.h and lightrec config.h to fix subrepos
...
This allows deps/light(rec/ning) to be free of any local changes
which allows more automated merging of any updates, and centralizes
the location of locally created files, these should be regenerated
whenever changes occur in thier subrepo files:
config.h <- deps/lightrec/config.h.cmakein
lightning.h <- deps/lightning/include/lightning.h.in
Also add the defines to keep lightrec optimizations enabled by default
2021-04-28 15:58:51 -04:00
Autechre
9589dddd67
Merge pull request #787 from libretro/dynarec
...
Update to latest lightrec, optimize compile time/binary size, other small fixes
2021-04-22 14:26:02 +02:00
Zachary Cook
d8479c7ab2
Reduce compile time up to 57%, reduce binary size up to 32%
...
Move pgxp and MaskEval_TA bools from templates to functions
to greatly reduce the number of generated functions
for the CTEntry commands
Reduced default binary size from 4789 KB to 3192 KB
'time make -j12' on Ryzen 2600 after make clean:
Before:
real 1m13.344s
user 2m23.634s
sys 0m5.178s
After:
real 0m31.265s
user 1m42.773s
sys 0m3.801s
2021-04-22 07:10:58 -04:00
Zachary Cook
a6fa9ddb2d
Fix snprintf warning, improve error messages when path too long
2021-04-22 07:10:58 -04:00
Zachary Cook
df4797567f
Fix debug vulkan compile, fix widescreen_hack_aspect_ratio_setting
...
reload widescreen_hack_aspect_ratio_setting where widescreen_hack
is reloaded, make 16:9 the default setting when not set, and actually
check when widescreen_hack or widescreen_hack_aspect_ratio_setting has
changed
2021-04-22 07:09:46 -04:00
Zachary Cook
a093ffec37
git subrepo commit (merge) deps/lightrec
...
subrepo:
subdir: "deps/lightrec"
merged: "a7bd81d3"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "16a375e4"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "2f68596"
2021-04-22 06:10:56 -04:00
Zachary Cook
32ee32f708
Add HAS_DEFAULT_ELM flag for lightrec changes, requires gcc to enable
2021-04-21 00:09:46 -04:00
Autechre
cd79168f58
Merge pull request #783 from bslenul/master
...
Hide "track/dump/replace textures" core options for Software and OpenGL renderers.
2021-04-12 14:59:58 +02:00
bslenul
a317e6132c
Hide "track/dump/replace textures" core options for Software and OpenGL renderers
2021-04-12 11:14:56 +02:00
twinaphex
b22b24a67d
Don't need libzma Sort.c
2021-04-12 01:17:20 +02:00
twinaphex
cc84ae0cc7
Get rid of unnneeded files in dependencies
2021-04-09 18:28:10 +02:00
twinaphex
f319cf5f8e
Get rid of error_on_eos
2021-04-08 20:30:54 +02:00
twinaphex
190544ec36
Make ReadM3U code use libretro-common file_stream
2021-04-05 18:23:02 +02:00
twinaphex
cac1189a83
Cleanups
2021-04-05 18:07:13 +02:00
twinaphex
51b0833876
Some backports from Mednafen 1.27.0 unstable
2021-04-05 17:51:46 +02:00
twinaphex
419737f18a
Cleanups
2021-04-05 17:26:43 +02:00
twinaphex
c2f658b7d0
Get rid of throws - ErrnoHolder
2021-04-05 17:08:32 +02:00
twinaphex
75bd1553cc
Get rid of puts/printf calls
2021-03-24 15:55:50 +01:00
twinaphex
0b95207324
Put this behind DEBUG ifdef
2021-03-24 15:16:32 +01:00
twinaphex
19e0250e4e
Silence some LGTM warnings
2021-03-24 14:00:10 +01:00
Autechre
63bca35369
Merge pull request #782 from jdgleaver/libchdr-update
...
Update libchdr
2021-03-22 13:30:06 +01:00
jdgleaver
0c0f833e5e
Update libchdr
2021-03-22 11:33:49 +00:00