James Rowe
b5bc05738c
Add settings for disk shader cache
2020-01-15 19:58:33 -07:00
Léo Lam
756d231ff9
file_sys: Add support for BPS patches
...
The BPS format allows distributing patches that are smaller and that do
not contain copyrighted content if data is relocated
(unlike non-trivial IPS patches).
This is essential for games such as MM3D that have three barely
different code revisions. Supporting all three versions would
demand an unreasonable amount of work; with BPS patches only one
version has to be supported.
2019-12-22 10:46:47 +01:00
Léo Lam
3140086c60
file_sys: Handle patch applying failures
...
This changes ApplyCodePatch to return a ResultStatus, which makes it
possible to determine whether patch applying has failed. Previously,
only a boolean was returned, and false was returned when no patch
was found OR when a patch was found but applying it failed.
This also changes AppLoader_NCCH to return an error if patching fails
because the executable is likely to be left in an inconsistent state
and we should not proceed booting in that case.
2019-12-22 10:46:47 +01:00
Léo Lam
1377be9902
file_sys: Move IPS patching code into separate source file
...
In anticipation of a new BPS patcher.
2019-12-22 10:46:47 +01:00
James Rowe
b559d1a495
Add missing vsync telemetry field
...
Was removed as part of #4940 but readded again.
2019-12-16 19:30:28 -07:00
James Rowe
439d550850
Merge pull request #4940 from jroweboy/presentation-thread
...
Split Presentation thread from Render thread
2019-12-15 20:25:34 -07:00
James Rowe
36c5058d66
Reintroduce a vsync option for people with really bad drivers
2019-12-15 15:42:05 -07:00
zhupengfei
17ba846a3f
applets/swkbd: Remove text memory clearing
...
The text shared memory wasn't supposed to be cleared according to my comparison with the LLE swkbd. This can cause issues in certain games such as Harvest Moon.
A null terminator is added to the text copied to mark the end of the string.
2019-12-01 23:01:07 +08:00
vvanelslande
e1e136d72f
service/mic: actually use the specified device
2019-11-11 17:15:10 -05:00
vvanelslande
1f708e8bad
settings, configure_input: fix rename input profile
2019-11-09 16:55:03 -05:00
James Rowe
586b8e8b46
Change from QOpenGLWidget to QWindow
...
While QOpenGLWidget sounds like a good idea, it has issues which are
harder to debug due to how Qt manages the context behind the scenes. We
could probably work around any of these issues over time, but its
probably easier to do it ourselves with a QWindow directly.
Plus using QWindow + createWindowContainer is the easiest to use
configuration for Qt + Vulkan so this is probably much better in the
long run.
2019-11-09 13:12:30 -07:00
James Rowe
9c32c0b98b
Change from render to texture to render to renderbuffer
2019-11-09 13:12:29 -07:00
James Rowe
52d7676831
recreate mailbox to use a queue instead
2019-11-09 13:12:29 -07:00
James Rowe
6fff8e3921
Remove screen change detection since it breaks make changing screen. (Still need to test windows)
2019-11-09 13:12:29 -07:00
James Rowe
8d17aa40fd
Remove vsync setting
2019-11-09 13:12:26 -07:00
James Rowe
c2e7903825
Split graphics out of EmuWindow in preparation of shared contexts
2019-11-09 13:10:17 -07:00
James Rowe
db7a627a2e
Add scope acquire context to simplify MakeCurrent and DoneCurrent calls
2019-11-09 13:10:17 -07:00
Khangaroo
df99d98240
specify size of buffer and use openglstate in getteximageoes
2019-11-09 12:58:17 -07:00
Khangaroo
5450d4980d
crash hotfix (no clang-format because on phone)
...
hotfix 2: check if the texture is custom before dumping
hotfix 4: fix custom texture conflict detection
2019-11-09 12:56:28 -07:00
Khangaroo
ae4aaf2fc1
nested folder support + refuse to load incompatibly sized textures + general cleanups
2019-11-09 12:56:27 -07:00
Khangaroo
8a98310a16
address more comments, fix dumping textures that already got dumped
2019-11-09 12:56:27 -07:00
Khangaroo
c2a32e942b
address more comments
2019-11-09 12:56:27 -07:00
Khangaroo
f09489475a
fix texture dumping on opengl es, create load folder if none exists if custom textures is enabled
2019-11-09 12:56:27 -07:00
Khangaroo
8b881ac1fc
fix preload textures being enabled when it shouldn't
...
address more comments
2019-11-09 12:56:25 -07:00
Khangaroo
391e552927
qimageinterface fixes, remove old lodepng, address more comments
2019-11-09 12:56:24 -07:00
Khangaroo
b81c15941e
add image interface, remove lodepng from video_core/core, address more comments, fix comments
...
remove unnecessary conversion
2019-11-09 12:56:21 -07:00
Khangaroo
5940361b81
new-line that clang-format didn't fix
...
address some comments
2019-11-09 12:56:17 -07:00
Khangaroo
59b475a4b9
implement custom texture preload
2019-11-09 12:56:17 -07:00
Khangaroo
6d90c42a79
fix crashes, add custom texture cache, load textures from load directory
2019-11-09 12:54:40 -07:00
khang06
e0d63bd21b
add texture dumping as a config entry
2019-11-09 12:53:12 -07:00
FearlessTobi
0a3f75c25f
Backport changes from yuzu-emu/yuzu#2806
2019-09-22 17:40:04 +02:00
James Rowe
223bfc9a2a
Merge pull request #4847 from zhaowenlan1779/ipc-debugger
...
core, citra_qt: IPC Recorder
2019-09-21 00:04:07 -06:00
Weiyi Wang
176b8b4a0b
Merge pull request #4917 from vitor-k/long-title
...
Allow displaying the long_title of the game
2019-09-20 12:59:04 -04:00
James Rowe
c1d3b5e61c
Merge pull request #4934 from vitor-k/boost_remnant
...
Remove boost headers not currently used
2019-09-18 10:57:37 -06:00
James Rowe
4b05078def
Merge pull request #4922 from Steveice10/master
...
Filter non-executable files out of the game list.
2019-09-16 23:51:44 -06:00
vitor-k
147a7f0dec
Remove boost headers not currently used
2019-09-15 15:18:38 -03:00
vitor-k
bb12af1da7
Remove unused boost header
2019-09-15 14:00:55 -03:00
Pengfei Zhu
360e6cb513
Merge pull request #4900 from leoetlino/exheader-fix
...
ncch_container: Fix NCCH decryption heuristic when replacing exheader
2019-09-14 10:33:06 -05:00
James Rowe
7bfd829c77
Merge pull request #4893 from wwylele/nfc-state
...
NFC: extract frontend-facing tag state
2019-09-13 08:59:51 -06:00
vitor-k
f9cded05fd
Allow displaying of the full title in the interface, as well as use the full title in the search filter
2019-09-09 23:36:21 -03:00
James Rowe
d6f2bc8c04
Merge pull request #4896 from zhaowenlan1779/game-list-fix-3
...
citra_qt: Misc game list updates/fixes
2019-09-09 20:04:04 -06:00
Steveice10
5cf684c951
Filter non-executable files out of the game list.
2019-09-08 14:19:11 -07:00
Weiyi Wang
24ec11f928
Merge pull request #4915 from FearlessTobi/port-2818
...
Port citra-emu/citra#2818 : "externals: update fmt to 6.0.0"
2019-09-08 08:42:02 -04:00
Pengfei Zhu
4bc22aa350
Merge pull request #4918 from vitor-k/warnings
...
Silence warnings from unused code and mismatched declaration
2019-09-06 22:08:06 +08:00
Ethan
56091241ff
externals: update fmt to 6.0.0
2019-09-05 02:39:13 +02:00
Weiyi Wang
42d3d563b9
Merge pull request #4897 from zhaowenlan1779/warning-core-timing
...
core_timing: Silence sign comparison warnings
2019-09-03 16:06:27 -04:00
vitor-k
6e3652d15b
Struct vs class declaration and unused variable
2019-09-02 22:45:38 -03:00
Valentin Vanelslande
2959b002cd
applet_manager: remove the "we are going to disable loading LLE applets before further fixes are done" comments
...
LLE Applets are enabled again in #4500 , but @wwylele didn't remove these comments.
2019-08-29 20:41:16 -05:00
Léo Lam
7318913f5a
ncch_container: Fix NCCH decryption heuristic when replacing exheader
...
Fixes a regression from #4862 , which caused the NCCH title ID checking
heuristic to be skipped whenever the exheader is replaced.
I was thinking the heuristic wouldn't be needed in that case, but it
turns out that many users still have pathological NCCHs that indicate
they are encrypted but are actually decrypted...
Now the original exheader is always read and used for the heuristic
to determine whether the NCCH is actually encrypted; only then do we
load a replacement exheader (if it exists) to avoid affecting the
heuristic.
2019-08-22 17:52:30 +08:00
zhupengfei
ebc43239f0
core_timing: Silence sign comparison warnings
...
This is causing a lot of warnings all over the place.
2019-08-20 22:25:18 +08:00