Commit Graph
3535 Commits
Author SHA1 Message Date
Flyinghead b052d84f3d missing #include 2019-02-08 16:15:22 +01:00
Flyinghead 88f609ea19 x64 dynarec: loss of precision with RSQRTSS and other fixes
x64: don't use RSQRTSS
Recompile DSP when loading state
Restore VRAM lock of updated RTT textures
Force RTT to buffer for Skies of Arcadia
2019-02-08 09:16:26 +01:00
Twinaphex fb480da7f6 Merge pull request #477 from barbudreadmon/patch-4
Sync naomi roms with mame 0.206
2019-02-03 21:00:56 +01:00
barbudreadmon 8659d95fa4 Sync naomi roms with mame 0.206
Also fixed some decrypt keys
2019-02-03 20:14:10 +01:00
Twinaphex df4d2d98f0 Merge pull request #476 from libretro/fh/redump-cue
Support for redump.org CUE file format
2019-02-03 16:59:47 +01:00
Flyinghead 0e34725aa5 Makefile change for cue file format 2019-02-03 16:19:06 +01:00
Flyinghead f6f07876bb Support for redump.org CUE file format 2019-02-03 16:17:03 +01:00
Twinaphex aefaf1068f Merge pull request #472 from libretro/fh/disable-rec-cpp
Generic dynarec was always used if compiled in
2019-01-29 08:04:54 +01:00
Flyinghead 7439bc3f26 generic dynarec was always used if compiled in
also disable the generic dynarec when using a native one
fixes startup crash on RPi3
2019-01-26 17:23:46 +01:00
Twinaphex bf3ce66311 Merge pull request #470 from libretro/fh/rttbuffer-alpha
Fix render to texture buffer alpha channel for 1555
2019-01-26 13:35:23 +01:00
Flyinghead a30162f4e2 Fix render to texture buffer alpha channel for 1555
Saturate alpha when strictly greater than threshold, not >=
Don't put rendered texture in cache if rendering to texture buffer
(VRAM)
Fixes Skies of Arcadia start menu
2019-01-26 12:02:01 +01:00
Twinaphex cdc1dbba4e Merge pull request #469 from libretro/fh/dsp-arm64
arm64 DSP dynarec
2019-01-25 19:22:46 +01:00
Flyinghead bd76226901 Pad dsp_t to keep savestates compatibility
Remove some unused DSP regs to avoid changing the size of dsp_t, which
breaks serialization compatibility.
2019-01-25 16:48:01 +01:00
Flyinghead 8fecd1de74 arm64 DSP dynarec 2019-01-25 15:37:01 +01:00
Twinaphex b3ac841896 Merge pull request #468 from libretro/fh/arm64-arec
arm64: new AICA dynarec and improvement to the sh4 one
2019-01-22 19:59:44 +01:00
Flyinghead 86a0b68832 arm64: new AICA dynarec and improvement to the sh4 one
AICA arm7 dynarec implementation for arm64
Use tail calling and block linking in sh4 dynarec
Revert to not using "explode spans" as it's slower

Fix float precision issue on x64 when using AVX instructions
Minor optimizations for x64 and arm64
2019-01-22 19:52:30 +01:00
flyinghead 701c55c4f5 Merge pull request #466 from libretro/fh/x64-rec-fix
x64 dynarec: fix windows crash
Issue #464
2019-01-18 19:41:44 +01:00
flyinghead 6db40e8e65 x64 dynarec: fix windows crash
win32: implement proper seh prologue
fix a cpu feature lookup
disable LTO
win32: add more xmm register to allocate and don't save them when
calling out
2019-01-18 15:35:33 +01:00
Twinaphex 4a8bc88144 Merge pull request #463 from libretro/fh/arm64-jit-mem
arm64: direct mem access and crash fix
2019-01-17 18:35:47 +01:00
Flyinghead 93c81ea5e7 x64 dynarec: only use AVX/SSE3/FMA extensions when available 2019-01-17 17:21:57 +01:00
Flyinghead d1e2db4618 arm64: direct mem access and crash fix
generates direct vmem read & write accesses
trap sigsegv and rewrite using slow path
add w29 to allocatable registers
save x30 in ngen_mainloop prologue (fix libretro crash)
get rid of literals and use pc-rel branching
use explode_spans to allocate regs for V2 and F64 params
minor optimizations and cleanup
2019-01-17 11:05:02 +01:00
Flyinghead 275cf48d41 android x64 build fix 2019-01-16 10:57:16 +01:00
Flyinghead 8658c202f7 revert a change not intended for anything but osx 2019-01-15 21:09:08 +01:00
Flyinghead 9606685cc0 osx: more llvm inline assembly woes 2019-01-15 20:55:45 +01:00
Flyinghead f7a9ad201e OSX: build fix
LLVM inline assembly is compatible with gcc... to a certain extent
2019-01-15 20:35:23 +01:00
Twinaphex 1f8eae705b Merge pull request #462 from libretro/fh/x64-rec-opt
x64 dynarec optimization
2019-01-15 18:41:19 +01:00
Flyinghead 8c6389492e Missing file 2019-01-15 15:11:58 +01:00
Flyinghead a87c0059c8 x64 dynarec optimization
Use register allocation
Implement most opcodes natively
2019-01-15 14:51:55 +01:00
Twinaphex 844e83e4cf Merge pull request #461 from libretro/fh/arm64-dynarec
arm64 dynarec
2019-01-14 23:32:27 +01:00
Flyinghead 6c5321ff74 arm64 dynarec 2019-01-14 21:50:13 +01:00
Twinaphex 02a774daf4 Merge pull request #460 from barbudreadmon/patch-3
NAOMI: Add sambaa & set parent for samba clones
2019-01-13 18:41:01 +01:00
barbudreadmon 3305d431a0 NAOMI: Add sambaa & set parent for samba clones 2019-01-13 09:48:54 +01:00
Twinaphex e621a474f5 Merge pull request #459 from libretro/fh/custom-tex
Custom textures dumping and loading
2019-01-05 16:06:48 +01:00
Flyinghead 2285d2419f unused #def's 2019-01-05 12:39:06 +01:00
flyinghead 1ea3c7af47 Custom tex: Use retro_stat for path handling. Fix deadlock on exit
(win32)
2019-01-05 12:33:47 +01:00
Flyinghead 4a7bb80067 Get rid of /data/ folder in custom textures path. Flip images up/down 2019-01-05 11:12:57 +01:00
Flyinghead 06ae9d6990 Check CDI version to avoid loading any crap as a CDI image and crashing 2019-01-03 16:34:59 +01:00
Flyinghead ed0ec41a12 Custom textures loading and dumping 2019-01-03 16:31:45 +01:00
Twinaphex 3dd45d2715 Merge pull request #454 from libretro/fh/rtc-lang
Set DC date/time automatically, DC language core option
2018-12-23 13:47:07 +01:00
Flyinghead fbc2cc3d07 Set DC date/time automatically, DC language core option
Removed Extra Depth Scale core option
2018-12-23 13:40:30 +01:00
Twinaphex 80a92857b1 Merge pull request #452 from libretro/fh/discswap
Disc swapping support, Reset support, GLES2 regression fix
2018-12-23 11:35:16 +01:00
Flyinghead 025cdaa719 Support for Restart/retro_reset() 2018-12-21 18:10:22 +01:00
Flyinghead 73a22d07a1 Disc swapping support using libretro disc control interface 2018-12-21 15:13:25 +01:00
Flyinghead 268d0bb812 GLES2 only supports 16-bit indexes so convert before uploading to GPU 2018-12-21 15:11:38 +01:00
Twinaphex 37da602d64 Merge pull request #448 from libretro/fh/alpilot-fix
Use u32 for vertex indices to avoid overflow. Fix ggx15 coin chute issue
2018-12-13 15:07:07 +01:00
Flyinghead 8562294fcb Naomi: add more analog axes
Use left and right analog stick and two triggers for up to 6 analog
axes.
2018-12-13 14:49:55 +01:00
Flyinghead 0d9d8d0a5b Naomi: non-encrypted M4 carts support
Fixes sl2007
2018-12-13 13:14:10 +01:00
Flyinghead 56548e156d Use u32 for vertex indices to avoid overflow. Fix ggx15 coin chute issue
Use 32-bit index to allow for more than 64K vertices per frame (alpilot)
Fix unaligned size memory access.
Fix ggx15 coin chute issue by allowing 5 consecutive reads.
Use naomi BIOS for alpilot as airlbios crashes in the test menu.
Add gouraud bit to mask that affects drawing.
2018-12-13 11:34:26 +01:00
Twinaphex 7221180c13 Merge pull request #443 from libretro/fh/p1-p2-mapping
Naomi: allow mapping P2 buttons onto P1. Fix coin chute issues.
2018-12-11 00:18:18 +01:00
Flyinghead 0d448cbb34 Naomi: allow mapping P2 buttons onto P1. Fix coin chute issues.
Mappings for 18 Wheeler, Jambo Safari and Virtual On
2018-12-10 23:23:03 +01:00