Justin Weiss [Thu, 22 Oct 2020 01:03:12 +0000 (18:03 -0700)]
[3DS] Set default CPU rate to the usual 57
3DS handles it fine, and 50 makes Metal Gear Solid feel very sluggish.
Autechre [Wed, 21 Oct 2020 10:46:59 +0000 (12:46 +0200)]
Merge pull request #459 from libretro/revert-458-fixes-for-rpi-compilation
Revert "fixes link time errors on the RPi platform (tested with 3 and 4)"
Autechre [Wed, 21 Oct 2020 10:46:49 +0000 (12:46 +0200)]
Revert "fixes link time errors on the RPi platform (tested with 3 and 4)"
Autechre [Wed, 21 Oct 2020 09:55:07 +0000 (11:55 +0200)]
Merge pull request #458 from dmorilha/fixes-for-rpi-compilation
fixes link time errors on the RPi platform (tested with 3 and 4)
Daniel Morilha [Wed, 21 Oct 2020 06:32:24 +0000 (23:32 -0700)]
fixes link time errors on the RPi platform (tested with 3 and 4)
Autechre [Sun, 11 Oct 2020 18:15:38 +0000 (20:15 +0200)]
Merge pull request #456 from justinweiss/3ds-spu-threading
[3DS] Enable threading for the SPU
Justin Weiss [Sun, 30 Aug 2020 03:48:12 +0000 (20:48 -0700)]
[3DS] Enable threading for the SPU
Autechre [Sat, 10 Oct 2020 22:50:54 +0000 (00:50 +0200)]
Merge pull request #449 from cmitu/cdX-as-cue
cdriso: parse .cd<X> files as .cue
Autechre [Sat, 10 Oct 2020 22:29:50 +0000 (00:29 +0200)]
Merge pull request #454 from justinweiss/handle-oob-cd-reads
Correctly signal errors for out-of-bounds async CD reads
Justin Weiss [Tue, 29 Sep 2020 01:12:17 +0000 (18:12 -0700)]
Correctly signal errors for out-of-bounds async CD reads
twinaphex [Wed, 7 Oct 2020 21:42:27 +0000 (23:42 +0200)]
Add Emscripten target
Autechre [Wed, 7 Oct 2020 21:39:29 +0000 (23:39 +0200)]
Merge pull request #453 from pjft/dual-guncon
Add support for dual-guncon
pjft [Mon, 5 Oct 2020 21:16:11 +0000 (22:16 +0100)]
Add support for dual-guncon
cmitu [Sat, 19 Sep 2020 14:53:43 +0000 (15:53 +0100)]
cdriso: parse .cd<X> files as .cue.
Enables the parsing of .cd<X> files as cuesheets.
Useful to 'hide' individual `.cue` files from the frontend
when using a multi-disc game configured in a playlist (`.m3u`) file.
Autechre [Thu, 10 Sep 2020 04:49:44 +0000 (06:49 +0200)]
Merge pull request #445 from justinweiss/update-libctru
[3DS] Support latest libctru
Justin Weiss [Tue, 18 Aug 2020 02:19:21 +0000 (19:19 -0700)]
[3DS] Support latest libctru
hizzlekizzle [Thu, 13 Aug 2020 23:06:23 +0000 (18:06 -0500)]
Merge pull request #444 from justinweiss/hires-downscale
Add an option to downscale hi-res views
Justin Weiss [Mon, 3 Aug 2020 05:04:52 +0000 (22:04 -0700)]
Add an option to downscale hi-res views
Some older devices that use gpu_unai don't have a high enough
resolution to display all of the pixels in high-res mode. There's a
setting in unai to skip rendering of these pixels, but it's not
connected to the libretro frontend, and does not appear to be used in
the gpulib implementation at all.
This commit adds a gpu_unai setting, Enable Hi-Res Downscaling, that
will enable pixel skipping and blit only the pixels actually rendered
into a buffer no larger than 384x240. This buffer is then treated as
the actual framebuffer by gpulib and the libretro frontend.
Francisco José García García [Wed, 5 Aug 2020 21:24:21 +0000 (23:24 +0200)]
[Vita] workaround multiple symbols
Autechre [Tue, 4 Aug 2020 15:40:56 +0000 (17:40 +0200)]
Merge pull request #443 from negativeExponent/add-header-guards
Add header guards
Autechre [Tue, 4 Aug 2020 15:40:48 +0000 (17:40 +0200)]
Merge pull request #442 from negativeExponent/libretro
sync to latest upstream
negativeExponent [Tue, 4 Aug 2020 11:49:04 +0000 (19:49 +0800)]
Add header guards
negativeExponent [Tue, 4 Aug 2020 00:02:35 +0000 (08:02 +0800)]
Sync to latest upstream
Fixed bug where MSB of a 15-bit BGR color could corrupt green value. Also added documentation.
https://github.com/libretro/pcsx_rearmed/commit/
92db7708f2fd2a26ea730d761a60a582a646405a
Fix crash on retrying mission in driver (https://github.com/notaz/pcsx_rearmed/pull/165)
https://github.com/libretro/pcsx_rearmed/commit/
fbf19ce6b6c02da47a67f58e23d8294cfcd18f55
hizzlekizzle [Mon, 3 Aug 2020 13:37:13 +0000 (08:37 -0500)]
Merge pull request #440 from negativeExponent/log_interface
Log interface
hizzlekizzle [Mon, 3 Aug 2020 13:34:40 +0000 (08:34 -0500)]
Merge pull request #441 from negativeExponent/patch-1
change fast lighting default to disabled
negativeExponent [Mon, 3 Aug 2020 09:31:45 +0000 (17:31 +0800)]
unai: Change fast lighting default to 'disabled'
- Setting this option enabled can cause graphics issues.
negativeExponent [Mon, 3 Aug 2020 00:14:45 +0000 (08:14 +0800)]
lightrec/plugin.c: Use logging interface instead of printf
negativeExponent [Sun, 2 Aug 2020 23:58:26 +0000 (07:58 +0800)]
Add debug-level log function
ifcaro [Sat, 4 Jul 2020 13:26:16 +0000 (15:26 +0200)]
Fix crash on retrying mission in driver (#165)
Fix crash on retrying mission in driver
Autechre [Wed, 1 Jul 2020 03:52:09 +0000 (05:52 +0200)]
Merge pull request #436 from negativeExponent/patch-1
Update custom-issue-report.md
negativeExponent [Wed, 1 Jul 2020 03:06:48 +0000 (11:06 +0800)]
Update custom-issue-report.md
i believe posting logs should be the norm regardless of issue:
hizzlekizzle [Thu, 11 Jun 2020 01:13:50 +0000 (20:13 -0500)]
Merge pull request #430 from negativeExponent/libretro
Update mouse device support, add mouse sensitivity option
negativeExponent [Mon, 8 Jun 2020 10:09:22 +0000 (18:09 +0800)]
Update mouse device support, add mouse sensitivity option
- Remove unnecessary accumulator, cleanup and comments
- Add "Emulated Mouse Sensitivity" core option with range from 0.05 to 2.00, with 1.00 as normal mouse movement.
Autechre [Mon, 8 Jun 2020 01:54:19 +0000 (03:54 +0200)]
Merge pull request #429 from ZachCook/master
lightrec: fix race that could cause a freeze during load/reset
Zachary Cook [Mon, 8 Jun 2020 01:29:45 +0000 (21:29 -0400)]
lightrec: fix race that could cause a freeze during load/reset
Issue #387
git subrepo commit (merge) deps/lightrec
subrepo:
subdir: "deps/lightrec"
merged: "
a3a7bf4"
upstream:
origin: "https://github.com/pcercuei/lightrec.git"
branch: "master"
commit: "
2cca097"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo"
commit: "
a04d8c2"
Autechre [Sun, 7 Jun 2020 12:23:46 +0000 (14:23 +0200)]
Merge pull request #428 from negativeExponent/libretro
Add Sony Mouse Controller support
negativeExponent [Sun, 7 Jun 2020 07:23:13 +0000 (15:23 +0800)]
Add Sony Mouse Controller support
- Tested with Final Doom. Worked great.
Autechre [Fri, 5 Jun 2020 14:20:57 +0000 (16:20 +0200)]
Merge pull request #426 from negativeExponent/update_libchdr
libchdr: Update to latest upstream
negativeExponent [Fri, 5 Jun 2020 11:56:44 +0000 (19:56 +0800)]
libchdr: Update to latest upstream
Update libchdr based from latest upstream sources. Fixes some issues as noted.
- Latest upstream commit: https://github.com/rtissera/libchdr/tree/
6117d59d00ef8620de4cff4d6ecae46368cae881
- Fix https://github.com/libretro/pcsx_rearmed/issues/301
- Specific commit that fixes above problem: https://github.com/rtissera/libchdr/commit/
e1acac6d83b36531e543e39a9e1a363e681083e6
Autechre [Tue, 26 May 2020 15:40:04 +0000 (17:40 +0200)]
Merge pull request #423 from jdgleaver/set-message-ext
Add support for frontend message interface v1
jdgleaver [Thu, 21 May 2020 16:06:49 +0000 (17:06 +0100)]
Add support for frontend message interface v1
Autechre [Mon, 25 May 2020 14:21:53 +0000 (16:21 +0200)]
Merge pull request #425 from negativeExponent/libretro
Fix interpreter-only build (DYNAREC=0)
negativeExponent [Mon, 25 May 2020 08:04:39 +0000 (16:04 +0800)]
Fix interpreter-only build (DYNAREC=0)
- For systems that can only run in interpreter mode for whatever reasons.
hizzlekizzle [Sun, 24 May 2020 03:04:21 +0000 (22:04 -0500)]
Merge pull request #424 from negativeExponent/libretro
silence some warnings
negativeExponent [Sat, 23 May 2020 11:56:03 +0000 (19:56 +0800)]
plugins/dfinput: Silence warnings
These inputs are unused in current core implementation...
negativeExponent [Sat, 23 May 2020 04:09:11 +0000 (12:09 +0800)]
Silence some warnings
Silences some [-Wformat-truncation=] and [-Wstringop-truncation]
hizzlekizzle [Thu, 21 May 2020 16:38:57 +0000 (11:38 -0500)]
Merge pull request #422 from negativeExponent/fix_android_build
Android: Support for new lightrec api
negativeExponent [Thu, 21 May 2020 04:55:06 +0000 (12:55 +0800)]
Android: Support for new lightrec api
hizzlekizzle [Thu, 21 May 2020 00:34:07 +0000 (19:34 -0500)]
Merge pull request #421 from negativeExponent/lightrec_update
Update lightrec to latest upstream
negativeExponent [Wed, 20 May 2020 16:23:50 +0000 (00:23 +0800)]
Update Lightrec API
negativeExponent [Wed, 20 May 2020 16:16:51 +0000 (00:16 +0800)]
Update deps/lightrec
git subrepo clone --branch=master --force https://github.com/pcercuei/lightrec.git deps/lightrec
subrepo:
subdir: "deps/lightrec"
merged: "
2081869"
upstream:
origin: "https://github.com/pcercuei/lightrec.git"
branch: "master"
commit: "
2081869"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo.git"
commit: "
a04d8c2"
hizzlekizzle [Tue, 19 May 2020 04:11:22 +0000 (23:11 -0500)]
Merge pull request #419 from negativeExponent/libretro
Minimize logs when loading a cheevos-compatible content
negativeExponent [Mon, 18 May 2020 05:06:11 +0000 (13:06 +0800)]
Minimize logs when loading a cheevos-compatible content
- Using retro_memory_descriptors[] for memmap creates a list of address for a game. At the moment, its quite long and can cover up the log window.
Since there is only 1 pointer used, using the traditional retro_get_memory_map/data works enough for this purpose.
- Move the use of memory descriptors to debug build.
hizzlekizzle [Thu, 14 May 2020 03:51:13 +0000 (22:51 -0500)]
Merge pull request #417 from negativeExponent/libretro
updates
negativeExponent [Thu, 14 May 2020 02:51:56 +0000 (10:51 +0800)]
Cleanup retro_run()
- move input query into separate functions
- move internal fps display to separate function
negativeExponent [Wed, 13 May 2020 07:44:58 +0000 (15:44 +0800)]
Update libretro.c
- Apply style nits
Autechre [Tue, 12 May 2020 14:42:34 +0000 (16:42 +0200)]
Merge pull request #416 from negativeExponent/libretro
more core options cleanup
negativeExponent [Tue, 12 May 2020 14:21:57 +0000 (22:21 +0800)]
Hide other inputs from core options
- This adds a core option to hide some input options like multitaps, player ports 3-8 and analog-related fine-tuning options.
- also combine dynarec-only options in one #define directive
negativeExponent [Tue, 12 May 2020 12:25:30 +0000 (20:25 +0800)]
libretro.c: Change indents from tabs to spaces
hizzlekizzle [Sun, 10 May 2020 18:41:14 +0000 (13:41 -0500)]
Merge pull request #415 from negativeExponent/core_option_cleanup
Core option cleanup
negativeExponent [Sun, 10 May 2020 06:38:56 +0000 (14:38 +0800)]
More core option fixes
- This PR fixes core options and moves them to the related dynarec modes where they are implemented.
LIGHTREC = relates to platforms that supports the new Lightrec mode
NEW_DYNAREC = relates to previous dynarec implementation that is still used for some 32bit devices
- Dynarec Recompiler core option, both dynarec implementation can be enabled or disabled
negativeExponent [Sun, 10 May 2020 02:50:22 +0000 (10:50 +0800)]
Update .gitignore
hizzlekizzle [Thu, 7 May 2020 22:39:07 +0000 (17:39 -0500)]
Merge pull request #414 from negativeExponent/libretro
core options fixup
negativeExponent [Thu, 7 May 2020 17:44:24 +0000 (01:44 +0800)]
Move guncon options to update_variables
- This should stop unnecessary RETRO_ENVIRONMENT_GET_VARIABLE callback and log spamming
negativeExponent [Thu, 7 May 2020 17:11:18 +0000 (01:11 +0800)]
Fixup update_variables
hizzlekizzle [Thu, 7 May 2020 14:24:19 +0000 (09:24 -0500)]
Merge pull request #413 from negativeExponent/libretro
Fix some edge case where core can freeze upon loading content
negativeExponent [Thu, 7 May 2020 10:54:56 +0000 (18:54 +0800)]
Fix some edge case where core can freeze upon loading content
- Core sometime freeze while loading content during the loading of the core options. Moving update_variables() from retro_init to retro_load_game() fixes the problem, on my case at least.
- Also apply fix as suggested in this issue page: https://github.com/libretro/pcsx_rearmed/issues/373
Autechre [Sat, 2 May 2020 20:39:37 +0000 (22:39 +0200)]
Merge pull request #411 from Exalm/wip/exalm/oops
Automatically disable lightrec when no bios is present, take 2
Alexander Mikhaylenko [Thu, 30 Apr 2020 11:15:08 +0000 (16:15 +0500)]
Automatically disable lightrec when no bios is present, take 2
Make sure to only do it with lightrec and not ARM dynarec.
twinaphex [Tue, 28 Apr 2020 16:29:33 +0000 (18:29 +0200)]
Revert "Automatically disable lightrec when no bios is present"
This reverts commit
cf98d473a9ddaa6a77bed1cb5af706a4cd50b8b0.
notaz [Mon, 27 Apr 2020 17:37:45 +0000 (20:37 +0300)]
Merge pull request #160 from J-O-N/fix-neon-cspace-upstream
Fixed bug where MSB of a 15-bit BGR color could corrupt green value.
hizzlekizzle [Mon, 27 Apr 2020 00:41:16 +0000 (19:41 -0500)]
Merge pull request #407 from Exalm/wip/exalm/lightrec
Automatically disable lightrec when no bios is present
hizzlekizzle [Sun, 26 Apr 2020 21:10:42 +0000 (16:10 -0500)]
Merge pull request #406 from cmitu/cdimage-async-patch
cdriso: fix a disk switching deadlock when closing a CD image
J-O-N [Sun, 26 Apr 2020 04:35:54 +0000 (00:35 -0400)]
Fixed bug where MSB of a 15-bit BGR color could corrupt green value. Also added documentation.
hizzlekizzle [Sun, 26 Apr 2020 19:11:43 +0000 (14:11 -0500)]
Merge pull request #405 from J-O-N/fix-neon-cspace
neon: Fixed bug where MSB of a 15-bit BGR color could corrupt green value.
Alexander Mikhaylenko [Sun, 26 Apr 2020 16:34:20 +0000 (21:34 +0500)]
Automatically disable lightrec when no bios is present
Fixes https://github.com/libretro/pcsx_rearmed/issues/404
cmitu [Sun, 26 Apr 2020 12:20:14 +0000 (15:20 +0300)]
cdriso: fix a disk switching deadlock
J-O-N [Sun, 26 Apr 2020 04:35:54 +0000 (00:35 -0400)]
Fixed bug where MSB of a 15-bit BGR color could corrupt green value. Also added documentation.
Autechre [Fri, 24 Apr 2020 18:43:46 +0000 (20:43 +0200)]
Merge pull request #397 from justinweiss/arm-lighting-blending
unai: Add ARM-optimized lighting / blending functions
Justin Weiss [Sun, 19 Apr 2020 17:18:54 +0000 (10:18 -0700)]
Clean up indentation / add comments for assembly functions
Autechre [Tue, 17 Mar 2020 05:53:23 +0000 (06:53 +0100)]
Merge pull request #394 from MrHuu/patch-1
(3DS) Disable dithering by default
MrHuu [Tue, 3 Mar 2020 17:09:12 +0000 (18:09 +0100)]
(3DS) Disable dithering by default
Have dithering disabled by default on 3DS.
Twinaphex [Tue, 3 Mar 2020 10:16:59 +0000 (11:16 +0100)]
Merge pull request #391 from justinweiss/async-cd-reads
Add an async CD access method
Justin Weiss [Sun, 1 Mar 2020 23:40:25 +0000 (15:40 -0800)]
Preserve uSrc MSB across lighting and blending
This saves a few cycles because gcc stores / loads srcMSB when
using ARM-optimized lighting.
Justin Weiss [Fri, 28 Feb 2020 07:42:43 +0000 (23:42 -0800)]
WIP: Add ARM-assembly versions of lighting and blending
Twinaphex [Thu, 27 Feb 2020 04:48:54 +0000 (05:48 +0100)]
Merge pull request #392 from justinweiss/ctr-use-floatmath
[3DS] Tweak compile-time options to increase performance
Justin Weiss [Thu, 27 Feb 2020 01:18:33 +0000 (17:18 -0800)]
[3DS] Tweak compile-time options to increase performance
Justin Weiss [Sat, 22 Feb 2020 05:17:31 +0000 (21:17 -0800)]
Add async CD access
Twinaphex [Tue, 25 Feb 2020 04:32:11 +0000 (05:32 +0100)]
Merge pull request #390 from justinweiss/ctr-fix-dynarec-crashes
Fix dynarec crashes on 3DS
twinaphex [Tue, 25 Feb 2020 04:05:56 +0000 (05:05 +0100)]
Revert "(3DS) Set pthread stack size to 12MB - possible solution for crashes"
This reverts commit
dfcd7153048c2f6d479dfcd328ee2c0e1e0784ed.
Justin Weiss [Tue, 25 Feb 2020 01:47:14 +0000 (17:47 -0800)]
Fix dynarec crashes on 3DS
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.
Twinaphex [Mon, 24 Feb 2020 18:39:44 +0000 (19:39 +0100)]
Merge pull request #389 from notaz/master
Merge upstream changes
Twinaphex [Fri, 21 Feb 2020 18:46:05 +0000 (19:46 +0100)]
Merge pull request #388 from ZachCook/master
Fix second instance runahead without breaking reset
Zachary Cook [Fri, 21 Feb 2020 01:17:27 +0000 (20:17 -0500)]
Fix second instance runahead without breaking reset
twinaphex [Fri, 21 Feb 2020 00:49:28 +0000 (01:49 +0100)]
Revert "Use a more lightweight reset method for lightrec"
This reverts commit
7070d5c660963aec56e1d667211b4a09a62d400d.
Twinaphex [Fri, 21 Feb 2020 00:10:05 +0000 (01:10 +0100)]
Merge pull request #386 from ZachCook/master
Fix second instance runahead
Zachary Cook [Thu, 20 Feb 2020 03:27:52 +0000 (22:27 -0500)]
Use a more lightweight reset method for lightrec
Reset is common when using runahead, this seems to prevent crashes
when resets occur rapidly.
Zachary Cook [Wed, 19 Feb 2020 04:29:38 +0000 (23:29 -0500)]
Add fallback addresses so second instance runahead can work
Also prefer MAP_FIXED_NOREPLACE over MAP_FIXED, as it won't remove old memory maps
Twinaphex [Sun, 16 Feb 2020 20:19:08 +0000 (21:19 +0100)]
(3DS) Set pthread stack size to 12MB - possible solution for crashes
notaz [Sun, 16 Feb 2020 18:03:39 +0000 (20:03 +0200)]
Merge pull request #156 from pcercuei/fix-gte-divide
Replace existing gte_divider with MAME's version