Flyinghead
9f3f13eef1
aica arm dynarec for arm64
2019-01-21 13:08:53 +01:00
Flyinghead
a3682e7b22
arm64 dynarec: revert to non-explode spans and minor optimizations
...
Added some profiling
2019-01-21 12:54:29 +01:00
Flyinghead
da07d88b03
No need to save the RTC value anymore
2019-01-19 16:49:00 +01:00
Flyinghead
cd4e4cbdc9
x64 dynarec: check if extension is supported by cpu. seh on win32
...
Check if FMA/AVX/SSE3 is supported before using it
fully naked main loop in win32 with proper seh directives
win32: more xmm regs to allocate and no need to save them when calling
out
2019-01-18 17:02:50 +01:00
Flyinghead
573f285f3b
arm64 dynarec: save x29 and x30 in ngen_mainloop prologue
2019-01-18 00:06:33 +01:00
flyinghead
ed3f866835
win32 build fix
2019-01-16 17:42:36 +01:00
Flyinghead
f852480b88
OSX: build fix
2019-01-16 14:44:40 +01:00
Flyinghead
05d7cf2c72
x64 dynarec: implement immediate address ram read. OSX fix
2019-01-16 13:39:52 +01:00
Flyinghead
cb8e81d473
arm64: direct memory access and jit rewrite
...
generates direct vmem read & write accesses
trap sigsegv and rewrite using slow path
add w29 to allocatable registers
get rid of literals and use pc-rel branching
minor optimizations and cleanup
2019-01-16 13:04:16 +01:00
Flyinghead
c2a048e8d8
arm64: use explode_spans to allocate regs for V2 and F64 params
2019-01-15 08:47:07 +01:00
Flyinghead
e241613b8f
x64 dynarec: implemented swaplb, fipr, ftrv, frswap and other fixes
...
native implementations for swaplb, fipr, ftrv and frswap
use explode_spans to map 2V and F64 to registers
save xmm registers when calling subroutine
2019-01-14 21:15:36 +01:00
Flyinghead
b465f744ba
dynarec: flush fpu regs before FTRV
...
fixes issue with tokyo xtreme racer (x64)
might need to flush before other ops
2019-01-13 23:21:58 +01:00
Flyinghead
31163b8d7e
x64 dynarec: various fixes and optimizations
...
implemented fsca
fixed fsetgt and cvtf2i
2019-01-13 12:27:02 +01:00
Flyinghead
523b110412
arm64: dynarec fixes
2019-01-13 11:32:28 +01:00
Flyinghead
a2cd9d7af1
x64 dynarec: use register alloc spans, implement native opcodes
2019-01-12 23:48:48 +01:00
Flyinghead
fc05727538
dynarecs clean-up
...
move GetRegPtr and ngen_FailedToFindBlock to sh4/dyna
2019-01-11 23:52:20 +01:00
Flyinghead
e5ee48efa9
arm64: implement swaplb and pref. Various optimizations
2019-01-11 15:58:48 +01:00
Flyinghead
ec7787c56a
vixl: enable debug log on android
2019-01-11 15:57:37 +01:00
Flyinghead
0f026552c9
fix comments
2019-01-11 15:54:03 +01:00
Flyinghead
1c80207879
arm64: implement ftrv and frswap
2019-01-10 21:22:53 +01:00
Flyinghead
18a16f83ac
arm64: more native opcodes implemented
2019-01-10 18:58:29 +01:00
Flyinghead
a9a2aad8f6
arm64: use register spans allocation. Implement some opcodes natively
2019-01-09 16:35:23 +01:00
Flyinghead
3d8b01c515
arm64: Use x28 as sh4 regs base pointer. Reg cache to avoid fetches.
...
Block check optimization
2019-01-08 13:29:08 +01:00
Flyinghead
67a4eb8f1f
arm64 dynarec using vixl
2019-01-07 21:50:46 +01:00
Flyinghead
bed7a83b77
Check CDI version to avoid loading any crap as a CDI image and crashing
...
Less console spam, better error reporting
2019-01-02 16:43:36 +01:00
Flyinghead
15fa475f8a
Move DumpTexture() to CustomTexture and other fixes
2019-01-02 09:33:19 +01:00
Flyinghead
8532d1a032
Android: add Load Custom Textures option
2018-12-31 08:52:50 +01:00
Flyinghead
ecb689051f
Custom textures fixes
2018-12-30 22:23:23 +01:00
Flyinghead
9a3dd1c2d1
build fix
2018-12-30 19:44:18 +01:00
Flyinghead
3f98c2ba3c
Don't delete a texture when async load is pending
2018-12-30 19:19:27 +01:00
Flyinghead
e7fee139e4
build fix
2018-12-30 18:50:24 +01:00
Flyinghead
dd280ee24d
Custom textures loading and dumping
2018-12-30 18:42:55 +01:00
Flyinghead
031a40ec81
OSX: Fix crash when exiting. Add missing files to project
2018-12-29 17:42:08 +01:00
Flyinghead
2ecc54b4c9
Set DC date and time automatically, DC language setting
2018-12-23 12:59:16 +01:00
Flyinghead
bcc8fd57e2
gdrom: Notify the game that the lid is closed when swapping disc
2018-12-21 15:31:04 +01:00
Flyinghead
655d36a719
Convert vertex indices to u16 wih GLES2
...
GLES2 doesn't support 32-bit indexes so convert them to u16 when needed
2018-12-13 22:26:25 +01:00
Flyinghead
05177b2231
Naomi: got rid of in-lst input mapping
2018-12-13 16:08:59 +01:00
Flyinghead
a6881a46ac
Use naomi.zip BIOS for sl2007
2018-12-13 13:08:24 +01:00
Flyinghead
d41e405a50
Naomi: non-encrypted M4 carts fix (sl2007)
2018-12-13 13:06:01 +01:00
Flyinghead
35d7d24b6b
Naomi: use naomi BIOS for alpilot
2018-12-13 12:11:15 +01:00
Flyinghead
5664bfb9b6
pvr: use u32 for vertex indices to avoid overflow
...
Fixes alpilot glitches
2018-12-13 10:57:51 +01:00
Flyinghead
fea5f05b20
dispframe: initialize color clamping, for and palettes after loading
2018-12-13 09:37:11 +01:00
Flyinghead
a3cba92665
Android: load/save jvs eeprom
2018-12-12 23:30:54 +01:00
Flyinghead
10d9761a65
minor fix
2018-12-12 13:49:53 +01:00
Flyinghead
5763da184c
Fix bug in WriteMemBlock_nommu_ptr when size is not word-aligned
...
Bump max opaque polygon to 8192 (alpilot)
Minor lr backport and clean up
Fix corruption in doa2[m] and alpilot
Fix missing sound in Jambo Safari
2018-12-12 12:40:04 +01:00
Flyinghead
9c556007fb
Naomi: lr backport
2018-12-11 23:20:30 +01:00
Flyinghead
5ac99d3ad5
pvr: gouraud affects drawing. don't die if render queue not empty after
...
waiting.
2018-12-11 23:14:14 +01:00
Flyinghead
864939da42
minor lr backport
2018-12-11 23:11:21 +01:00
Flyinghead
2b16edd71f
Android: enable DSP, Add dynarec safemode/disable div matching
2018-12-07 12:58:07 +01:00
Flyinghead
9fe13e20e8
Clip high z vertices
...
Fixes Soul Calibur intro bogus triangles
2018-12-06 20:46:23 +01:00
Flyinghead
064531df95
Add some ExtraDepthScaling for NHL 2K2
...
Fixes tiny pause menu in-game
2018-12-03 15:14:00 +01:00
Flyinghead
93436c5ec1
Partially revert previous commit as it causes problems with RTT
2018-11-30 18:15:47 +01:00
Flyinghead
284dcf35a7
Add StrideSel to texture cache key as well
2018-11-30 18:06:32 +01:00
Flyinghead
63337d5178
Add ScanOrder to texture cache key
...
Fixes corrupted title screen in Grandia II
2018-11-30 17:56:57 +01:00
Flyinghead
7dc5fef352
Use xxhash for palette hashing
...
15 us -> 6 us
2018-11-30 15:24:04 +01:00
Flyinghead
e444acbc09
Android: set NoBatch to 1 to enable the DSP
2018-11-30 12:40:43 +01:00
Flyinghead
87a8fcb6f6
ARM dynarec: do a block check on the entire block
...
The check was on the first 4 bytes only.
Fixes Grandia II freezing on Now Loading... screen
2018-11-29 17:01:31 +01:00
Flyinghead
2ef90152c9
GL: add #if in shader for trilinear filtering
2018-11-23 22:33:51 +01:00
Flyinghead
24e7837eaa
Naomi: backport force region setting
2018-11-23 20:51:26 +01:00
Flyinghead
cfc215233f
Naomi: 7z archives - Split/parent roms
2018-11-23 18:46:21 +01:00
Flyinghead
d438f6d9c9
x64 dynarec: don't reset the cycle counter but add a time slice
...
This is how the interpreter and other dynarecs work. Better scheduling
precison.
Fixes Gundam Side Story freeze at boot.
2018-11-22 18:57:07 +01:00
Flyinghead
0d720ae0d6
Naomi: fix hotd2 and alpilot controls
2018-11-20 12:43:10 +01:00
Flyinghead
894991a44d
Naomi: use default eeprom from mame rom
...
More I/O boards
2018-11-19 16:43:41 +01:00
Flyinghead
a1aea570c5
Ignore bogus maple dma xfer
...
Workaround for csmash game test menu crash
2018-11-19 16:15:05 +01:00
Flyinghead
eef297706c
Bogus triangles due to huge negative z
...
Per-pixel only
Fixes vathlete
2018-11-19 15:38:44 +01:00
Flyinghead
4ec078441e
Naomi: fix GD-rom games id
2018-11-17 19:27:09 +01:00
Flyinghead
4be52b7b69
missing changes...
2018-11-17 12:29:59 +01:00
Flyinghead
6274e4c3d3
Build fix
2018-11-17 12:21:48 +01:00
Flyinghead
ed912ecb94
Naomi: All gd-roms defs. Build fix for OSX and Android
2018-11-17 12:09:05 +01:00
Flyinghead
62a3380bfa
Naomi: GD-ROM support
2018-11-16 22:27:35 +01:00
Flyinghead
40f2d64b6c
Android: Add zip files to naomi manifest. Load per-game std settings.
2018-11-16 18:35:17 +01:00
Flyinghead
5210c315dd
Naomi: wrong M2 game id if char is unsigned
2018-11-16 18:33:10 +01:00
Flyinghead
52a2d3dbdc
dsp: mask aica ram addr to avoid overflow
...
fixes ninja assault crash when starting a game
2018-11-15 21:58:04 +01:00
Flyinghead
1055c8366f
Naomi: JVS boards refactoring, support for Ninja Assault
2018-11-15 18:30:54 +01:00
Flyinghead
d716dfd74c
Naomi: fix alpilot and world kicks series rom def
2018-11-15 18:29:19 +01:00
Flyinghead
cb410438a2
Naomi: fix game id for some M2 carts
2018-11-15 18:25:23 +01:00
Flyinghead
074026842e
Naomi: fix M2 carts 4MB addressing mode
2018-11-14 20:50:22 +01:00
Flyinghead
b5e6d7e54a
Naomi/AW: input descriptors. Load bios from naomi.zip for .bin/.dat
2018-11-14 14:13:42 +01:00
Flyinghead
6f3b492175
Naomi/AW: Allow bios region selection
...
Per-game flash and bbram save files
naomi_boot.bin now optional
2018-11-12 17:54:38 +01:00
Flyinghead
895b3a5af1
Naomi/AW: Backport rom list from lr. Skip ram test at aw startup
2018-11-12 14:53:15 +01:00
Flyinghead
9ccf0efdea
switch between interpreter and dynarec at runtime
2018-11-11 23:49:41 +01:00
Flyinghead
fb92d8d8c5
less log
2018-11-09 13:23:47 +01:00
Flyinghead
4c334f09ea
AW: various fixes, more roms
2018-11-09 13:22:27 +01:00
Flyinghead
3e8033cc70
Don't die on Maple DMA abort
2018-11-08 10:41:40 +01:00
Flyinghead
0702682693
AtomisWave support
...
Better AtomisWave platform support
Refreshed flashrom implementaion
AtomisWave carts
Merged rom+bios romsets
2018-11-07 23:27:32 +01:00
Flyinghead
e93260634d
Naomi: save cart state into save state
2018-11-06 17:54:54 +01:00
Flyinghead
eff998dc53
Naomi: Decrypt M4 roms header to get game id. Refactoring and clean up
2018-11-06 14:30:34 +01:00
Flyinghead
22558d190a
Naomi: add dual I/O boards config for Ring Out 4x4
2018-11-06 14:01:54 +01:00
Flyinghead
592630ae5f
clean up
2018-11-06 13:04:27 +01:00
Flyinghead
7fde9fe35c
Naomi: finalize M4 carts support
2018-11-06 12:40:15 +01:00
Flyinghead
a3f898b7d0
Naomi: implement undocumented SH4 registers to make version h bios happy
2018-11-06 10:54:13 +01:00
Flyinghead
c95d13fdf1
Naomi: M1/M2/M4 missing files
2018-11-05 22:54:35 +01:00
Flyinghead
4e56432a2b
Naomi: M1/M2 mame roms support. M4 carts still WIP
2018-11-05 22:53:38 +01:00
Flyinghead
2003fc88d7
CHD v5 support
2018-11-02 10:14:25 +01:00
Flyinghead
4bce2bbbbf
OSX wants GLSL 1.4 or later
2018-10-30 11:48:44 +01:00
Flyinghead
5e59901e70
OSX build fixes
2018-10-30 11:29:30 +01:00
Flyinghead
2b25244c95
cResetEvent: needs absolute timeout value. Fixes Android FPS drop.
2018-10-30 10:56:25 +01:00
flyinghead
0d965fe3a3
mingw32 build fix
2018-10-29 22:59:46 +01:00
Flyinghead
a1745801f0
cResetEvent: convert to ns instead of us
2018-10-29 21:41:57 +01:00
Flyinghead
dd7d0a1ac2
Android: deadlock due to cResetEvent.Wait() bug
2018-10-29 20:56:45 +01:00