VelocityRa
ffb4eaff46
sysmodule: Support for loading decrypted modules from firmware
2018-09-14 14:32:07 +03:00
Nick Renieris
42cde2919f
Kernel/threadmgr fixes & IO refactoring ( #319 )
2018-09-10 19:04:29 +03:00
VelocityRa
2ab5cd9d6c
readme: Add downloading submodules to build steps
2018-09-06 23:08:02 +03:00
VelocityRa
a18999e260
kernel: Lock thread mutex before waking up waiting threads
...
- We're iterating through thread->waiting_threads which might
change if we don't lock (ie. from a sceKernelWaitThreadEnd
call).
2018-09-06 23:02:45 +03:00
VelocityRa
c197c6a758
kernel: Implement a bunch of Clib functions
2018-09-06 22:54:33 +03:00
VelocityRa
00f1495dfd
host: Expose Config to HostState
...
- Also rename config_t to Config (in accordance with style guide)
2018-09-06 22:54:33 +03:00
VelocityRa
270d6a6f39
io: More robust vfs file reading
...
- Separated to 2 and moved file reading function from `app` to `io` project and exposed them from there
- Put a bunch of io functions in a 'vfs' namespace
- Made vfs::FileBuffer in place of Buffer
2018-09-06 22:54:33 +03:00
VelocityRa
f9eba936c6
threadmgr: Fix sceKernelExitDeleteThread crash on Windows
...
- The SDL thread destructor was locking thread->mutex a second time. Fixes Persona crash on Windows.
- Added a TODO about looking into an issue with locking kernel mutex before removing threads.
2018-09-06 22:54:33 +03:00
VelocityRa
79dfb755a0
util: string_utils changes
...
- Add string related functions to string_utils namespace
- Rename string_convert to string_utils
- Add function for splitting a string by a char delimiter
2018-09-06 22:54:33 +03:00
VelocityRa
d71f1a2d41
kernel/sync: Implement sceKernelTryLockLwMutex
2018-09-06 22:54:33 +03:00
VelocityRa
4bfa16fccc
kernel/sync: Implement sceKernelDeleteLwCond
2018-09-06 22:54:33 +03:00
VelocityRa
37ca155b65
kernel/sync: Change event flag naming to reflect other sync objects
2018-09-06 22:54:33 +03:00
VelocityRa
2dd7846e4e
build: Set actual boost build dir
...
- Previously I was only setting stage dir, resulting in dirty submodule repo
after running gen.bat
- Also fix a path issue in Windows
2018-09-06 22:53:58 +03:00
VelocityRa
a741c3af9d
build: Boost hotfix
...
Got messed up in latest merge #314
2018-08-31 22:14:36 +03:00
VelocityRa
05c94a7e6f
threadmgr: Lock kernel mutex before erasing thread
...
- In sceKernelDeleteThread & sceKernelExitDeleteThread
2018-08-31 22:14:36 +03:00
VelocityRa
84e745cf27
build: Speed up Windows build
...
- Use multiple cores
- Disable C++17 deprecation warnings that are slowing down AppVeyor
- Builds 3-4 times faster on my quad-core CPU.
2018-08-31 22:14:36 +03:00
VelocityRa
cc5585bb50
build: Update ext-boost submodule
2018-08-31 22:14:36 +03:00
Francisco José García García
be58d2856c
Merge pull request #314 from frangarcj/mspace
...
First Mspace implementations and small fixes
2018-08-31 19:28:45 +02:00
Francisco José García García
ec2ba74e2d
Merge branch 'master' into mspace
2018-08-31 19:07:13 +02:00
Nick Renieris
c047c427a0
Config system & new command-line arguments ( #313 )
2018-08-31 15:19:45 +03:00
Francisco José García García
4fb4c5c172
Style nits
2018-08-31 13:57:06 +02:00
Francisco José García García
399d72fda0
Clib: mspace create and alloc
2018-08-31 13:57:06 +02:00
Francisco José García García
927ec3f269
external: dlmalloc integration
2018-08-31 13:57:06 +02:00
Francisco José García García
1070bcf7cf
Clib: strncasecmp and strrchr implemented
2018-08-31 13:57:00 +02:00
Francisco José García García
97282098e6
mem: pointer to Ptr constructor
2018-08-31 13:00:24 +02:00
VelocityRa
c7bcd02d56
build: Fix Boost building on non-Windows
...
- Add some extra comments/logging
2018-08-31 02:58:19 +03:00
VelocityRa
671c14be7a
host: Log thread name for unknown import calls
...
- Helps identify where unknown NIDs are coming from
2018-08-30 23:22:27 +03:00
VelocityRa
a4c278b9fe
main/host: Config system & command-line arguments
...
Noteworthy options are:
Starting installed apps via their Title ID
Support for setting log level
See --help for details.
Config _file_ support is TODO.
2018-08-30 15:25:08 +03:00
VelocityRa
d5924bce90
ci/travis: Change prebuilt boost lib
2018-08-30 15:25:07 +03:00
VelocityRa
dd69416a34
host/cmake: Configure Boost before adding project subdirectories
2018-08-30 15:01:37 +03:00
VelocityRa
2b126975bb
formatting: Run clang-format on project
2018-08-30 15:01:37 +03:00
VelocityRa
aa88017e8d
logging: A bit of refactoring
2018-08-30 15:01:37 +03:00
Francisco José García García
a93ce9c2fc
threads: Stub sceKernelChangeThreadPriority
2018-08-30 13:38:44 +02:00
Francisco José García García
5920d803eb
kernel: Stub sceKernelGetThreadCpuAffinityMask_ and sceKernelGetThreadCurrentPriority_
2018-08-30 13:38:44 +02:00
Francisco José García García
80d69633a3
kernel: Implement sceClibMemcpy
2018-08-30 13:38:44 +02:00
Francisco José García García
8fc11d01f2
threads: Awake waiting threads on thread exit and implement several delete / exit functions
2018-08-30 13:38:44 +02:00
Francisco José García García
fac142ce4c
gxm: Remove some asserts
2018-08-30 13:38:44 +02:00
Francisco José García García
4255249501
gxm: Untested sceGxmTextureSetFormat
2018-08-30 13:38:44 +02:00
Francisco José García García
924ee9a62a
gxm: Untested sceGxmTextureInitTiled
2018-08-30 13:38:44 +02:00
Francisco José García García
5026548276
display: Stub sceDisplayWaitSetFrameBuf
2018-08-30 13:38:44 +02:00
Francisco José García García
0050385ba1
display: Return vcount
2018-08-30 13:38:44 +02:00
Francisco José García García
9163cbcea9
gxm: Implement sceGxmSetFrontDepthBias
2018-08-30 13:38:44 +02:00
Francisco José García García
c2428c5a34
gxm: Fix crash with 4 bit palettes
2018-08-30 13:38:44 +02:00
Francisco José García García
d600b6f112
gxm: Implement sceGxmSetFrontPointLineWidth
2018-08-30 13:38:44 +02:00
Francisco José García García
065c5fcce3
gxm: Save ForceLoad/ForceStore in surfaces
2018-08-30 13:38:44 +02:00
Francisco José García García
22e20287bb
gxm: Polygon Mode Functions
2018-08-30 13:38:44 +02:00
Francisco José García García
82d5571dcf
gxm: SceGxmSyncObject using openGL fences
2018-08-30 13:38:44 +02:00
Francisco José García García
38f6efe499
np: Stub sceNpServiceStateCallbacks
...
They return status unknown
2018-08-30 13:38:44 +02:00
Peter Mackay
8784573efe
Merge pull request #311 from petmac/bug/gxm-equality
...
SceGxm: Fix a couple of typos
2018-08-28 10:22:36 +01:00
Peter Mackay
5607ad5441
SceGxm: Fix a couple of typos
2018-08-28 09:16:46 +01:00