Henrik Rydgård
41eeb491e7
Replace a few more sprintf with snprintf
2024-10-15 15:45:19 +02:00
Henrik Rydgård
5939270d2c
Log: Split out StdioListener from ConsoleListener, making the second Win32-only.
2024-07-21 13:55:40 +02:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) ( #19324 )
...
* Rename LogType to Log
* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.
* Mac/ARM64 buildfix
* Do the same with the hle result log macros
* Rename the log names to mixed case while at it.
* iOS buildfix
* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Unknown W. Brackets
32feb82d16
HLE: Capture better allocation names.
...
We know which FPL, so don't just say "FPL".
2023-09-02 22:55:45 -07:00
Unknown W. Brackets
a7b7bf7826
Global: Set many read-only params as const.
...
This makes what they do and which args to use clearer, if nothing else.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
770fdbeece
Kernel: Add reason to reported stop error.
2022-10-15 21:38:08 -07:00
lainon
3cdf72b68b
Better readability and optimization insertion into container by replacing 'insert' -> 'emplace', 'push_back' -> 'emplace_back'
2022-09-30 12:35:28 +03:00
Unknown W. Brackets
ccd4e92184
Kernel: Use PSPPointer for status objects.
...
Code makes more sense when reading ->size rather than offset 0.
2022-09-03 10:44:12 -07:00
Unknown W. Brackets
80e481bbdc
Core: Show exception on misaligned jump.
2022-08-21 14:49:34 -07:00
Unknown W. Brackets
5246d901ce
Headless: Cleanup unused/leak warnings.
2022-08-07 12:10:17 -07:00
Unknown W. Brackets
9d1be08473
Kernel: Fail threads with invalid priority.
...
No real reports so far except what looks like garbage data, which
probably crashes anyway.
2022-01-27 00:02:18 -08:00
Unknown W. Brackets
b8ab7f39df
jit: Lock around changes to the jit pointer.
2021-11-28 10:04:22 -08:00
Unknown W. Brackets
f530be0969
Dialog: Prevent reschedule on shutdown start.
...
This is a bit strange, but tests seem to suggest this is correct.
A worse priority thread won't run before savedata shutdown hits 0, but the
thread that initiated shutdown runs before shutdown completes.
Fixes Freakout Extreme Freeride loading savedata.
2021-08-14 20:15:34 -07:00
Henrik Rydgård
95dc7bb185
Minor cleanup
2021-07-10 20:00:50 +02:00
Unknown W. Brackets
fa320599dc
HLE: Correct helper thread arg handling.
2021-02-27 12:51:25 -08:00
Henrik Rydgård
2f3bc2d373
Merge pull request #14056 from unknownbrackets/debugger-mem
...
Track memory allocations and writes for debug info
2021-02-21 10:18:11 +01:00
aliaspider
9a3e5879bb
Global: Correct many endian types and casts.
2021-02-18 22:25:24 -08:00
Henrik Rydgård
a2669377eb
Merge pull request #14149 from unknownbrackets/usb-wait
...
Usb: Implement state waits
2021-02-16 00:02:08 +01:00
Unknown W. Brackets
e7b968be73
Debugger: Notate Memcpys directly as well.
2021-02-15 15:01:23 -08:00
Unknown W. Brackets
88e2b9b740
Debugger: Notate memset tags directly.
2021-02-15 15:01:23 -08:00
Unknown W. Brackets
f7740edc6d
Debugger: Add more metadata for memory usage.
2021-02-15 15:01:21 -08:00
Henrik Rydgård
e1d73b2b91
Merge pull request #14073 from unknownbrackets/hle-delay
...
Log errors when delaying or waiting an already waiting thread
2021-02-15 23:10:08 +01:00
Unknown W. Brackets
cfbeadccc7
Usb: Implement state waits.
...
See #11067 - implementing in hopes of reducing spin.
2021-02-15 13:43:05 -08:00
Unknown W. Brackets
f32f89dd90
Global: Remove some unused variables.
2021-02-15 11:59:45 -08:00
Unknown W. Brackets
f75cb9fbae
Thread: Log error waiting already waiting thread.
2021-02-06 23:55:58 -08:00
Unknown W. Brackets
b9ae574679
Thread: Log error when delaying a waiting thread.
...
This will handle double delaying and delaying in general.
2021-02-06 23:55:46 -08:00
Unknown W. Brackets
dd2bd55bcb
Kernel: Adjust sceKernelGetThreadExitStatus timing.
...
See #13703 .
2021-01-18 22:09:37 -08:00
Henrik Rydgård
5c0ab8bea3
Guess at a fix for #13698 - sceKernelThreadGetExitStatus probably takes some cycles.
2020-11-23 09:09:36 +01:00
Henrik Rydgård
ed88761ecc
Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h.
2020-09-29 15:51:51 +02:00
Unknown W. Brackets
ac7522b0dd
Plugins: Schedule plugins before game thread.
2020-09-08 09:31:09 -07:00
Unknown W. Brackets
fcaef648ec
Net: Fix memory corruption on save old state.
...
Can't restore these if they're not inited either.
2020-09-07 07:23:13 -07:00
ANR2ME
439171fc56
An attempt to reduce the lags/stutters during multiplayer caused by improper blocking behavior.
2020-09-04 13:09:44 +07:00
sum2012
f5937d0c6a
Use >= 0x03080000 instead of 0x0307FFFF
2020-09-02 20:31:06 +08:00
sum2012
f13c69a0e1
Add a check in sceKernelTerminateThread
...
https://github.com/jpcsp/jpcsp/blob/master/src/jpcsp/HLE/modules/ThreadManForUser.java#L3971
2020-09-02 20:26:45 +08:00
shenweip
8b5530e626
Reschedule after resuming thread from suspend.
2020-09-01 19:10:57 +08:00
sum2012
000c20ee44
Add a check in sceKernelTerminateDeleteThread
...
https://github.com/jpcsp/jpcsp/blob/master/src/jpcsp/HLE/modules/ThreadManForUser.java#L3998
2020-08-30 17:44:17 +08:00
sum2012
80283d3230
Add a check in sceKernelExitDeleteThread
2020-08-18 21:03:45 +08:00
sum2012
35c05ef064
Use ppsspp error name
2020-08-18 06:42:55 +08:00
sum2012
dfad6cd479
oop
2020-08-17 23:18:12 +08:00
sum2012
df1f126715
Fix sceKernelExitThread
...
fix #13297 fix #9523
According from
https://github.com/jpcsp/jpcsp/blob/master/src/jpcsp/HLE/modules/ThreadManForUser.java#L3924
2020-08-17 23:16:15 +08:00
Henrik Rydgård
5d64fc5ff1
Switch to PPSSPP's assert functions (don't use the system's)
2020-08-16 10:01:10 +02:00
Henrik Rydgård
b43698a13d
Remove most instances of base/logging.h from Common, Core, GPU, more
2020-08-15 19:08:44 +02:00
Unknown W. Brackets
b8342fb8ec
SaveState: Rename ChunkFile files to Serialize.
...
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
1dc5ee424b
SaveState: Split out Do types to reduce headers.
2020-08-10 08:03:44 +00:00
Unknown W. Brackets
4b4e3432cd
SaveState: Split Do() into a separate header.
2020-08-10 08:03:41 +00:00
shenweip
c7e2eba231
Add basic Microphone support on Windows.
2020-07-31 10:24:17 +08:00
Henrik Rydgård
97cfb64272
Warning fixes
2020-07-20 22:55:32 +02:00
Henrik Rydgård
df6d0a8ae7
PSP kernel: Improve logging when accessing bad kernel object handles.
2020-07-20 11:57:11 +02:00
Henrik Rydgård
c5e0b799d9
Remove category from _assert_msg_ functions. We don't filter these by category anyway.
...
Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
2020-07-19 20:33:25 +02:00
Unknown W. Brackets
fc00b1b972
Kernel: Check thread switch PC in release.
...
Hopefully won't be noticeable, it's not that hot and very cheap.
2020-07-13 01:51:11 -07:00