Commit graph

211 commits

Author SHA1 Message Date
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
sum2012
8a905bbb9d Wrap some SysMemForKernel
Used in "Hatsune Miku Project Diva Extend" chinese patched version
Prepare real support the chinese patched game.
2020-06-07 11:16:46 +08:00
Henrik Rydgård
bf73d3d663 Address Unknown's feedback
https://github.com/hrydgard/ppsspp/pull/7965/files
2020-04-26 11:19:31 +02:00
sum2012
3604a92bee Change to info log
As this commit is work
(tested on Tales of Phantasia with Chinese patch)
2020-04-26 11:18:41 +02:00
sum2012
b12fbb9d3e Attempt to make save status 2020-04-26 11:18:41 +02:00
sum2012
e1ce6c061e Fix crash in sceKernelDeleteHeap 2020-04-26 11:18:41 +02:00
sum2012
52138f8ce8 Attempt to build fix non-windows 2020-04-26 11:18:41 +02:00
sum2012
6c4043b9de remove comment 2020-04-26 11:18:41 +02:00
sum2012
fed2b42c5f Try to Implement SysMemForKernel 2020-04-26 11:18:41 +02:00
sum2012
a8c2c02b82 Move SysMemForKernel to sceKernelMemory
As SysMemForUser in there
2020-04-26 11:18:41 +02:00
Unknown W. Brackets
916ba4edaf Vpl: Correct allocation order when splitting block.
More fuzz testing produced cases that were still off.  This is simpler.
2020-03-16 21:17:23 -07:00
Henrik Rydgård
ff3d799871 Remove snprintf compatibility hacks for MSVC versions before 2015 2017-08-31 16:46:54 +02:00
Henrik Rydgård
440e72d250 Clean up among the logs. Remove MASTER_LOG. 2017-03-06 13:10:23 +01:00
Unknown W. Brackets
0b43e28595 Move SysMemForKernel to sceKernelMemory. 2016-08-04 09:46:27 -07:00
Unknown W. Brackets
2450724be2 Make Memory::Memcpy() execute memchecks directly.
This makes it easier to handle breakpoints in HLE.
2015-04-05 18:09:20 -07:00
Unknown W. Brackets
fcf0518223 Update all the HLE tables with arg and ret info. 2015-03-22 20:51:55 -07:00
Unknown W. Brackets
8a0f854dc6 Fix an iterator corruption on tls thread autofree. 2015-02-21 15:50:20 -08:00
Unknown W. Brackets
8d15cb953a sceKernelGetTlsAddr() should only return a ptr.
So, that means no error codes - only null.
2015-02-21 15:50:19 -08:00
Unknown W. Brackets
1c0d880bc3 Support the alignment option in tlspl objects. 2015-02-21 15:50:19 -08:00
Unknown W. Brackets
3bfe7102e3 Handle the priority attribute for tlspls. 2015-02-21 15:50:18 -08:00
Unknown W. Brackets
ccaa75ec53 Don't return an error for double tls free.
Apparently, that's a-okay.
2015-02-21 15:50:17 -08:00
Unknown W. Brackets
be1e7cfb37 Fix waiting tlspl result, address not block num. 2015-02-21 15:50:17 -08:00
Unknown W. Brackets
76dfbc7436 Clear tls blocks before alloc and after free.
The PSP actually does both, so let's do it too.
2015-02-21 15:50:16 -08:00
Unknown W. Brackets
abd03bd597 Fix size handling in sceKernelReferTlsplStatus(). 2015-02-21 15:50:16 -08:00
Unknown W. Brackets
baca1ab901 Handle other threads properly when deleting tlspls. 2015-02-21 15:50:15 -08:00
Unknown W. Brackets
f52cb71300 Use an aligned blocksize for TLS. 2015-02-21 15:50:15 -08:00
Unknown W. Brackets
dd07a0596b Free TLS on thread end.
PSP does this so we should too.  Not yet cleaning up completely.
2015-02-21 15:50:14 -08:00
Lioncash
cac632424c Core: Add missing override specifiers 2014-12-08 15:20:31 -05:00
Lioncash
4ccb838306 Core: Mark some module functions as static 2014-12-08 04:40:08 -05:00
Lioncash
f830d5dec7 Core: Mark some functions as const 2014-12-03 15:16:11 -05:00
Henrik Rydgard
f84ebf6bff sprintf->snprintf, fix some too short buffers 2014-09-14 00:14:11 +02:00
Unknown W. Brackets
84231c0188 Eat some cycles when canceling/deleting fpls.
Improves tests measuing timeouts remaining after delete.
2014-09-01 21:11:41 -07:00
Unknown W. Brackets
abacba4e31 Clarify some module loading code. 2014-08-17 14:26:00 -07:00
Unknown W. Brackets
f864b6be63 Allocate 0x4000 at the bottom like real firmware.
Should fix #4056.
2014-08-17 14:25:59 -07:00
Unknown W. Brackets
0a33eb4c42 Fix missing log semicolons only affecting logging. 2014-06-29 19:09:39 -07:00
Unknown W. Brackets
4471b968e8 Increase timeout delay time for waits.
Had previously had these lower, but my testing was biased by how quick
other things in ppsspp were.
2014-06-27 00:58:59 -07:00
raven02
9806b46586 Fix space issues 2014-04-28 15:30:32 +08:00
raven02
e9815052f1 Stub SysMemUserForUser_ACBD88CA/945E45DA 2014-04-27 23:20:18 +08:00
Unknown W. Brackets
542d04a96f Add support in sceKernelPrintf for %p. 2014-03-23 08:14:50 -07:00
Unknown W. Brackets
05ab192c9c Reduce includes in Core/HLE/.
Especially templates.
2014-03-15 11:22:19 -07:00
lioncash
b9886942a7 Fix some vertical alignments in misc Core source files. 2014-03-03 11:16:53 -05:00
Unknown W. Brackets
6c7c63c2af Log the sdk/compiler version under debug.
We weren't logging it at all before.
2014-02-16 09:20:00 -08:00
Unknown W. Brackets
b4db1e6941 Stop reporting SMALLEST vpl priority.
It's supported now.
2014-02-06 00:04:56 -08:00
Unknown W. Brackets
06bd06d030 In FIFO, wake the next waiting thread on timeout.
It may have been blocking the queue waiting for a larger size.
2014-02-02 13:32:50 -08:00
Unknown W. Brackets
c9652bab46 Block vpl fifo allocations to, not just wakes. 2014-02-02 10:17:26 -08:00
Unknown W. Brackets
7e565a5838 For FIFO vpls, block threads in order.
Even for a smaller size later in the fifo queue.
2014-02-02 10:15:11 -08:00
Unknown W. Brackets
ecdffabf26 Correct some vpl allocation logic.
Tricky.  This makes more tests pass, seems right.
2014-02-02 08:13:41 -08:00
Unknown W. Brackets
4cec22823f Implement the PSP's VPL allocation method.
May help some games which hit allocation / free errors.  VPLs are not
common.

May improve performance in games using VPLs heavily, like Pangya.
2014-02-02 07:46:22 -08:00
Unknown W. Brackets
5e4a076798 Typo. 2014-01-31 09:41:29 -08:00
Unknown W. Brackets
fb689b45f1 Spelling fix. 2014-01-30 22:49:30 -08:00