Commit graph

3748 commits

Author SHA1 Message Date
Rinnegatamante
e5c978ff87 Format project with clang-format 2018-04-26 15:21:37 +03:00
Peter Mackay
460b4c3be0 First pass working arg bridging. 2018-04-26 08:53:24 +01:00
Peter Mackay
9e9fc0be7e Upgrade Travis to Xcode 9.3. 2018-04-26 08:53:23 +01:00
Nick Renieris
56ba1ebfbf
Merge 'Lightweight Mutexes (and other fixes)' 2018-04-25 22:47:46 +03:00
VelocityRa
94c8227c5e [io] Redirect ux0:/app/<title_id> to app0: 2018-04-25 22:04:11 +03:00
VelocityRa
5538429abe [kernel] Minor semaphore changes 2018-04-25 21:56:38 +03:00
VelocityRa
b942fd77ef [log] Fix some log messages 2018-04-25 21:56:38 +03:00
VelocityRa
94086483e0 [kernel/gxm] Tweak thread stack sizes 2018-04-25 21:56:38 +03:00
VelocityRa
5bbec763fc [gui] Lock when iterating through kernel containers
Prevents crashes
Also tweak Mutex debugger
2018-04-25 21:56:38 +03:00
VelocityRa
687f3e5620 [ModuleMgr] Include modulemgr.h
Fixes building
2018-04-25 21:56:38 +03:00
VelocityRa
f2d036c008 [mem] Add '=' operator to Ptr 2018-04-25 21:56:38 +03:00
VelocityRa
d28b69b568 [gui] Add debugger for Lightweight Mutexes 2018-04-25 21:56:38 +03:00
VelocityRa
c6cfd3c1be [kernel] Implement Lightweight Mutexes
Using Mutex implementation for now because:

- Actual LwMutex is not trivial to implement
- That way we have a single code path to test and maintain, for both sync objects
- As far as I know it's accurate, the only drawback is performance.

So, it also includes heavy refactoring of Mutex code.
2018-04-25 21:56:38 +03:00
VelocityRa
6b20194d64 [nid] Add NID for alternative sceKernelUnlockLwMutex 2018-04-25 21:56:38 +03:00
VelocityRa
945f2ca975 [threads] Add priority 2018-04-25 21:56:38 +03:00
VelocityRa
72678cc0d2 Update vita-headers 2018-04-25 21:56:38 +03:00
VelocityRa
3683efa0ac [cpu] Log unicorn errors in run 2018-04-25 21:56:38 +03:00
Do Trong Thu
e080aea4e8
Merge pull request #177 from Rinnegatamante/displayimpl
Implemented sceDisplayGetRefreshRate.
2018-04-25 20:20:40 +07:00
Rinnegatamante
ec5c21925b Implemented sceDisplayGetRefreshRate. 2018-04-25 14:29:24 +02:00
Peter Mackay
75c0346973 Upgrade to C++17. 2018-04-24 19:13:51 +01:00
Peter Mackay
b1b427e897 Attempt to fix MSVC build blind. 2018-04-23 19:24:52 +01:00
Rinnegatamante
25dfe0c5e2
Merge pull request #173 from Rinnegatamante/gxm_impl
[gxm] Added stencil test support.
2018-04-23 11:56:50 +02:00
Peter Mackay
b2e2afd7fa First-pass logic at laying out individual arguments. 2018-04-23 09:15:17 +01:00
Peter Mackay
1ef2ea29ae Added a couple of TODO comments to indicate what I still need to do. 2018-04-23 00:13:44 +01:00
Peter Mackay
6b14bd97ef Bridge arg types.
I'm not sure how to do this without partial specialisation.
2018-04-23 00:08:14 +01:00
Rinnegatamante
730186730e Fixed functions signatures. 2018-04-23 00:13:01 +02:00
Rinnegatamante
6219d0a74e
Implemented sceKernelWaitThreadEnd. (#172)
* Implemented sceKernelWaitThreadEnd.

* Modifications as per request.
2018-04-22 23:43:34 +02:00
Rinnegatamante
a70404e8a0 Implemented sceGxmSetTwoSidedEnable. 2018-04-22 23:16:30 +02:00
Rinnegatamante
ec04335cf5 [gxm] Using glStencilOpSeparate in place of glStencilOp. 2018-04-22 18:59:26 +02:00
Rinnegatamante
b58bf52540 [gxm] Enabling stencil test on stencil functions. 2018-04-22 18:55:29 +02:00
Rinnegatamante
fc6e4d5277 Implemented sceGxmSetBackStencil* functions. 2018-04-22 18:53:57 +02:00
Rinnegatamante
d769e0fc62 Implemented sceGxmSetFrontStencil* functions. 2018-04-22 18:52:25 +02:00
Sunguk Lee
1a8e59e9f7 Fix build error about undefined memcpy 2018-04-22 12:04:59 +02:00
Rinnegatamante
fa480edd2a
Implemented SceIme and SceCommonDialog. (#169)
* Implemented SceIme and SceCommonDialog.

* Fix identation.

* Added missing newline at EOF.

* macOS/Linux fix.

* Update vita-headers
2018-04-21 16:20:56 +02:00
Peter Mackay
2fb6ca3d3c Work-in-progress. 2018-04-19 23:25:47 +01:00
VelocityRa
44e1fd68ee gxm: Remove unneeded logs
sceGxmTextureInitLinear already warns about those _once_, these spam the log every frame
2018-04-19 14:24:31 +03:00
VelocityRa
f7be638934 io: Refactor stat_file and open_dir to use VitaIoDevice 2018-04-19 14:24:31 +03:00
VelocityRa
fd6a39e8ce gxm: Remove GXP version asserts 2018-04-19 14:24:31 +03:00
VelocityRa
0c968c5c06 io: Trim leading '/' in all paths from sceIo* functions 2018-04-19 14:24:31 +03:00
VelocityRa
bb2ea13f83 io: VitaPartition -> VitaIoDevice 2018-04-19 14:24:31 +03:00
Paco García
239f430ff2 Style nits 2018-04-19 13:23:33 +02:00
Paco García
0961ded0ab var import / export refactoring
Do correct var import / export and avoid intr_hook when calling export functions
2018-04-19 13:23:33 +02:00
Paco García
cbf6a29689 Fix short relocs 2018-04-19 13:23:33 +02:00
Paco García
1fbcc6169f Remove warning 2018-04-19 13:23:33 +02:00
Paco García
d35a5459e2 Implement SceKernelExitThread 2018-04-19 13:23:33 +02:00
Paco García
57ff792aaf Start libc.suprx in its own thread 2018-04-19 13:23:33 +02:00
Paco García
56a5b0db8f Start module synchronous 2018-04-19 13:23:33 +02:00
Paco García
b189258637 Some sceClib functions 2018-04-19 13:23:33 +02:00
Paco García
230b13544e Copy stack on thread spawning 2018-04-19 13:23:33 +02:00
Paco García
89f29f7681 Fix stdio with libc.suprx 2018-04-19 13:23:33 +02:00