Commit graph

29632 commits

Author SHA1 Message Date
Unknown W. Brackets
abb7b83fee GE Debugger: Thread dedupe pushbuf lookups.
This improves time especially for larger dumps.
2021-04-16 00:00:56 -07:00
Unknown W. Brackets
b2f3f06768 Common: Set a min size on threadpool work chunks.
This should avoid slicing loops, etc. into too many chunks.  Generalize
the memcpy a bit.
2021-04-15 23:59:02 -07:00
Unknown W. Brackets
639dd67130 Common: Allow threadpool size up to 16.
In Config, we allow 16, so this just matches that.
2021-04-15 23:56:34 -07:00
Unknown W. Brackets
74f08bee2a Umd: Fix thread wakeup.
Oops.  Not sure how I left this flag flipped.  Was not waking threads.
2021-04-15 11:16:56 -07:00
Henrik Rydgård
f52bef7016
Merge pull request #14372 from unknownbrackets/rewind
SaveState: Copy RAM using threads
2021-04-13 08:16:42 +02:00
Unknown W. Brackets
b2d5f19e5e SaveState: Use memmove for the copy. 2021-04-12 18:16:57 -07:00
Unknown W. Brackets
c5729bbd5e SaveState: Use SIMD to copy RAM faster.
We know its size and base are typically aligned, so abuse those facts.
2021-04-12 17:37:48 -07:00
Unknown W. Brackets
3400e6e517 SaveState: Copy RAM using threads. 2021-04-12 17:37:48 -07:00
Unknown W. Brackets
ba95125ae0
Merge pull request #14376 from twinaphex/master
Fix libretro build
2021-04-12 11:26:47 -07:00
twinaphex
6d9879769b Fix libretro build 2021-04-12 20:00:49 +02:00
Henrik Rydgård
1b5eb2ef62
Merge pull request #14365 from unknownbrackets/cpu-cycles
Increase the cycle cost of VFPU ops and div.s
2021-04-12 18:37:34 +02:00
Unknown W. Brackets
c4eafcf008 jit: Increase the cycle cost of div.s.
This largely matches tests on a real PSP.
2021-04-12 07:06:18 -07:00
Unknown W. Brackets
53104639ff jit: Increase the cycle cost of VFPU ops.
It seems like they all take at least 2 cycles, which kinda makes sense.
2021-04-12 07:06:18 -07:00
Unknown W. Brackets
bc16a55028 jit: Count delay slot cycles separately.
This makes it easier to count cycles per instruction, instead of ignoring
the delay slot's instruction for cycle count.
2021-04-12 07:04:22 -07:00
Henrik Rydgård
a7d7631feb
Merge pull request #14369 from unknownbrackets/zstd
Use zstd for save states, GE frame dumps, and ZIMs
2021-04-12 08:35:58 +02:00
Henrik Rydgård
20ef9aee47
Merge pull request #14371 from unknownbrackets/pngwolf
Build: Recompress pngs using better zlib
2021-04-12 08:30:08 +02:00
Henrik Rydgård
6553b0f8e8
Merge pull request #14374 from unknownbrackets/rtc-cleanup
Rtc: Cleanup and simplify date struct handling
2021-04-12 08:24:20 +02:00
Unknown W. Brackets
f3f5b2e540 Rtc: Cleanup and simplify date struct handling. 2021-04-11 22:51:33 -07:00
Unknown W. Brackets
cb9a22c0cb Build: Recompress pngs using better zlib.
Used pngwolf to recompress all pngs.  Not a big change, but should
slightly reduce app download size.
2021-04-11 11:09:18 -07:00
Unknown W. Brackets
b8bd29896c UI: Compress atlas metadata.
This is vastly smaller, although probably negligible impact on load time.
2021-04-11 09:13:10 -07:00
Unknown W. Brackets
372deeaef1 UI: Compress zim files with zstd.
Loads in nearly half the time.  Compressed at level 22.
2021-04-11 09:13:10 -07:00
Unknown W. Brackets
08eda131c4 UI: Load/save compressed atlas metadata. 2021-04-11 09:13:10 -07:00
Unknown W. Brackets
a0887401a6 UI: Add zstd to ZIM compression handling. 2021-04-11 09:13:10 -07:00
Unknown W. Brackets
a97030068c GE Debugger: Use zstd for save states. 2021-04-11 09:13:10 -07:00
Unknown W. Brackets
7a719dc245 SaveState: Switch to zstd.
Choose a level that is just slightly slower than snappy, but much smaller
typically.
2021-04-11 09:13:10 -07:00
Unknown W. Brackets
d3e2aa6d28 Build: Add libzstd to build. 2021-04-11 09:13:10 -07:00
Unknown W. Brackets
0328a0d550
Merge pull request #14370 from stuken/libretro_encrypted_save
Enable save encryption in libretro build
2021-04-11 09:01:58 -07:00
Stuart Kenny
c06035aa31 Enable save encryption to bring libreto in line with standalone configuration defaults.
Fixes issue with saving in Toca Race Drive 2 and 3
2021-04-11 11:52:10 +01:00
Henrik Rydgård
7e8a94e7de
Merge pull request #14366 from unknownbrackets/shader-errors
Fix some shader errors from reporting
2021-04-11 08:09:09 +02:00
Henrik Rydgård
91c17dba1f
Merge pull request #14367 from unknownbrackets/reporting-kernel
Kernel: Define most reported missing kernel funcs
2021-04-11 08:07:17 +02:00
Henrik Rydgård
ec09fbfe58
Merge pull request #14368 from unknownbrackets/postshader-off
Stop using Off as terminator for postshaders
2021-04-11 08:06:53 +02:00
Henrik Rydgård
9783a2ec79
Merge pull request #13970 from unknownbrackets/umd-wait-stat
Correct UMD stat waiting when changing discs
2021-04-11 08:06:03 +02:00
Unknown W. Brackets
b5d21b4f9b UI: Remove extern global for UI message. 2021-04-10 18:42:40 -07:00
Unknown W. Brackets
ca1a936d56 GPU: Stop using Off as terminator for postshaders.
There's really no need to have a dummy entry at the end of the array.
2021-04-10 18:35:23 -07:00
Unknown W. Brackets
ffd468c3ae Reporting: Add more info to libstubend error. 2021-04-10 18:33:44 -07:00
Unknown W. Brackets
eedd0b32dd Module: Add a missing error return case. 2021-04-10 17:11:40 -07:00
Unknown W. Brackets
f88648c5a2 Kernel: Define most reported missing kernel funcs.
Kernel plugins and patches are still often not going to work, but might as
well define these.
2021-04-10 17:10:35 -07:00
Unknown W. Brackets
3c09b5c010 GLES: Always use fragColor0 on GL 3.0+. 2021-04-10 16:26:39 -07:00
Unknown W. Brackets
1b4f0e25b7 Reporting: Log more data about sceIoChStat(). 2021-04-10 15:11:44 -07:00
Unknown W. Brackets
c18236b5fa GPU: Avoid switch on uint.
Vivante seems to get confused.
2021-04-10 14:01:33 -07:00
Unknown W. Brackets
9a812f7f0b Shaders: Set vert shaders to mediump by default.
Seeing errors in logs about precision not agreeing.
2021-04-10 13:41:41 -07:00
Unknown W. Brackets
60690109f0 GLES: Handle GLSL 1.30/1.40 better.
Was causing errors for people using older GL.
2021-04-10 13:32:13 -07:00
Henrik Rydgård
6f332dd664
Merge pull request #14364 from unknownbrackets/dialog-cleanup
Dialog: Lock volatile on thread
2021-04-08 09:46:22 +02:00
Unknown W. Brackets
4128b5c6e6 Dialog: Reset last status more consistently.
This is only used to reduce log spam.
2021-04-07 21:22:31 -07:00
Unknown W. Brackets
90f4098b3d Dialog: Lock volatile on thread.
This means it doesn't matter if GetStatus is called.
2021-04-07 18:13:51 -07:00
Unknown W. Brackets
429b4594d0 Dialog: Use a thread to init dialogs too. 2021-04-07 18:13:46 -07:00
Henrik Rydgård
28065c1bc4
Merge pull request #14359 from unknownbrackets/dialog-cleanup
Move dialog instances to the heap
2021-04-07 09:26:07 +02:00
Unknown W. Brackets
7da25563d3 Utility: Add a helper for the active dialog. 2021-04-06 22:23:17 -07:00
Unknown W. Brackets
4200021a95 Utility: Update logging to new syntax for dialogs. 2021-04-06 22:18:28 -07:00
Unknown W. Brackets
7b5d8bc38f Utility: Move dialog classes to heap.
This makes it easier to properly reset them on game reset.
2021-04-06 21:59:40 -07:00