scribam
4bf6802855
Cleanup include headers
2020-03-29 14:26:21 +02:00
scribam
fef96c125a
deps: Update xbyak to version 5.891
2020-03-29 13:47:20 +02:00
scribam
0035871422
Replace RELEASE by NDEBUG
2020-03-29 10:12:32 +02:00
Flyinghead
ad3dce1102
fix alignment issues reported by ubsan on x64
...
Fix chd lzma and zlib buffers alignment
Fix ChannelEx struct alignment
2020-03-14 22:23:13 +01:00
scribam
53bde38035
Replace DECL_ALIGN macros by alignas
2020-02-27 22:17:33 +01:00
Flyinghead
21f1517a5f
dsp x64: use returned code buffer ptr on windows cuz it's reallocated
...
fixes dsp crash on windows
2020-02-27 11:52:00 +01:00
Flyinghead
f7e811e463
x64 dsp: OSX fix
2020-02-26 19:46:46 +01:00
Flyinghead
091c14c78a
X64 dsp jit compiler
...
fix clamping in arm64 dsp
2020-02-26 18:38:05 +01:00
Flyinghead
333b21fac4
Fix .elf support. Init aica irq mask/level during HLE boot
...
BSC PCTRA is 32-bit wide
2020-02-05 18:02:44 +01:00
Flyinghead
2b389a2142
no div matching for Aqua GT. Set correct input board for mazan
...
non functional changes
2020-01-15 22:50:07 +01:00
Flyinghead
1b49bdd31e
reduce save states size by ~20mb
2020-01-07 20:13:33 +01:00
Flyinghead
553343e698
suport latest lr core savestate format
2019-12-13 12:59:35 +01:00
Flyinghead
84bdcd9a10
G2: Add Dev Device DMA
...
backport from upstream
2019-11-03 21:24:28 +01:00
Flyinghead
27fd0d4262
aica: LFORE is not cleared automatically
2019-11-03 18:23:25 +01:00
Flyinghead
87023c722d
Hide unsafe optimizations on all but arm32 platform
...
Non-functional changes
2019-09-30 15:36:39 +02:00
Flyinghead
84e0f9f118
aica: get rid of old sync dma timing
2019-09-28 22:34:36 +02:00
Flyinghead
ae4f378747
Add fast-forward mode
...
Fix buttons.png not being created if not first run
2019-09-27 14:15:29 +02:00
Flyinghead
b2ee35f82e
aica: initialize regs with half-words
2019-09-11 14:54:24 +02:00
Flyinghead
08d7cc68fd
aica: use log scale for attack phase
...
Change AEG starting envelope value from 3ff to 280
Use log scale instead of linear during attack phase
2019-09-10 16:21:51 +02:00
Flyinghead
fbdbd2491d
aica: implement pitch LFO and LPF envelope
...
simplify channel serialization
optimize aica channel reg write callbacks
2019-09-09 11:32:03 +02:00
scribam
49b7e0682b
Cleanup
2019-09-07 20:36:13 +02:00
Flyinghead
d1c3d31259
aica: save quantization and last sample when entering loop for normal adpcm
2019-09-06 13:53:01 +02:00
Flyinghead
7287b3816b
aica: don't reset the adpcm decoder when looping
...
also don't decode past LEA, use LSA instead
2019-09-05 18:17:53 +02:00
Flyinghead
a50ed2cc7d
dsp: fix SHIFTER and ACC shift values. Simplify
2019-09-05 15:45:14 +02:00
Flyinghead
713705a6fe
dsp: fix errors in PACK and UNPACK functions
2019-09-05 15:45:14 +02:00
Flyinghead
ee1ee56824
proper hard reset of sh4 mm registers
...
more clean up
2019-09-01 23:10:04 +02:00
Flyinghead
61f4cd4ecd
Merge remote-tracking branch 'origin/master' into fh/hle-bios
2019-08-31 22:10:09 +02:00
Flyinghead
936cd6781b
clean up
2019-08-31 17:36:34 +02:00
Flyinghead
2015d9a696
rename and clean up
2019-08-30 23:35:10 +02:00
scribam
269297be18
Use _WIN32 to handle Windows specific code
2019-08-28 20:37:53 +02:00
scribam
61382316c9
Use __ANDROID__ to handle specific Android code
2019-08-28 20:37:53 +02:00
Flyinghead
7c8ce6267a
use lroundf(x) instead of x + 0.5f
2019-08-17 18:19:33 +03:00
Flyinghead
4dfa83079a
aica and arm7 clean up
2019-07-25 21:34:43 +02:00
Flyinghead
2529b5048e
get rid of useless macro
2019-07-24 19:09:54 +02:00
Flyinghead
4f8e18215b
Fixed savestates: restore compatibility with lr and master
...
Add new maple devices from lr
Clean up shil.cpp
2019-07-12 17:20:43 +02:00
Flyinghead
58cb50f587
fix reset hang on naomi
2019-07-10 17:25:11 +02:00
Flyinghead
d5e24d8aed
Cleaner init. Get rid of LastImage
2019-07-08 18:10:43 +02:00
Flyinghead
fcc6fd784c
holly: use new logging
2019-06-30 23:02:26 +02:00
Flyinghead
cf6887a5d0
aica: use new logging
2019-06-30 22:09:32 +02:00
Flyinghead
c2c0215e1b
Merge remote-tracking branch 'origin/master' into fh/wince-dynarec
2019-05-22 14:13:00 +02:00
Flyinghead
fb76efb08d
Standard functions for virtual mem alloc/protect/map/...
2019-05-22 11:41:12 +02:00
Flyinghead
a5ae8eeef0
Reset flashrom on reset
2019-05-21 11:29:25 +02:00
Flyinghead
f0ebd2b818
wince: force aica.NoBatch
2019-05-15 14:00:36 +02:00
David Guillen Fandos
aa4fc8dd60
Move cache invalidation to vmem_platform and implement NO_RWX on arm64
...
Still not functional yet, this commit breaks arm64 on android for instance.
Rewrites are not yet figured out, will push them in the next commit.
2019-05-12 23:25:43 +02:00
David Guillen Fandos
b74db6ef53
Moving vmem to separate files with a proper interface.
...
Works so far for Linux and Android, need to do some testing on Windows.
2019-05-11 22:09:52 +02:00
Flyinghead
1b04ef4cb1
Get rid of RTC in settings
2019-04-08 22:09:22 +02:00
Flyinghead
f5c896121e
Aica: fix adpcm decoding
...
Fix click at the end of some samples (Sonic Adventure menu sound)
2019-03-26 12:45:02 +01:00
Flyinghead
c809c6c56f
Merge branch 'fh/mymaster' into fh/master-merge
2019-03-25 16:47:47 +01:00
Flyinghead
cae22b9fbb
Re-init the aica sgc on reset
2019-03-25 09:41:28 +01:00
Flyinghead
49c432f041
arm64: fix DSP dynarec crash on some platforms
2019-02-13 14:23:47 +01:00
Flyinghead
87aacd50d2
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-02-07 10:37:33 +01:00
Flyinghead
90ad16317f
arm64 dsp: fix stack order
2019-01-25 15:38:55 +01:00
Flyinghead
fca6f3cecb
dsp arm64: fix crash when VIXL_DEBUG is off
2019-01-24 21:47:55 +01:00
Flyinghead
0cce6cc5a5
Clean up and comments. No functional change
2019-01-24 09:40:14 +01:00
Flyinghead
1501e2273d
Don't enable the dsp interpreter if using the dynarec
2019-01-23 22:59:00 +01:00
Flyinghead
8c7f9105a1
dsp dynarec: missing commit
2019-01-23 22:46:05 +01:00
Flyinghead
3a064cd068
DSP dynarec for arm64
2019-01-23 21:14:51 +01:00
Flyinghead
da07d88b03
No need to save the RTC value anymore
2019-01-19 16:49:00 +01:00
Flyinghead
2ecc54b4c9
Set DC date and time automatically, DC language setting
2018-12-23 12:59:16 +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
ea993d92e9
DSP: access violation on win32 x86 due to missing exec perm
2018-10-24 18:37:11 +02:00
Stefanos Kornilios Mitsis Poiitidis
09f8a50bf2
AICA: Make async dma an option, default on
2018-10-05 14:24:56 +02:00
Flyinghead
10c7650690
Schedule the interrupt signaling the end of an Aica DMA transfer instead
...
of raising it immediately.
Fixes Street Fighter Alpha 3 and Bomberman Online
2018-09-26 22:01:48 +02:00
Ender's Games
ee3a474ee4
Revert "Interrupt Hack setting w/ less stigma"
...
This reverts commits e5c0f0e
, eebf3fc
, 14fc7d9
2018-09-26 09:06:07 -04:00
Flyinghead
3c60d4745c
G2-EXT2 DMA channel
2018-09-21 18:27:45 +02:00
Flyinghead
de147549c3
Save states implementation
2018-09-20 19:48:46 +02:00
Sven
daae7c8e68
add save states
2018-09-02 09:49:23 -04:00
Ender's Games
14fc7d910a
Convert Interrupt Hack to name w/ less stigma
2018-08-26 23:13:25 -04:00
Ender's Games
e5c0f0ee71
https://code.google.com/p/nulldc/source/detail?r=108
...
Originally ported from nullDC to libretro in commits:
2fa562db1b46c52b663b3dd4bb33a64907357458
f8eb58ac16a9e5adf662b99be5d00729264808e0
Modified for use w/ reicast per-game configuration
2018-08-22 21:14:02 -04:00
Flyinghead
11738c9b1f
DSP: interpreter optimization
2018-08-14 00:59:34 +02:00
Flyinghead
e10b46dbca
Aica: missing dsp_term() for x86 dynarec
2018-08-13 18:05:56 +02:00
Flyinghead
94c995510e
aica: Terminate the dsp at shutdown
2018-08-13 16:34:29 +02:00
Flyinghead
1e661a4d45
AICA DMA: raise end of transfer interrupt immediately for small
...
transfers.
Fixes Bangai-O startup freeze
2018-08-02 18:25:02 +02:00
Flyinghead
a11dd3f159
Get rid of EGHack
2018-08-01 17:20:41 +02:00
Flyinghead
1e67f9be0b
Schedule Aica DMA interrupt instead of raising it immediately.
...
Fixes Street Fighters Alpha 3 freeze.
2018-08-01 16:55:50 +02:00
Flyinghead
1ac497ba30
Update AEG params when FNS or OCT registers are updated
...
Fixes Bomberman Online FMV intro freeze, Jet Grind Radio and Psyvariar 2 intro music fade out and probably more.
2018-08-01 16:30:43 +02:00
Flyinghead
02bbdb3ebe
Fix build on win x64
2018-07-29 21:57:57 +02:00
Flyinghead
8c3247d1b2
Generic interpreted DSP
2018-07-29 21:47:30 +02:00
Flyinghead
92c06a7249
Update AEG params when FNS or OCT are updated.
...
Fixes Bomberman Online FMV intro freeze, Jet Grind Radio and Psyvariar 2 intro music fade out.
2018-07-29 18:23:53 +02:00
Flyinghead
17a34c079c
Backported EG hack. Courtesy of libretro.
...
See 13dacb0021
2018-06-29 17:04:07 +02:00
Stefanos Kornilios Mitsis Poiitidis
2347b95bf2
aica/sgc: fix update_rate warning
2015-07-29 03:26:58 +02:00
Stefanos Kornilios Mitsis Poiitidis
9cf9bacd13
build: Refactor HOST_NO_REC everywhere
2015-07-25 13:19:26 +02:00
Stefanos Kornilios Mitsis Poiitidis
8c469e4b5c
*nix: move context massaging to linux/context.cpp, ALIGN -> DECL_ALIGN
...
Yay some warnings gone from not conflicting with ALIGN anymore
2015-05-16 03:06:04 +02:00
Stefanos Kornilios Mitsis Poiitidis
9a5c3160a3
Documentation for dsp.cpp
2014-12-17 07:12:08 +01:00
Stefanos Kornilios Mitsis Poiitidis
22e95de2d1
Merge pull request #572 from reicast/skmp/pandora-merge
...
pandora merge
2014-12-11 03:26:13 +01:00
Stefanos Kornilios Mitsis Poiitidis
77390f861e
DSP only if HOST_NO_REC is not enabled
2014-12-09 22:15:00 +01:00
ptitSeb
aa80f4a852
PANDORA: Options and GUI
2014-08-18 21:55:57 +02:00
TwistedUmbrella
2a150ef61c
Refactor @ptitSeb PANDORA: Options and GUI - NoSound
2014-03-01 07:38:54 -05:00
ptitSeb
54e3a0e4e0
PANDORA: Options and GUI
2014-03-01 07:38:40 -05:00
Stefanos Kornilios Mitsis Poiitidis
f5d29677b3
Merge branch 'androidui'
...
Conflicts:
core/hw/pvr/spg.cpp
core/hw/sh4/interpr/sh4_interpreter.cpp
reicast/android/src/com/reicast/emulator/MainActivity.java
2013-12-28 22:28:50 +01:00
Stefanos Kornilios Mitsis Poiitidis
7ef9de3cae
Moving code around, cleanups
2013-12-28 22:20:08 +01:00