Commit Graph

3657 Commits

Author SHA1 Message Date
Flyinghead 8194254fa1 pvr: restore TA ctx after rendering framebuffer
fixes Sakura Taisen 4 hang when starting game
2019-09-13 12:31:10 +02:00
Flyinghead ed90bcebee partially revert 1a019b79b0
move the punch-through alpha test back to where it was (before shading)
fixes SF Rush missing chars on copyright screen
2019-09-12 18:54:14 +02:00
Flyinghead 2bcc3c574b pvr: ignore data sent to TA if no prior list init
fixes Vigilante 8 freeze during FMV sequence
2019-09-12 15:07:57 +02:00
Flyinghead 1174bce64a dynarec: set correct sign on result if float conv returns indefinite
canonical implementation, x86/x64 only
2019-09-12 15:06:21 +02:00
Flyinghead 25a2c52960 pvr: crash when CurrentPP is null 2019-09-11 23:21:14 +02:00
Flyinghead 2bdfdf96c1 gl4: fix invisible framebuffer direct writes with hle bios
Fixes hidden & dangerous black screens in hle bios mode
2019-09-11 21:10:02 +02:00
Flyinghead 8b949e1dca Get rid of time_sync timer. Clean-up 2019-09-11 15:09:23 +02:00
Flyinghead a19c73de7b Fix some sh4 regs hard reset 2019-09-11 15:00:08 +02:00
Flyinghead b2ee35f82e aica: initialize regs with half-words 2019-09-11 14:54:24 +02:00
Flyinghead e1368f9713 reios: First polygon wasn't displayed in some cases 2019-09-11 14:08:54 +02:00
Flyinghead 11c95c41d3 Hide legacy Naomi roms (.bin, .dat. lst) by default 2019-09-10 21:56:58 +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 0bd95cbba8 Delay Frame Swapping option to enable FB_R_SOF == FB_W_SOF detection 2019-09-09 14:58:53 +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
flyinghead afc8398628
Merge pull request #14 from scribam/cleanup
Cleanup
2019-09-08 17:49:36 +02:00
scribam 49b7e0682b Cleanup 2019-09-07 20:36:13 +02:00
flyinghead c4ecfe3d9c win32: _create_locale not available on win7 2019-09-07 20:22:23 +02:00
Flyinghead 704f90d78e x64: set correct sign on result if float conv returns indefinite 2019-09-07 12:08:08 +02:00
flyinghead 1776fce6bb
Merge pull request #12 from scribam/xxhash
deps: Update xxhash
2019-09-06 22:01:32 +02:00
scribam e0fb50488d deps: Update xxhash integration 2019-09-06 21:05:19 +02:00
scribam c746a8be53 deps: Update xxhash to version 0.7.1 2019-09-06 20:45:17 +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 92dbc89fa3
Merge pull request #11 from scribam/libpng-zlib
Simplify libpng/zlib integration
2019-09-04 20:21:00 +02:00
scribam bdf2029e99 Simplify libpng/zlib integration 2019-09-04 19:59:51 +02:00
flyinghead 4ffe508061
Merge pull request #10 from scribam/integration-fixes
Small integration fixes/improvements
2019-09-04 09:15:21 +02:00
scribam 9bdae4e8b3 deps: Simplify flac integration
It works because the path to the flac include dirs are defined in the
makefile/vs/xcode project.
This way, it would be also easier to rely on system packages instead of
compiling the bundled version.
2019-09-03 22:58:57 +02:00
scribam 2057277d7b deps/msvc: Fix wrong path to the "dirent" include directory 2019-09-03 22:12:06 +02:00
Flyinghead 5b9892425f naomi: game detection fails on windows when mixing / and \ 2019-09-03 19:18:11 +02:00
Flyinghead b4d33a6c70 Merge remote-tracking branch 'origin/master' into fh/hle-bios 2019-09-03 19:14:39 +02:00
flyinghead 99c81d5920
Merge pull request #9 from scribam/dirent
deps/windows: Update dirent integration
2019-09-02 23:08:59 +02:00
scribam 21fa8ecfba deps/windows: Update dirent integration
Source: https://github.com/tronkko/dirent/blob/1.23.2/include/dirent.h
2019-09-02 22:57:53 +02:00
Flyinghead ee1ee56824 proper hard reset of sh4 mm registers
more clean up
2019-09-01 23:10:04 +02:00
Flyinghead aadc9c3bfc Detect game region/vga support and set options accordingly
Better IP.BIN parsing (wince, vga)
Use wince flag and boot filename for wince detection
Switch to TV composite if vga unsupported
Switch to supported BIOS region if current is unsupported or default
2019-09-01 16:35:12 +02:00
flyinghead dfe1e00004
Merge pull request #8 from scribam/cmake-prep
Misc platform changes
2019-09-01 16:30:00 +02:00
scribam 314f25ea38 linux: Use header <sys/personality.h> only on linux platforms 2019-09-01 14:15:29 +02:00
Flyinghead 61f4cd4ecd Merge remote-tracking branch 'origin/master' into fh/hle-bios 2019-08-31 22:10:09 +02:00
Flyinghead dd8903484e reios: less log 2019-08-31 21:56:47 +02:00
Flyinghead 5ca6cacf25 reios: fix wince exception due to unaligned pio xfer 2019-08-31 20:53:42 +02:00
Flyinghead 2e77e049a8 reios: check disk syscall 2019-08-31 18:55:54 +02:00
Flyinghead 936cd6781b clean up 2019-08-31 17:36:34 +02:00
scribam 0fbee12dc0 msvc: Fix condition for "naked" defintion 2019-08-31 14:46:30 +02:00
scribam d826d8123a msvc: Fix DYNACALL/__fastcall usage 2019-08-31 14:46:30 +02:00
scribam 69e9d9767a windows: Add fallback for _BitScanForward64 on 32-bits system 2019-08-31 14:46:30 +02:00
flyinghead a1e35d1d69
Merge pull request #7 from scribam/msvc-fixes
msvc fixes
2019-08-31 11:48:16 +02:00
scribam df37077bb6 msvc: Do not include "7zArchive.h" header
This header is not required as the code related to it, in the same file, is not included when "_MSC_VER" is defined.
2019-08-31 11:10:03 +02:00
scribam bb24a5ee54 msvc: Replace "bm_GetCode2" by "bm_GetCodeByVAddr" in msvc.asm
This function was renamed in commit dece3fc13e
2019-08-31 11:09:47 +02:00
Flyinghead e07879e43c maple: std controller input mask was applied to all gamepad devices 2019-08-30 23:37:43 +02:00