Commit Graph
3736 Commits
Author SHA1 Message Date
barbudreadmon cf526cae26 oops 2019-07-21 19:37:11 +02:00
5schatten 0e9ee1424b Makefile: added platforms for AML & RK
- Amlogic S905/S905X/S912/S905X2/S922X/A311D
- Rockchip RK3288/RK3328/RK3399
2019-07-21 16:38:13 +02:00
barbudreadmon 3cb25ed3b7 better default mapping for some naomi games 2019-07-21 16:37:52 +02:00
barbudreadmon 9c9e6b0a1c add default eeprom for alienfnt 2019-07-21 16:37:45 +02:00
twinaphex 5b6e166ce0 Add HAVE_CDROM for Windows and Linux 2019-07-17 10:32:41 +02:00
barbudreadmon a76837ae9f another attempt at fixing properly the GLdouble mess 2019-07-17 10:32:34 +02:00
twinaphex 55778a2b3c Fix build 2019-07-17 10:32:23 +02:00
barbudreadmon 3d8db5e37d those targets also miss GLdouble 2019-07-17 10:32:15 +02:00
barbudreadmon 4fc4e527a4 oops, don't add this twice 2019-07-17 10:32:05 +02:00
Flyinghead 410b5a4fb6 OSX build fix 2019-07-17 10:31:58 +02:00
barbudreadmon 221a93a527 this header needs the HAVE_GLSYM_PRIVATE stuff too 2019-07-17 10:31:51 +02:00
barbudreadmon 43dcc643d1 fix RPIs missing GLdouble 2019-07-17 10:31:44 +02:00
barbudreadmon ed569b16ad (libretro) Update libretro-common + various fixes 2019-07-17 10:31:30 +02:00
barbudreadmon c591c649db new GLdouble/GLclampd gles implementation
tested on mupen, should work everywhere
2019-07-17 10:31:21 +02:00
barbudreadmon 8fdbfe3000 android fails if we redefine this 2019-07-17 10:31:13 +02:00
briceramard 37cc00ed73 raspberry pi 4 Makefile & gfx bug correction 2019-07-17 10:30:59 +02:00
Aaron Kling 918b13a524 libretro: jni: Switch stl to c++ in preparation for ndk r20
Also remove gl define thats now included in the ndk
2019-07-17 10:30:38 +02:00
Aaron Kling 69a2e6446f Fix android x86 compile 2019-07-17 10:30:20 +02:00
Aaron Kling 8a3402e025 libretro: Makefile cleanups
Specifically for android and generic dynarec
2019-07-17 10:10:37 +02:00
barbudreadmon 54dd13b32b Sync with MAME 0.210 2019-07-17 10:10:12 +02:00
barbudreadmon b2a697ba21 add 15khz naomi dipswitch core option + some refactoring 2019-07-17 10:10:02 +02:00
Flyinghead 74b40a41fc Mirror writable aica ram to 8mb in 512mb vmem mode
Fixes switching from dc to naomi on windows
Should help games reading past end of aica ram (HeadHunter and GuruGuru Onsen 2)
2019-07-12 13:39:00 +02:00
Flyinghead ce1a1106d4 save states: compatibility with master branch 2019-07-12 13:36:48 +02:00
Flyinghead 99adb33992 better termination, clean up 2019-07-11 13:02:44 +02:00
Flyinghead fcc23778a0 gl4: use VAOs, use normalized coords in abuffer, fix TR depth testing
In non-autosort, the abuffer depth test should only be done for the second
pixel (if the first writes to the depth buffer). The depth test is already done
in the fragment shader. Fixes flashlight and lightning effects in Alone in the
Dark.
Fix dimensions of buffers if RTT needs a bigger buffer than the screen.
Use normalized coordinates in abuffer.
Don't draw VMUs and crosshair on textures.
Use VAOs everywhere

Tom Clancy's Rainbow 6 needs RTT to vram option
2019-07-11 11:52:38 +02:00
Flyinghead ee30a90bce gl4: do a depth-only TR pass in non-autosort mode
fixes HeadHunter map/radar issue
2019-07-08 13:20:46 +02:00
Flyinghead 75e2deb12f pvr: ignore Z Write Disable for punch-through polys
Fixes Worms World Party and Bust-a-Move 4
2019-07-08 09:39:39 +02:00
Flyinghead 263419bcdd wince: online support
Use default asyncmap for LCP control packets
Delay reading from picotcp ppp stream when connecting
Accept [PSH,SYN] as valid tcp connect packet

Add PBA Tour Bowling 2001 as wince game
Disable vmem32 for StarLancer and Maximum Pool (req'd for online support)
2019-07-07 21:40:26 +02:00
Flyinghead 79afe80e06 Merge branch 'fh/wince' of https://github.com/libretro/flycast into fh/wince 2019-07-04 17:58:54 +02:00
Flyinghead 4a091d84ee naomi: minimal emulation of 840-0001E comm board
makes gunsur2 and gunsur2j boot
various minor naomi changes
2019-07-04 17:58:28 +02:00
flyinghead fec186e9e9 win32: unprotect ram regions individually in blockmanager
fixes abort when starting a game on windows
2019-07-04 09:54:07 +02:00
Flyinghead acb96779d6 Don't unprotect vram when a texture is updated
Adjacent textures in other pages still need vram protection
wince: disable vmem32 for Marionette Company 1 & 2 and Rune Jade
Disable verify in TA parsing: fix F1 World Grand Prix for Dreamcast
need RTT to vram option:
L.O.L
Miss Moonlight
Eternal Arcadia
Yu Suzuki Game Works vol.1
2019-07-03 00:19:40 +02:00
Flyinghead 5190f8feb4 renderer: support non-integer v-scaling factor
Fixes missing half-screen in Wacky Races (PAL), Buzz Lightyear of Star Command (PAL),
Tom Clancy's Rainbow Six - Rogue Spear + Mission Pack - Urban Operations (PAL), Sega Worldwide Soccer 2000 (PAL)

fix verify failed when terminating or switching renderer
texture corruption resulting from misaligned page unprotection
2019-07-02 23:42:18 +02:00
Flyinghead f2d0a0ee0c rec-arm: fix immediate writem bug. clean up
get rid of unused and unstable opts
div32p2 implementation (untested)
Fixed canonical test mode
2019-07-02 23:33:09 +02:00
Flyinghead 7eb4336469 refactor vram lock/unlock code into new vmem.cpp functions
renderer: when a RTT frame is rendered, swap any pending frame first
(Fixes Tony Hawks 1 & 2 black screen issue)
2019-07-02 23:17:15 +02:00
Flyinghead c9d66ccc25 dynarec: use mprotect to protect code areas
All ram pages containing code are write protected. In that case, no need
for block checks. Memory reads in the same block(s) can also be executed
at compile time and the results propagated as constants.
When a write is detected in a protected area, the corresponding blocks
are discarded and recompiled using traditional (slow) block checks.

Backported the blkmap code finding change from upstream.
Use smart pointers for block management to avoid reference issues.
Added WriteAfterWrite ssa pass
Fixed crash in ssa ConstProp pass when op list is modified

Add Ducati World to disable-div-matching games
2019-07-02 22:43:30 +02:00
Flyinghead 0a6b8aa288 rec-arm64: simplify read/write mem rewrite logi
pass exception pc in x2 reg for both slow/fast paths
infer the op type and size from the armv8 op encoding
rewrite doesn't need access to the block anymore
add support for some imm args

ssa: swap setpeq args in ssa if first is imm
2019-07-02 21:37:20 +02:00
Flyinghead 33bb26f11c rec-x64: setpeq native impl. Fix imm mem write for byte and short
Optimize fneg, fabs and sub
Fix cvt_f2i
Fix fsca with imm arg
support immediate args for xtract
Support 64-bit immediate readm (ninjaslt)
2019-07-02 21:14:56 +02:00
Flyinghead 9a7cc3794d rec-x86: ssa support 2019-07-02 21:06:33 +02:00
Flyinghead 1811b06554 wince: use exceptions in dyna/decoder.cpp and catch them in driver.cpp 2019-07-02 20:12:20 +02:00
Flyinghead 47145acf00 Fix div matching: support 64-bit div and correct handling of negative
Some games do 64-bit / 32-bit division (Pro Pinball Trilogy)
DIV0s/1 use and output 1's complement numbers
The final reminder fixup wasn't correct for negative dividend
2019-07-02 20:06:46 +02:00
Flyinghead fda6ff9738 Merge remote-tracking branch 'origin/master' into fh/wince 2019-06-25 09:52:52 +02:00
barbudreadmon d7718e7e6e (libretro) Update library_name 2019-06-25 09:36:34 +02:00
Flyinghead 94d748509c Merge remote-tracking branch 'origin/master' into fh/wince 2019-06-24 11:49:48 +02:00
twinaphex d5ad35ab02 Add new input macro code 2019-06-24 03:12:11 +02:00
Flyinghead 9cddf87c81 rec-arm: use ssa regalloc 2019-06-14 16:09:32 +02:00
Flyinghead 8f41faa035 rec-arm64: use SSA, generate main loop
Fix xtrct canonical implementation
2019-06-14 13:45:11 +02:00
Flyinghead 5ba8bed482 rec-x64: use ssa regalloc. wrap aica ram to 8MB. Fix 512MB vmem space. 2019-06-14 12:53:08 +02:00
Flyinghead 61fdf77f32 initial ssa commit (not yet used) and minor changes 2019-06-14 12:12:39 +02:00
Flyinghead 63888d21c3 rec-arm64: remove PREF 0x1337 hack. Fix compile issues 2019-06-14 11:32:44 +02:00