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
Henrik Rydgård
ecb84987ef
Remove allocation from the heaviest MemBlockInfo path (BlockTransfer). Required some refactoring.
2022-09-01 11:59:35 +02:00
Henrik Rydgård
e6403d7157
Split GetPointer into two versions, to help with const correctness
2022-07-24 13:26:19 +02:00
Unknown W. Brackets
80e054b797
Debugger: Avoid write tag lookup on small alloc.
2022-02-06 09:28:48 -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
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
aa89ed5111
Debugger: Include source tag in memcpys.
2021-04-03 18:11:44 -07:00
Unknown W. Brackets
f7740edc6d
Debugger: Add more metadata for memory usage.
2021-02-15 15:01:21 -08: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
sum
61fa4453dd
Add two Kernel_Library's nids ( #13218 )
...
* Add two Kernel_Library's nids
Add HLE_KERNEL_SYSCALL flag
used in #13205
* Remove HLE_KERNEL_SYSCALL flag
as @unknownbrackets suggest
* Add space
* + ","
2020-07-29 20:14:10 +02:00
Henrik Rydgård
4bcd8df079
Logging improvements and warning fixes.
...
(Had a super odd crash that I can't repro anymore in PPGe init...)
2020-06-22 22:46:03 +02:00
sum2012
de947a6f61
Fix by @unknownbrackets
2020-06-21 11:21:11 +08:00
sum2012
1f37ce65bb
Add sysclib_strncmp,sysclib_memmove
...
Add a memory check in sysclib_strstr
ref:
https://github.com/jpcsp/jpcsp/blob/master/src/jpcsp/HLE/modules/SysclibForKernel.java#L107
2020-06-21 10:24:10 +08:00
sum2012
10112fa6a2
Change to @unknownbrackets logic
...
Avoid warnings
2020-06-13 20:46:35 +08:00
sum2012
d0d2834fc9
oop
2020-06-13 06:58:02 +08:00
sum2012
6913d3942f
Add sysclib_strstr
...
jpcsp ref:
b4158f2ec7
2020-06-13 06:50:12 +08:00
sum2012
d17f50e07b
Kill the log as @hrydgard suggest
2020-06-07 18:28:09 +08:00
sum2012
6254c12e6c
Reduce sysclib_memcpy log level
...
The function is right.
Tested on "Hatsune Miku Project Diva Extend" chinese patched version
2020-06-07 18:17:09 +08:00
Unknown W. Brackets
7d36b70a8e
Kernel: Rename conflicting kernel object names.
...
These are names that can often conflict with system headers in ports.
Let's just simplify by prefixing with PSP.
No actual functional/code changes, just syntax and names.
2020-03-15 08:33:40 -07:00
Henrik Rydgård
553ea23c34
Add memory range checks to a few little-used sysclib functions. Might help #12359 .
2019-09-27 22:58:18 +02:00
z2442
e5b75dc294
Added a check to the pointer for memcpy
...
This check enables the newer builds of daedalus to run.
2019-01-05 18:46:38 -05: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
Unknown W. Brackets
395ac32d63
Debugger: Run memory breakpoints on mobile.
2018-06-06 17:31:56 -07:00
Unknown W. Brackets
4b4770bbc5
Log kernel syscalls with a K.
...
This way they can be properly differentiated.
2016-08-04 09:46:26 -07:00
Henrik Rydgard
cde585a29a
Include dependency cleanup
2015-07-29 11:48:20 +02: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
0a8e6c2a06
Remove some unused functions.
2014-12-14 17:35:20 -08:00
Lioncash
4ccb838306
Core: Mark some module functions as static
2014-12-08 04:40:08 -05:00
sum2012
758ddffc37
Prevent unknown getpointer in sceKernelMemset
...
Fix #7064
2014-11-08 06:49:24 +08:00
Henrik Rydgard
d24abb3af0
More GetPointer cleanup. memCardDirectory->memStickDirectory.
2014-10-19 23:20:51 +02:00
Unknown W. Brackets
2f90c8d35a
Fix a bad == comparison typo.
2014-07-15 23:33:01 -07:00
Unknown W. Brackets
2910f7e7a2
Flush icache before memcpys.
...
Maybe there's a way to optimize this better...
2014-07-05 13:23:47 -07:00
Unknown W. Brackets
3498b33033
Allow sub interrupts to be enabled before register.
...
Could've caused interrupts, primarily vblanks, not to run because we
implicitly disabled them on register.
2014-06-21 21:43:44 -07:00
Unknown W. Brackets
87ee0bc650
Return error codes in register/release subintr.
...
This checks for duplicate registrations and other thigns that could've
been causing wrong behavior.
2014-06-21 21:27:58 -07:00
Unknown W. Brackets
8dcc09c9e1
Use a separate func for gpu memset().
2014-05-27 07:50:01 -07:00
Unknown W. Brackets
64f6012dba
Support memsets of framebuffers as uploads.
...
Technically should clear stencil too... maybe it'd be better to handle
separately.
2014-05-27 01:17:09 -07:00
Unknown W. Brackets
8275f613ce
UpdateMemory() now returns whether to skip the cpy.
...
This way it can do it itself as necessary in the right order.
2014-05-25 21:48:41 -07:00
sum2012
b8d82e0a92
Correct Memory check in sysclib_memset
2014-05-18 04:23:10 +08:00
sum2012
bc36555f24
sysclib_memset change to WrapU_UII
2014-05-18 04:20:48 +08:00
sum2012
21c301962b
Add some kernal module
...
Find in bugz Homebrew
2014-05-17 23:06:01 +08: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
The Dax
5bca8f1119
Fix GCC compiler warning.
2014-02-25 07:39:01 -05:00
sum2012
d6790cf906
Add logging and fix savestatus
2014-02-17 20:42:35 +08:00
Unknown W. Brackets
617dcdd8ff
Add some initial kernel sysclib funcs.
2014-02-17 20:39:02 +08:00
Unknown W. Brackets
d2108a962e
Switch from USING_GLES2 to MOBILE_DEVICE.
...
Still using USING_GLES2 for, well, GLES2. But for things that are really
about mobile, we need a new define. Devices are coming that don't use
GLES2.
2014-02-08 16:37:58 -08:00
Unknown W. Brackets
4da08f4f6e
Restore thread if there's no interrupt handler set.
...
If dispatch is disabled and we don't do this, it'll just hang, never
switching back to a thread that can re-enable dispatch.
Fixes #5172 .
2014-01-21 22:47:18 -08:00