Paco García
e5ca809ad1
Initial stubbing of netcallbacks
2018-05-03 18:47:00 +02:00
Paco García
3137d1f15f
[modules] Support ET_SCE_EXEC
...
This elf segment type requires loading of segments at p_vaddr
2018-05-02 21:50:38 +02:00
Peter Mackay
5bac6b7328
Add module-tests.
2018-05-02 19:30:23 +01:00
Peter Mackay
a540eba707
Add googletest external library.
2018-05-02 19:12:06 +01:00
Rinnegatamante
8b41f689db
Merge pull request #202 from Rinnegatamante/gxs
...
[gxm] Misc implementations
2018-05-02 18:35:56 +02:00
Rinnegatamante
5a1b4bca43
Added Z support to sceGxm viewport implementation.
2018-05-02 15:27:20 +02:00
Rinnegatamante
3cfa6695fb
Implemented sceGxmSetViewportEnable.
2018-05-02 15:16:51 +02:00
Rinnegatamante
eb288a3dd0
Implemented sceGxmSetFrontDepthFunc.
2018-05-02 15:03:02 +02:00
Peter Mackay
91e70603d3
Add googletest submodule.
2018-05-02 08:43:44 +01:00
VelocityRa
e9d88d21cc
[log] Print names of returned constants
...
As opposed to just their value.
for example:
>>> sceNetShowNetstat <<< returned SCE_NET_ERROR_ENOTINIT (0x804101c8)
instead of:
>>> sceNetShowNetstat <<< returned 0x804101c8
2018-05-01 15:01:36 +03:00
VelocityRa
23c4ef4ca7
[rtc] Move rtc to its own project
2018-05-01 15:01:36 +03:00
VelocityRa
ac1bec3c9a
[util/log] Fix LOG_*_IF macros
...
- Also add license header
2018-05-01 15:01:36 +03:00
VelocityRa
8d7691346a
[io/rtc] Report acccessed, modified and created times when statting
2018-05-01 15:01:36 +03:00
VelocityRa
08d3f53c2d
[sfo] Fix return value when field is empty
2018-05-01 15:01:36 +03:00
VelocityRa
df31c71a14
[io] Support statting in app0:
2018-05-01 15:01:36 +03:00
VelocityRa
e264d5fc76
[io] Set read/write perm flags for U/G/O when statting
2018-05-01 15:01:36 +03:00
VelocityRa
5555bb0dfb
[AppUtil] Stub SCE_SYSTEM_PARAM_ID_ENTER_BUTTON
2018-05-01 15:01:36 +03:00
Sunguk Lee
473f059e9b
[build] Copy shaders to build dir on linux ( #198 )
...
Resolve #197
2018-04-29 20:23:57 +03:00
Rinnegatamante
0693588fe3
Replaced unique_lock with lock_guard when possible. ( #196 )
...
`std::lock_guard` is a lighter version of `std::unique_lock`, it provides optional deferred locking and explicit unlocking and you can also transfer a lock to another.
We rarely need any of that, so `std::lock_guard` should be preferred.
2018-04-29 16:36:10 +03:00
Sunguk Lee
74c7ff8821
[gxm] Remove in
if glsl version >= 1.30
2018-04-29 11:59:56 +02:00
Sunguk Lee
5bd3cc3cb2
travis: Apply matrix for linux CI
...
split osx & linux parts and add linux specific actions
travis still use trusty and it's too old versions
custom parts:
- use gcc7 and g++7 of ubuntu-toolchain-r/test
- use unicorn engine and libsdl2 of archlinux
project requires unicorn-engine and >= libsdl 2.0.7
but could not find deb
- use static built cmake 3.10.3
this patch only test build process in linux system.
2018-04-29 11:58:49 +02:00
Do Trong Thu
5e89ab8dfc
[module] Add missing 'tuple' header
...
emulator: Add missing include `tuple`
2018-04-29 14:48:43 +07:00
Sunguk Lee
510f9adde5
emulator: Add missing include tuple
...
fix build error in linux
2018-04-29 16:02:22 +09:00
Peter Mackay
ee97533449
Merge branch 'master' into export-names
...
# Conflicts:
# src/emulator/host/include/host/functions.h
# src/emulator/modules/SceGxm/SceGxm.cpp
# src/emulator/modules/SceKernelThreadMgr/SceThreadmgr.cpp
# src/emulator/modules/SceLibKernel/SceLibKernel.cpp
2018-04-29 00:35:46 +01:00
Peter Mackay
2c3804d43c
Pass export name to alloc().
2018-04-29 00:15:52 +01:00
Peter Mackay
8616554c8c
Pass export name to error().
2018-04-29 00:15:34 +01:00
Peter Mackay
1283b1fdb8
Pass export name to unimplemented().
2018-04-28 23:56:43 +01:00
Nick Renieris
df6194c12c
[kernel] Improve and refactor Semaphore implementation ( #190 )
...
- Now supports priority-based scheduling
- Return proper error when surpassing max value, instead of clamping
2018-04-28 22:47:38 +03:00
Rinnegatamante
a2ba928824
Warn fix for app0 read-only. ( #188 )
2018-04-28 17:23:04 +02:00
Rinnegatamante
def1941fe2
Merge pull request #184 from Rinnegatamante/yagxmpr
...
Implemented sceGxmSetViewport and sceGxmSetRegionClip.
2018-04-28 14:18:28 +02:00
Peter Mackay
b97d135f02
Pass export name to microprofile.
2018-04-27 18:53:10 +01:00
Rinnegatamante
4be1611c02
Implemented sceGxmSetRegionClip.
2018-04-27 19:45:33 +02:00
Rinnegatamante
76ebdf1c09
Implemented sceGxmSetViewport.
2018-04-27 19:29:56 +02:00
Peter Mackay
753acd481b
Merge pull request #175 from petmac/simplify-bridging
...
Simplify bridging
2018-04-27 16:58:18 +01:00
Francisco José García García
8d9ace5446
Remove left over assert
2018-04-27 12:28:45 +02:00
Peter Mackay
8c8ef6ae0e
Clarify add
function names.
2018-04-27 08:25:57 +01:00
Peter Mackay
c1db99e56d
Merge pull request #181 from FromAlaska/patch-1
...
CMakeLists.txt moved
2018-04-27 08:19:11 +01:00
Peter Mackay
56b6702f85
Simplify code to lay out list of arguments.
2018-04-27 08:12:59 +01:00
Rinnegatamante
914213f4f1
Implemented sceGxmSetFrontDepthWriteEnable. ( #176 )
2018-04-27 08:06:09 +01:00
Jim Samson
27e13f0250
CMakeLists.txt moved
...
Request to change location of where the file lives. The CMake file doesn't exist in src/ anymore
2018-04-26 20:12:05 -08:00
Peter Mackay
dc6e8a7bb7
Tweak read_from_gpr
.
2018-04-27 00:09:31 +01:00
Peter Mackay
21b3ae27cd
Fix a couple of MSVC warnings.
2018-04-26 23:50:28 +01:00
Peter Mackay
8eb5766c51
Work around non-constexpr expression with MSVC.
2018-04-26 23:47:37 +01:00
Peter Mackay
9b28c2b45c
Update required CMake version so it correctly enables C++17 for Visual Studio.
...
See:
https://stackoverflow.com/a/44964919
2018-04-26 23:21:26 +01:00
Rinnegatamante
4081bd1c55
Implemented sceTouchRead, sceTouchRead2, sceTouchPeek2. ( #180 )
2018-04-26 22:40:22 +02:00
Peter Mackay
e342531ca8
Specialise to handle 64-bit arguments in registers. (Untested.)
2018-04-26 19:54:36 +01:00
Peter Mackay
2abe428641
Use read
or write
rather than nebulous bridge
terminology.
2018-04-26 19:35:54 +01:00
Peter Mackay
64f97fd3d7
Change index to template parameter. It's known at compile time.
2018-04-26 19:28:13 +01:00
Peter Mackay
ed5c685ad3
Split arg layout code into new headers.
2018-04-26 19:23:41 +01:00
Peter Mackay
85a8e02f19
Split type bridging into a new header.
2018-04-26 19:04:02 +01:00