Commit Graph
27033 Commits
Author SHA1 Message Date
Henrik Rydgård 7c8bcb2ee4 Fix homebrew store button to work even after changing grid layouts (it lost its click handler) 2020-05-17 14:57:12 +02:00
Henrik Rydgård 90071fd868 Fix a crash bug in homebrew store 2020-05-17 14:44:11 +02:00
Henrik Rydgård dc0bc0033e Merge pull request #12916 from hrydgard/more-samplerate-fixes
More audio buffering fixes (primarily affects SDL)
2020-05-17 13:04:16 +02:00
Henrik Rydgård 8491a674e2 Merge pull request #12914 from unknownbrackets/arm64jit
Switch: Be more consistent about writable code pointers
2020-05-17 12:17:00 +02:00
Henrik Rydgård 3f74ffbdf5 Reduce the SDL audio buffer size, 2048 is a bit excessive. Port the changes to the Qt SDL code. 2020-05-17 11:50:34 +02:00
Henrik Rydgård 67334e4ae7 StereoResampler: Make sure the target buffer size is large enough, taking SYSPROP_AUDIO_FRAMES_PER_BUFFER into account. 2020-05-17 11:46:12 +02:00
Henrik Rydgård f81dfa0171 Rename things to make more sense. 2020-05-17 11:05:53 +02:00
Henrik Rydgård c46424afd6 StereoResampler: Use C++ atomics 2020-05-17 10:21:02 +02:00
Henrik Rydgård 8b5b7d2496 Add some vaguely interesting stats 2020-05-17 10:21:02 +02:00
Henrik Rydgård 06c22497b7 SDL: If we get an audio device with a different freq than 44100, that's actually OK. 2020-05-17 10:21:02 +02:00
Henrik Rydgård 9e5be91bfa Merge pull request #12915 from unknownbrackets/minor
A few minor things + rpi4 build fix
2020-05-17 09:49:22 +02:00
Unknown W. Brackets 7910b4029a arm64jit: Track writable and non-writable pointers.
Switch uses different memory regions.  We can handle this, might as well
cleanup some const abuse.
2020-05-17 00:15:12 -07:00
Unknown W. Brackets 7e70fa1627 Mp4: Cleanup some parameters. 2020-05-17 00:05:04 -07:00
Unknown W. Brackets bdeea1568a cmake: Fix rpi4 build on newer gcc.
This was wrong/causing a warning, and now seems to have caused the wrong
code to build for some users (presumably a newer gcc.)
2020-05-16 23:53:43 -07:00
Unknown W. Brackets 5a5af3871f GPU: Fix an overflow loading old save states. 2020-05-16 23:49:45 -07:00
Unknown W. Brackets d88099e701 GLES: Specify buffer type just to be safe.
Probably doesn't matter, but maybe some drivers take it as a hint?
2020-05-16 23:48:56 -07:00
Unknown W. Brackets bab907f792 arm64jit: Minor cleanup. 2020-05-16 21:12:31 -07:00
Henrik Rydgård 67ab51bb90 Merge pull request #12901 from iota97/postshader-setting
Post shader setting uniform
2020-05-16 21:01:23 +02:00
Henrik Rydgård 02fdf0083f Merge pull request #12910 from hrydgard/sdl-sample-rate-sysinfo
SDL: Show the actually used sample rate in system info.
2020-05-16 20:59:28 +02:00
Henrik Rydgård 21edac4018 Merge pull request #12907 from hrydgard/savestate-number-display
Display the savestate slot number when saving and loading state through shortcuts.
2020-05-16 19:56:48 +02:00
Henrik Rydgård fce09f1865 Simplify how to get the debug stats from StereoResampler 2020-05-16 19:47:13 +02:00
Henrik Rydgård b6a051dd49 Fix comment 2020-05-16 19:47:12 +02:00
Henrik Rydgård c4f1143adc Qt fix 2020-05-16 19:04:41 +02:00
Henrik Rydgård b11c7774bc Only show frames per buffer if the number is available through sysinfo 2020-05-16 19:03:15 +02:00
Henrik Rydgård f77b78d429 Oops, need to pass an (invalid) slot number in headless too. 2020-05-16 18:38:30 +02:00
Henrik Rydgård caf8e5496d SDL: Show the actually used sample rate in system info.
Right now it'll always be the requested 44100 though anyway.
2020-05-16 17:46:21 +02:00
Henrik Rydgård 6798d4887d Merge pull request #12908 from sum2012/gpu-minor-
Fix "Improved compatibility of sceGeListEnQueue: verify that stackDepth < 256"
2020-05-16 15:44:20 +02:00
sum2012 fbc2bf116d oop 2020-05-16 21:42:27 +08:00
sum2012 54ffe9b235 Fix "Improved compatibility of sceGeListEnQueue: verify that stackDepth < 256"
Fix #11660
based from
https://github.com/jpcsp/jpcsp/commit/f9a116f78a939f27440e5edd5fd0c70cddc78537
the varable name is differcult from jpcsp,so that I translate wrong.
2020-05-16 21:34:55 +08:00
Henrik Rydgård 5e7a837ff9 Display the savestate slot number when saving and loading state through shortcuts. 2020-05-16 15:20:22 +02:00
Henrik Rydgård a63706925f Very minor optimization in PresentationCommon (don't upload the indices every frame). 2020-05-16 14:56:38 +02:00
iota97 b07874cd00 Fix per game setting and pack setting in vec4 2020-05-16 09:27:53 +02:00
iota97 6c9eb4764c Use map for settings 2020-05-16 00:52:38 +02:00
Henrik Rydgård 2527a66647 Merge pull request #12903 from hrydgard/thin3d-16bit-indices
Thin3D: use 16-bit indices. Fixes #12898.
2020-05-15 18:19:15 +02:00
iota97 a666635fa2 Post shader setting uniform 2020-05-15 18:08:52 +02:00
Henrik Rydgård 4bf92a66c5 Thin3D: use 16-bit indices. Fixes #12898. 2020-05-15 18:07:07 +02:00
Unknown W. Brackets 192198ef3b GPU: Oops, don't skip copy if stride different.
Should've tested that change better, but wanted the mip level fix...
2020-05-14 18:45:06 -07:00
Henrik Rydgård 864d138cd9 Fix DarkStalkers after the just-merged refactoring. 2020-05-14 23:28:37 +02:00
Henrik Rydgård cbb9b32271 Merge pull request #12883 from unknownbrackets/softgpu-postshader
Refactor postshader handling to apply for softgpu / D3D9
2020-05-14 23:24:31 +02:00
Henrik Rydgård d4b695cb78 Merge pull request #12895 from unknownbrackets/libretro
Libretro: Add libpng17 to include flags
2020-05-14 07:39:07 +02:00
Unknown W. Brackets 8b4821bc05 Draw: Small optimization to callback.
This allows the callback to say "I didn't copy, please copy for me."  This
helps when additional conversions will be applied during the copy, or a
copy can be skipped.

Also, fixed a couple cases of the wrong mip level being used.
2020-05-13 20:30:24 -07:00
Unknown W. Brackets 03c661294b Libretro: Add libpng17 to include flags.
We compile in libpng17, so we should be using those headers.

May fix libretro compile on Windows.  Not tested.
2020-05-13 18:32:13 -07:00
Unknown W. Brackets 7024a2877d GPU: Take A off RGB565 conversion funcs. 2020-05-13 18:17:58 -07:00
Unknown W. Brackets 203da7d6e1 GPU: Use texclamp for postshader/present draw. 2020-05-13 18:15:04 -07:00
Unknown W. Brackets 22e46b51c2 GPU: Centralize DestroyAllFBOs().
This cleans up the postshader update code.
2020-05-13 18:15:04 -07:00
Unknown W. Brackets 03e3a935da GPU: Cleanup presentation flipping a bit. 2020-05-13 18:11:25 -07:00
Unknown W. Brackets cb0f8cb373 D3D11: Allow pixel shader uniforms in Draw. 2020-05-13 18:10:09 -07:00
Unknown W. Brackets 884a64b932 GPU: Cleanup skip buffer texture draws.
These will be used when a game does multiple transfers from RAM to the
screen, rather than one big one.  Wasn't clearing some state, though.
2020-05-13 18:10:09 -07:00
Unknown W. Brackets 6b251dac4c GPU: Simplify direct render when skipping buffers.
This may have been uploading twice before, so there may be a small
performance improvement in some games now.
2020-05-13 18:10:09 -07:00
Unknown W. Brackets a41fbb9225 softgpu: Fix postshader on 5551.
This also fixes rendering on Windows 7 Direct3D 11.
2020-05-13 18:10:09 -07:00