Björn Gerdau
4d24b0ffcb
Use constants for resumable IOP DMAC channels
2021-06-07 14:34:16 +02:00
Jean-Philip Desjardins
2e48151b03
Merge pull request #1071 from TacoTheDank/androidx-preference
...
[Android] Migrate to AndroidX Preference
2021-06-04 17:20:20 -04:00
Jean-Philip Desjardins
11e8566ed3
Check SPU IRQs every 1000 ticks.
...
Prevents IRQs from being spammed. Helps Klonoa 2 and MMX7.
2021-06-04 09:54:51 -04:00
Jean-Philip Desjardins
0de30265de
Merge branch 'sif-bind-failure-fix-direct'
2021-06-04 09:30:05 -04:00
Jean-Philip Desjardins
05985139f8
MAX/MINI doesn't contribute to MACflags.
2021-06-03 10:06:16 -04:00
Björn Gerdau
b88b836d5b
Handle SIF bind reply for missing module
...
Various Neversoft games (Gun, Guitar Hero III, Tony Hawk's Underground 2, amongst others) execute a SIF bind to a module RPC server, which is never loaded - thus hanging the game indefinitely.
This PR implements removes the delayed bind replies altogether, and implements a direct "bind failure" response, which is correctly handled by the games mentioned, and lets the load.
2021-06-02 02:11:11 +02:00
TacoTheDank
71056a7b81
Add toolbar parameter to ThemeManager.applyTheme
2021-05-31 19:23:24 -04:00
TacoTheDank
76064d86a7
Change CheckBoxPreference to SwitchPreferenceCompat
2021-05-31 18:41:41 -04:00
TacoTheDank
99a36690e4
Migrate to AndroidX Preferences
2021-05-31 18:30:41 -04:00
TacoTheDank
6ee234ffaf
Preparation for migrating preferences
2021-05-31 16:36:10 -04:00
Jean-Philip Desjardins
340ece9e1d
Bring UNPACK logic to what it was.
...
The PoC was based on old UNPACK code that didn't have some of the more recent fixes.
2021-05-28 13:12:30 -04:00
Jean-Philip Desjardins
36f1564913
Use templates to allow better code generation for UNPACK.
2021-05-28 08:29:44 -04:00
Jean-Philip Desjardins
bd20f4484b
Update CMakeLists.txt.
2021-05-28 08:29:44 -04:00
Jean-Philip Desjardins
130fe2898e
Mask CLUT address.
...
Fixes Vulkan GPU crash in Wild Arms 3.
2021-05-27 10:47:10 -04:00
Jean-Philip Desjardins
f2643cbe5a
Allow writing to current SPU channel address.
...
Prevents Soul Reaver 2 from crashing after a while.
2021-05-26 10:02:04 -04:00
Jean-Philip Desjardins
f66881a3e4
Add symbol for SdProcBatch.
2021-05-26 10:02:03 -04:00
Jean-Philip Desjardins
17b6114190
Implement VADDA and VSUBA.
2021-05-26 10:02:03 -04:00
Björn Gerdau
17b1e8226a
Add missing state persisting for some DMAC registers
2021-05-26 14:53:18 +02:00
Björn Gerdau
a4d536549b
Implement DMACMAN calls 14 - 19
...
Respectively setting and getting of DPCR, DPCR2 and DPCR3
2021-05-26 14:52:02 +02:00
Björn Gerdau
35552b731a
Add DMAC DPCR3
2021-05-26 14:52:02 +02:00
Björn Gerdau
22f7e2e811
Handle IOP RAM mirroring in Sysclib
...
Fixes missing menu music in Max Payne 2
2021-05-25 20:48:53 +02:00
Björn Gerdau
7a1bb1c9e0
Make sysclib memcpy use GetPtr
...
Fixes May Payne 2 segfaulting before menu on desktop
2021-05-25 20:48:53 +02:00
Jean-Philip Desjardins
15c750ad45
Merge pull request #1062 from darkpigeon/fatalframe1
...
Fixes a bug in Fatal Frame 1 that makes the character stuck in the doorway
2021-05-22 20:41:19 -04:00
Jean-Philip Desjardins
6fc9c3276e
Use generic_string to erase part we need to get the relativePathString.
...
Was causing some problems on Linux in some circumstances (probably due to the way things are converted).
2021-05-21 09:14:52 -04:00
Jean-Philip Desjardins
ab80978852
Fix condition.
2021-05-18 17:41:39 -04:00
Jean-Philip Desjardins
e25a21faf6
Do alpha blending in shader if we have framebuffer fetch.
2021-05-18 17:27:49 -04:00
Jean-Philip Desjardins
95223d9a22
PATH3 masking support.
...
Not 100% accurate, but makes things lots better in many games.
2021-05-17 09:16:20 -04:00
Jean-Philip Desjardins
a604004616
Add GIF_MODE register.
2021-05-17 09:16:19 -04:00
Jean-Philip Desjardins
a5a01faeaf
Merge pull request #1064 from kernle32dll/fix-rule-of-rose
...
Rule of rose fixes
2021-05-17 09:14:10 -04:00
Björn Gerdau
cd73e55f24
Implement SetFileInfo for McServ
...
Used by Rule of Rose to rename files during saving
2021-05-16 21:25:39 +02:00
Björn Gerdau
43f6fb13d7
Add file attribute constants in McServ
2021-05-16 18:52:22 +02:00
Björn Gerdau
5dda26feeb
Implement missing blendmode 1021
...
Fixes various things in Rule of Rose
2021-05-16 18:52:22 +02:00
Björn Gerdau
f5efb448bd
Implement strtoul in sysclib
...
Fixes Max Payne 2 segfault after intro cinematic
2021-05-16 18:08:22 +02:00
darkpigeon
6dd820d734
Merge branch 'jpd002:master' into fatalframe1
2021-05-15 15:33:20 +07:00
Jean-Philip Desjardins
e57a85dc08
Merge pull request #1060 from kernle32dll/add-iSifSendCmdIntr
...
Add iSifSendCmdIntr
2021-05-13 09:08:49 -04:00
Jean-Philip Desjardins
8feee3943d
Inject version number in Win32 version info.
2021-05-11 12:03:58 -04:00
Jean-Philip Desjardins
f2b012eec7
Add resource script for Win32 binary.
...
Also remove old unused files.
2021-05-11 09:57:47 -04:00
Jean-Philip Desjardins
21f25f6db6
Remove unused include.
2021-05-11 09:52:35 -04:00
Björn Gerdau
7ac42366dc
Add iSifSendCmdIntr
...
Makes Test Drive Unlimited boot
2021-05-11 15:43:49 +02:00
Jean-Philip Desjardins
0bc6d84320
Merge pull request #1057 from kernle32dll/cleanup-mc2
...
Clean up LibMC2 warnings
2021-05-10 14:06:32 -04:00
Jean-Philip Desjardins
9c3a04f617
Merge pull request #1056 from kernle32dll/fix-re4-saving
...
Implement WriteFast for McServ
2021-05-10 13:24:35 -04:00
Björn Gerdau
956489d5cc
Reset known memory cards on McServ init
...
Fixes Gran Turismo 4 not being able to detect existing save games on startup
2021-05-10 18:35:17 +02:00
Björn Gerdau
2c128ced89
Clean up LibMC2 warnings
...
Remove the assert for unmatched function calls, and instead log all unmatched functions as warnings
2021-05-10 16:49:43 +02:00
Björn Gerdau
48047ade35
Implement WriteFast for McServ
...
Fixes Resident Evil 4 not being able to save
2021-05-10 16:00:23 +02:00
Jean-Philip Desjardins
177212e731
Merge pull request #1054 from kernle32dll/mc-get-info-new-card
...
Make CMcServ::GetInfo return -1 on first invocation
2021-05-10 09:03:59 -04:00
Björn Gerdau
536099e075
Add alpha view for PSMCT32 in framedebugger
...
Also works for CLUT textures which resolve to PSMCT32
2021-05-10 00:28:54 +02:00
Björn Gerdau
d1f2d7b104
Implement state persisting for McServ
2021-05-09 20:12:20 +02:00
Björn Gerdau
ee1403be49
Use constant for port count in McServ
2021-05-09 20:12:19 +02:00
Björn Gerdau
559dea6223
Make CMcServ::GetInfo return -1 on first invocation
...
If GetInfo is called for a previously not encountered memory card, return -1 (formatted memory card). All subsequent calls (to the same card) return 0, indicating that no new card was inserted.
Onimusha 2 depends on this for the initial memory card detection.
2021-05-09 20:12:19 +02:00
Jean-Philip Desjardins
fe8d145d49
Fix style.
2021-05-06 17:45:15 -04:00