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
9cfcbc46e6
Global: Cleanup initialization/pointer checks.
...
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
cc1b4e695d
Debugger: Correct crash with no alloc tag.
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
2d06730762
Fix regression where Gran Turismo ended up recreating the framebuffer on every frame in the menu.
...
Should help #13458 slightly (but there's more to fix).
2020-09-21 09:56:52 +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
4b4e3432cd
SaveState: Split Do() into a separate header.
2020-08-10 08:03:41 +00:00
shenweip
77da51c418
Also correct the allocated size.
2020-08-05 19:01:00 +08:00
shenweip
acc952d839
Correct the alignment size when allocate memory at a position.
2020-08-05 18:43:45 +08:00
Unknown W. Brackets
fd8a0612fa
SaveState: Initialize some memory that is saved.
...
At the very least, will help them compress better. Also good not to leak
random memory.
2018-06-22 21:29:18 -07:00
Henrik Rydgård
fdfc572b69
Misc logging improvments, minor safety check
2017-03-20 13:07:22 +01:00
Henrik Rydgard
fcbc20f240
Small changes to make Common and Core build under my preliminary UWP setup.
2017-02-24 18:59:41 +01:00
Unknown W. Brackets
ecd5062617
Leave free space for alignment "holes" in mem.
...
This allows other, small allocates to fit in these spaces, which happens
in some games (like Gods Eater Burst.)
2015-10-09 20:08:02 +08:00
Henrik Rydgård
04ce8a63e5
Workaround issue where some homebrew (like moppi-flower) would erroneously load into kernel ram where it won't fit
2015-07-02 15:55:09 +02:00
Unknown W. Brackets
afe52db366
Fix some issues in sceNetAdhoc with old savestates.
...
This was causing the PPGe dlist to be shared with the thread, causing
weirdness and a double-free on exit.
2015-04-27 07:53:19 -07:00
Unknown W. Brackets
f14361c3b8
Add a bunch more missing cstring includes.
2013-12-30 21:37:19 -08:00
Henrik Rydgard
32f479b0a6
Assorted log spam reductions.
...
Also let Java know of some important events. Not used for anything yet.
2013-12-04 17:43:00 +01:00
Unknown W. Brackets
50e9e45d65
Check version in each DoState() func.
...
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Unknown W. Brackets
2c763365b4
Check size is within bounds in AllocAt().
2013-09-11 22:52:22 -07:00
Unknown W. Brackets
dc3de4dbff
For an off-grain alloc, properly align size.
2013-08-20 00:58:38 -07:00
Unknown W. Brackets
69abe041b7
Properly handle off-grain allocations.
...
This was causing sceKernelMaxFreeMemSize() to report a size that wasn't
allocatable, since sizes are upaligned to grain.
2013-08-20 00:46:13 -07:00
Unknown W. Brackets
98f99e1e3c
Fix some initialization order warnings.
2013-05-31 23:14:28 -07:00
Unknown W. Brackets
90715c2ec2
Avoid a double lookup in FreeExact().
2013-05-26 23:48:55 -07:00
Unknown W. Brackets
776c8e8533
Rewrite BlockAllocator in attempt to free faster.
...
And more importantly try to find that weird heap corruption, but no
luck...
2013-05-26 23:09:27 -07:00
Henrik Rydgard
43df3c9071
Lazy font loading (to speed up running unit tests...)
2013-03-06 22:26:54 +01:00