Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. ( #13506 )
...
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing
Let's also move net while we're at it.
Move the ZIM/PNG loaders over to Common.
Move the UI framework into Common
iOS buildfix
* Buildfix
* Buildfixes
* Apple buildfix
* This typo again..
* UWP buildfix
* Fix build of PPSSPPQt, such as it is (it's not in good condition...)
* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
ed88761ecc
Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h.
2020-09-29 15:51:51 +02:00
shenweip
fbea8f438d
Update symbol list of disassembly window when loadexec.
2020-09-12 19:45:25 +08:00
Henrik Rydgård
cf43f2d57f
Merge pull request #13335 from unknownbrackets/plugins2
...
Support for loading game-specific plugins
2020-09-08 20:10:45 +02:00
Unknown W. Brackets
ac7522b0dd
Plugins: Schedule plugins before game thread.
2020-09-08 09:31:09 -07:00
Unknown W. Brackets
e383b0279f
Plugins: Support for loading game-specific plugins.
2020-09-08 09:12:19 -07:00
Unknown W. Brackets
8c80a97807
Module: Split out module start to use externally.
2020-09-08 09:12:19 -07:00
sum2012
d0f18cbbe5
Imp sceKernelFindModuleByName
...
#13204
2020-09-05 22:02:47 +08:00
sum
37737ceaa1
Add draft sceKernelFindModuleByUID ( #13380 )
...
* Add draft sceKernelFindModuleByUID
#13205
* Add KERNEL_SYSCALL flag
* oop
* oop2
* Not sure why make this change before
* Last night I might be too tried
2020-09-05 07:29:56 +02:00
Henrik Rydgård
5313fc5b36
More work on GL state leaks. Some things really need a redesign.
2020-08-18 09:18:24 +02:00
Henrik Rydgård
761ea58fb8
Merge branch 'cmake' of https://github.com/Kingcom/ppsspp into Kingcom-cmake
2020-08-15 21:35:46 +02:00
Henrik Rydgård
0fcc0994b4
Recategorize some logging, in preparation for what's to come.
2020-08-15 11:51:22 +02:00
sorgts
a8a1c67df0
Fix build with clang-cl
2020-08-13 16:48:48 +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
Henrik Rydgård
8e1caadb48
Remove some unnecessary reporting.
2020-08-06 10:20:27 +02:00
Henrik Rydgård
ca04d9b516
Improve logging of unknown syscall imports.
...
Also stop reporting these, just not that interesting anymore.
2020-08-04 11:13:17 +02:00
sum2012
2f24a02323
Add two ModuleMgrForKernel's nids
...
used in Dissidia final fantasy chinese patch
2020-07-26 17:12:01 +08: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
efc3f4f5e4
Split CORE_ERROR into CORE_BOOT_ERROR and CORE_RUNTIME_ERROR
2020-07-12 15:25:20 +02:00
sum2012
e8bd231cfb
Wrap sceKernelUnloadModule in ModuleMgrForKernel
2020-06-07 11:17:53 +08:00
sum2012
d347d3b216
Remove log as @unknownbrackets suggest
2020-05-30 19:19:33 +08:00
Unknown W. Brackets
e8b651fbd6
Thread: Default to kernel threads from kernel.
...
This is an experiment. In most cases, allowKernel will be false.
2020-05-25 18:59:07 +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
Unknown W. Brackets
2e0eade993
Module: Reinit gpu only on runtime module load.
...
During initial loading, we load the module in a thread. It's not
deterministic if the gpu will load before or after the ELF, which can
cause a crash.
There's no real reason to Reinitialize() it there, though. We already
Reinitialize() on gpu start.
2020-03-08 15:35:21 -07:00
Henrik Rydgård
d79abaa9c5
Add DEFLATE and MD5 to HLE module blacklist. Replaces #12576 , fixes #12570
...
And possibly #12571
2020-01-16 21:59:15 +01:00
Henrik Rydgård
c2e8577756
Loader: If the module range is bad, don't get stuck trying to scan for functions.
...
Better crash immediately (although that's also not ideal).
2020-01-13 23:28:46 +01:00
Henrik Rydgård
a881d78d64
Warning fix
2020-01-12 18:42:28 +01:00
Davee Morgan
3a5aa915e4
PRX Decryption: add support for gzip compressed executables
2020-01-11 15:05:48 +00:00
Davee Morgan
1d7bbdd006
PRX Decryption: add support for type 0/1/2/5/6 decryption
2020-01-11 15:00:07 +00:00
Henrik Rydgård
29950c0ad5
Update last commit to use IsValidRange instead of IsValidAddress.
2019-10-13 16:21:52 +02:00
Henrik Rydgård
d64f9c44f3
Code analysis: Skip invalid code sections. May help #12414 .
2019-10-13 13:25:18 +02:00
Unknown W. Brackets
556b960355
Kernel: Shutdown when module load fails.
...
This prevents us from trying to reinit next time, which can crash since we
never finished initing in the first place.
2019-07-07 18:06:06 -07:00
Unknown W. Brackets
93069756e6
GE Debugger: Split playback into a separate file.
2019-06-23 18:49:27 -07:00
Unknown W. Brackets
f244b390ae
Kernel: Kernel threads can beget kernel threads.
...
Fixes #7687 .
2019-03-23 12:05:06 -07:00
Henrik Rydgård
906d2dff7b
Lie about success of loading flash0:/kd/audiocodec_260.prx, just like we already lie about audiocodec.prx.
...
Fixes #11733
2019-02-10 22:40:34 +01:00
Unknown W. Brackets
f4e8e68c44
Io: Cleanup file not found error codes.
...
Replay (#10888 ) caused error to be non zero, which was later translated to
something else, confusingly...
2018-05-06 10:15:05 -07:00
Unknown W. Brackets
892c439fcf
Module: Clarify insertSymbols usage.
2018-03-17 13:58:56 -07:00
Unknown W. Brackets
f14f2efa79
Module: Hash functions only once during loading.
...
This fixes the loading speed regression from #10501 .
2018-03-17 13:36:37 -07:00
Unknown W. Brackets
88e01c7944
UI: Show more detailed loading status.
...
It's sometimes taking longer, so this may make it easier to identify.
See #10673 .
2018-03-12 18:06:46 -07:00
Henrik Rydgård
14c93bdc2b
Minor code/logging cleanups.
2018-02-27 19:44:11 +01:00
Unknown W. Brackets
6149ac584f
jit: Add interface to precompile functions.
...
This doesn't actually do any preloading yet, it just adds an API.
2018-01-06 16:43:38 -08:00
Unknown W. Brackets
29ed48c32a
Module: Avoid scanning stubs if possible.
...
In this case, we often scan some garbage, but let's reduce it at least.
2018-01-02 22:21:08 -08:00
Unknown W. Brackets
00a05e97ac
Module: Scan modules with no sections at all.
...
Also, fix some off-by-one issues with end addresses.
2018-01-02 22:20:09 -08:00
Unknown W. Brackets
30b2d05bac
Module: Correct detection of executable sections.
2018-01-02 21:53:13 -08:00
Unknown W. Brackets
caf6277db7
Module: Reload imports later in save state load.
...
We want all the modules to have loaded when we start doing this, so that
itnerlinking can properly be handled. Otherwise, earlier created modules
won't import later ones, and instead generate kernel object errors.
2017-12-27 13:36:26 -08:00
Unknown W. Brackets
b2bb1b676e
Reporting: Oops, fix module load log line.
...
Typo from 0a36549
- meant to disable reporting.
2017-12-01 18:25:06 -08:00
Unknown W. Brackets
0dba5cebb2
Module: Cleanup magic number.
2017-12-01 09:38:23 -08:00
Unknown W. Brackets
0a365495cd
Reporting: Stop reporting module load versions.
...
We've got plenty of data, don't need to report anymore.
2017-12-01 09:29:17 -08:00