Unknown W. Brackets
56bcf04c49
Debugger: Try harder to validate UTF-8.
...
When sending this in the websocket debugger, it needs to be valid utf-8 or
it will cause clients to abort the connection. We want to reject invalid
utf-8 anyway.
2021-04-23 23:24:47 -07:00
Unknown W. Brackets
f987c715aa
MemMap: Map 0xC0000000 into virtual memory.
...
Technically, it should be 0xA0000000, but that causes problems for how we
manage 32-bit address space. This at least makes things consistent.
2021-04-23 23:21:51 -07:00
Unknown W. Brackets
32ea8734fb
MemMap: Cleanup memory mirror pointers.
2021-04-23 22:43:21 -07:00
Unknown W. Brackets
012d47bcbf
Debugger: Show string in status bar for li, etc.
...
This is helpful when stepping through the debugger. Only shows likely
UTF-8 or similar formatted text, but often names or error messages are.
2021-04-21 23:50:59 -07:00
Henrik Rydgård
fd2aecdbc2
Merge pull request #14397 from unknownbrackets/mem-validsize
...
Core: Correct ValidSize outside scratchpad
2021-04-22 08:00:54 +02:00
Unknown W. Brackets
1aae6e5ffc
Io: Prevent error on bad handle for DevType().
2021-04-21 20:11:23 -07:00
Unknown W. Brackets
572c20b4cd
Debugger: Mark ELF sections as suballocations.
...
Sometimes they're named, it's helpful to see where rodata starts, etc.
2021-04-21 19:45:58 -07:00
Unknown W. Brackets
744d17e13c
Core: Correct ValidSize outside scratchpad.
...
And simplify all the scratchpad valid checks.
2021-04-21 19:32:22 -07:00
ANR2ME
8742a49e07
Replacing the inconvenient prefix string for indentation with indent number.
2021-04-19 06:14:28 +07:00
Henrik Rydgård
8e953b2a97
Merge pull request #14383 from unknownbrackets/threadpool
...
Use threads more on startup to improve load time
2021-04-18 09:57:33 +02:00
Henrik Rydgård
199735203b
Merge pull request #14389 from unknownbrackets/reporting
...
Reporting: Avoid generated homebrew IDs
2021-04-18 00:22:43 +02:00
Unknown W. Brackets
cab2a38498
Reporting: Avoid generated homebrew IDs.
...
But let through a few more, homebrew rarely reused newer system version
SFOs. By that point they were doing their own SFOs finally.
2021-04-17 14:28:53 -07:00
Henrik Rydgård
73fb004f47
Merge pull request #14341 from Banh-Canh/fix-hashes-w-reduceHashranges
...
Fix: remove filename prefix for reducehashranges
2021-04-17 18:36:18 +02:00
Henrik Rydgård
8314a805f8
Merge pull request #14358 from unknownbrackets/debugger
...
Add basic APIs for managing memory info tagging
2021-04-17 18:35:38 +02:00
Unknown W. Brackets
a3680ca3cb
Io: Calculate memory stick size on a thread.
...
If you have a bunch of saves/states/etc. this might be a bit slow.
2021-04-16 01:15:23 -07:00
Unknown W. Brackets
4c1ed81d45
Module: Speed up module unload.
2021-04-16 01:03:10 -07:00
Unknown W. Brackets
4f96169357
Core: Init memory on multiple threads.
...
Also init volatile at the same time for consistency.
2021-04-16 00:53:50 -07:00
Unknown W. Brackets
6ee944a0a6
Module: Process relocations on threads.
...
There's usually quite some, and using threads can halve the load time.
ELF loading isn't terribly slow, but it adds up.
2021-04-16 00:41:56 -07:00
Unknown W. Brackets
e7012f8f88
Module: Process relocations using unchecked reads.
...
No need to do checks twice. Also switch the LO16 part to
Read_Instruction.
2021-04-16 00:32:42 -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
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
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
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
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
d3e2aa6d28
Build: Add libzstd to build.
2021-04-11 09:13:10 -07: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
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
1b4f0e25b7
Reporting: Log more data about sceIoChStat().
2021-04-10 15:11:44 -07: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
Unknown W. Brackets
5904900d37
Debugger: Add APIs to set/list/search mem tags.
2021-04-06 12:09:39 -07:00
Henrik Rydgård
97da4934c1
Merge pull request #14357 from unknownbrackets/load-error
...
UI: Show more detailed load error messages
2021-04-06 20:56:20 +02:00
Unknown W. Brackets
49a4edbab5
UI: Show more detailed load error messages.
2021-04-06 07:04:25 -07:00