Commit graph

11086 commits

Author SHA1 Message Date
Henrik Rydgård
edc4e69c3d
Merge pull request #15025 from unknownbrackets/texreplace-pop
Allow delayed loading of texture replacements
2021-10-25 23:31:30 +02:00
Unknown W. Brackets
76186d1919 Replacement: Allow starting a texture at budget. 2021-10-23 22:42:57 -07:00
Unknown W. Brackets
fc2efe5dff Debugger: Add reason to cpu.stepping event. 2021-10-23 22:08:15 -07:00
Unknown W. Brackets
abc80f1015 Replacement: Correct budget on later frames. 2021-10-23 22:00:51 -07:00
Unknown W. Brackets
fa0e19471c Replacement: Add ini setting to disable pop-in. 2021-10-23 20:56:19 -07:00
Unknown W. Brackets
4c1b5564d2 Replacement: Tweak some thread safety. 2021-10-23 19:58:23 -07:00
Unknown W. Brackets
2bd13c5d9d Debugger: Track reason for entering stepping. 2021-10-23 16:56:15 -07:00
Unknown W. Brackets
c0054dc6cf Replacement: Ensurely orderly stop on reset.
If the texture is being loaded and we stop or reset, make sure it stops to
avoid any crash or hang.
2021-10-23 08:06:55 -07:00
Unknown W. Brackets
e094f5673a
Core: Fix unused variable warning. 2021-10-22 09:09:06 -07:00
Unknown W. Brackets
09f0578a64 Replacement: Use a thread to load tex replacements. 2021-10-21 17:05:39 -07:00
Unknown W. Brackets
0721405628 Replacement: Avoid clash with X define. 2021-10-21 17:05:38 -07:00
Unknown W. Brackets
83b7b33cfd Replacement: Centralize lookup logic.
And make sure we don't change our minds about using a replacement during a
draw.
2021-10-21 17:05:38 -07:00
Unknown W. Brackets
045d902525 Replacement: Delay load texture data. 2021-10-21 17:05:38 -07:00
Unknown W. Brackets
36fc2c2628 Replacement: Purge old cached decoded textures.
Not actually decoding into the cache, just setup.
2021-10-21 17:05:38 -07:00
Unknown W. Brackets
2356280a9c Replacement: Add structure for delayed loading. 2021-10-21 17:05:38 -07:00
Vitaly Cheptsov
5600ac0161
Adhoc: Drop useless pointer check
Fixes compiler warning (-Wpointer-bool-conversion)
2021-10-20 12:08:29 +03:00
Henrik Rydgård
d754f95814
Merge pull request #14884 from unknownbrackets/debugger-gpustats
Debugger: Add APIs for GPU stats
2021-10-19 19:54:51 +02:00
Unknown W. Brackets
8e15f755e6 UI: Add a sysprop for if the device has a keyboard.
Still left some ifdefs because of System_InputBoxGetString(), but
hopefully we can move away from them.  Some devices (like SDL) may only
optionally have a keyboard, so it's a runtime check.
2021-10-19 10:01:52 -07:00
Unknown W. Brackets
83909f816e Debugger: Add APIs for GPU stats. 2021-10-19 10:01:41 -07:00
Unknown W. Brackets
1532a729d7 Core: Allow forcing debug statistics collection.
Useful for remote debugging.
2021-10-19 10:01:41 -07:00
Unknown W. Brackets
a06efdd222 Display: Allow threadsafe listeners.
Also add a flip listener.
2021-10-19 10:01:40 -07:00
Unknown W. Brackets
ce3b80dcea Debugger: Add initial GPU stats shell. 2021-10-19 10:01:40 -07:00
Henrik Rydgård
236d029999
Merge pull request #14857 from unknownbrackets/unthrottle-cleanup
Display: Remove frameskip fast-forward mode
2021-10-19 10:13:08 +02:00
Henrik Rydgård
d278cda7e2
Merge branch 'master' into config-io-thread 2021-10-19 09:42:53 +02:00
Henrik Rydgård
6ef89c12b8
Merge pull request #15028 from unknownbrackets/syscall-names
HLE: Add a few syscall names
2021-10-19 08:00:59 +02:00
Henrik Rydgård
fc24a7d426 CwCheat: Remove assert on TempAR type codes. Seems weird that we had this. 2021-10-18 17:19:57 +02:00
Unknown W. Brackets
cc7366e63c HLE: Add a few syscall names. 2021-10-18 06:50:18 -07:00
Unknown W. Brackets
25da99a16d Io: Remove setting to disable I/O on thread. 2021-10-12 20:40:26 -07:00
Unknown W. Brackets
d9b6e847de Reporting: Require I/O on thread to be on.
This will also cause a purple crash screen if it's off.
2021-10-12 20:40:25 -07:00
Unknown W. Brackets
e1d261b707 Display: Remove frameskip fast-forward mode.
Fixes #13546.
2021-10-12 20:38:57 -07:00
Unknown W. Brackets
b1e31d89e1 Audio: Correct protection against time skew. 2021-10-10 15:05:51 -07:00
Unknown W. Brackets
01b99eff98 Audio: Cleanup buffer wrap code.
This is a bit more straight-forward.
2021-10-09 08:17:55 -07:00
Henrik Rydgård
322a8a8b3c More checks in ParamSFO reader. Only problem left is that the strings are null terminated and can walk off the buffer. 2021-10-08 19:09:46 +02:00
Henrik Rydgård
ddc0f0829b Replaced textures: Don't leak handles on failure, check allocation success 2021-10-08 19:09:43 +02:00
Henrik Rydgård
7ec60f28b3 Paper over a race condition slightly better. Really need to redo sync here. 2021-10-08 00:11:44 +02:00
Henrik Rydgård
b069a239aa Add sanity check to DirectoryFileHandle::Read 2021-10-07 23:59:21 +02:00
Henrik Rydgård
2257febc82 Avoid throwing exceptions on bad post shader float parameters 2021-10-07 23:51:41 +02:00
Henrik Rydgård
9c017e03f9 Add some basic sanity checks to ParamSFO reader (could add more) 2021-10-07 21:08:12 +02:00
AdamN
1956624972
Merge pull request #14969 from ANR2ME/adhoc
[Adhoc] Workaround for a more cross-platform behavior on PtpConnect (but inaccurate)
2021-10-06 22:33:12 +07:00
Henrik Rydgård
0d1fd3c585 Force texture scaling away from the old Auto setting. Some Swedish translation. 2021-10-06 14:28:56 +02:00
Henrik Rydgård
7dde8ef9f3
Merge pull request #14950 from ANR2ME/adhoc_discover
[AdhocDiscover] An attempt to implement AdhocDiscover
2021-10-05 18:52:42 +02:00
ANR2ME
c34efa3e3e Workaround to prevent some games from not retrying to connect on non-Windows system. This will also make a more cross-platform behavior on Windows/Linux/BSD 2021-10-05 23:10:40 +07:00
ANR2ME
00a0885509 Minor changes 2021-10-05 23:10:40 +07:00
Henrik Rydgård
45a3e0fa8a
Merge pull request #14966 from unknownbrackets/config-minor
Config: Correct cardboard setting ini load
2021-10-05 06:45:50 +02:00
Unknown W. Brackets
896bca3752 Config: Correct cardboard setting ini load. 2021-10-04 19:34:39 -07:00
Henrik Rydgård
d8d9540417 Force off the VSync setting on Android (it wasn't actually used right). 2021-10-04 19:01:01 +02:00
Unknown W. Brackets
4c0951eb93 Display: Avoid skipping flips at 60 FPS.
If the device is 58 or 59 FPS, let's just assume it's better to flip each
time.
2021-10-03 07:04:04 -07:00
ANR2ME
ed7f1b72e2 An attempt to implement AdhocDiscover (can only Cancel the progress for now) 2021-10-01 12:13:03 +07:00
Henrik Rydgård
5ee9738b75
Merge pull request #14939 from unknownbrackets/debugger-assets
Serve local web debugger from assets
2021-09-28 17:18:39 +02:00
ANR2ME
5b010afff3 oops need to typecast metasocket 2021-09-28 20:44:03 +07:00