Commit graph

3748 commits

Author SHA1 Message Date
Rinnegatamante
e9da6cfae2
Initial sceCtrlSetActuator implementation. (#363)
* Added SceCtrlSetActuator implementation.

* Changes as requested.
2019-01-01 19:59:24 +01:00
scribam
d4bcabbe1f gui/host: Replace EOL characters in game titles by spaces (#361) 2018-12-27 02:42:22 +02:00
Rinnegatamante
b915fa163d
io: Replaced some asserts with proper error handling. (#359) 2018-12-25 21:42:47 +01:00
Rinnegatamante
d7f109263b More accuracy for IO errors. (#358) 2018-12-25 22:13:34 +02:00
scribam
3cbf691c8e gui: Support japanese characters in games list (#357) 2018-12-25 21:35:18 +02:00
pent0
a833659da0
ci: Fix wrong deploy file path (#355) 2018-11-12 17:48:44 +07:00
pent0
07d9dc0271
ci: Fix broken upload for linux (#353) 2018-11-12 06:35:29 +07:00
pent0
a6c7071318
ci: Change mode of bin folder to allow zip (#352) 2018-11-10 21:21:00 +07:00
pent0
e8a8ac7191
ci: Use docker for building with Ubuntu 18 (#345) 2018-11-10 20:24:25 +07:00
Tomáš Král
1e404db678 gui: Provide controls information to the user (#349) 2018-11-05 17:43:13 +02:00
Nick Renieris
78f3013275
renderer/optimization: Multithread texture hashing (#346)
Should speed up texture hashing by pretty much the amount of cores in the system.

Note: "Hashing" is a pretty loose term, since we're still just summing.
2018-10-23 12:43:23 +03:00
Benjamin Sinkula
ebee18ecf9 host/config: Log config settings during init (#344)
* host/config: Log config settings during init

* host/config: fix variable declaration
2018-10-13 06:08:17 +03:00
VelocityRa
28866dfa7e display/host: Support syncing of host/guest rendering
Allows graphics debuggers like RenderDoc to pick up OpenGL calls from GXM emulation.

Graphics debugger support is still not perfect, since with this approach they also pick up OpenGL calls from the host (main) thread, which messes up captures.
For this to work perfectly we'd need to do all rendering from a single thread, which is not trivial to do.
2018-10-12 16:46:18 +03:00
Nick Renieris
2eee7b105f
external: Update submodules (#340) 2018-10-11 04:31:32 +03:00
Benjamin Sinkula
17c238bdb1 host/config: LOG_* switches converted to Config settings (#339)
* host/config: LOG_IMPORTS and LOG_EXPORTS converted to Config settings

* host/config: LOG_ACTIVE_SHADERS converted to Config setting

* host/config: LOG_UNIFORMS converted to Config setting

* host/config: fix indentation
2018-10-11 04:22:51 +03:00
scribam
4e033327e0 Update spdlog submodule to version 1.2.0 2018-10-08 11:08:14 +02:00
scribam
98b8bb714e Update miniz to version 2.0.8 2018-10-02 18:45:22 +02:00
scribam
94a1b10610 Update imgui submodule to version 1.65 2018-10-02 18:45:22 +02:00
scribam
e87f5490a6 Update googletest submodule to version 1.8.1 2018-10-02 18:45:22 +02:00
scribam
86463ba59e Update glslang submodule to version 7.9.2888 2018-10-02 18:45:22 +02:00
scribam
af9fe5ff31 Update glbinding submodule to version 3.0.2 2018-10-02 18:45:22 +02:00
scribam
e1e288e978 Update dirent submodule to version 1.23.2 2018-10-02 18:45:22 +02:00
scribam
e839566f2a Update capstone submodule to version 3.0.5 2018-10-02 18:45:22 +02:00
NeveHanter
9169696a1e kernel/thread: Sync primitives timeout
- Implement initial sceKernelDeleteCond and sceKernelDeleteSema,
- Implement sceKernelWaitCond, sceKernelWaitLwCond, sceKernelWaitEventFlag, sceKernelWaitMutex, sceKernelWaitLwMutex, sceKernel, sceKernelWaitSema timeout parameter handling,
- Correct sync primitives logging,
- Replace hardcoded SyncWeight dependant error with existing methods,
- Correct bug with not deleting condition variables and mutexes,
- Correct mismatched smart pointer delete in load_self method,
- Unify sync primitives parameters order,
- Rename plain lock variables to more meaningful names,
- Add missing SCE_KERNEL_ERROR_MUTEX_RECURSIVE in mutex_lock_impl,
- Remove old thread.cpp file,
- Don't halt current thread if ended thread already exited,
- Add CLion IDE project files to .gitignore,
- Create SyncPrimitive base class to avoid code duplication while handling timeouts.
2018-10-02 19:01:22 +03:00
Rinnegatamante
916e20239f Forcing MSVC detection on boost build. 2018-10-02 19:00:12 +03:00
Nick Renieris
54c5f8cd5b
Prettify GUI (#332) 2018-09-21 14:41:25 +03:00
Nick Renieris
80ecba4006
Build script improvements (#334) 2018-09-21 14:41:04 +03:00
VelocityRa
d063cb6297 gui: Make debug dialogs use consistent colors 2018-09-20 23:23:26 +03:00
Nick Renieris
1179e5506b readme: Correct build instructions for Linux & add more details to Running section 2018-09-19 17:56:15 +03:00
Nick Renieris
c8c78197a9 build: Fix linux script & change build script naming 2018-09-19 17:41:50 +03:00
VelocityRa
dea8c37804 gui: Tweak imgui style and add external font 2018-09-17 23:30:39 +03:00
VelocityRa
63775cb368 gui: Bundle Ruda font 2018-09-17 23:30:38 +03:00
Nick Renieris
68330f25a2
Relocation overhaul & Loader improvements (#323) 2018-09-17 21:41:43 +03:00
Peter Mackay
a69b3160b6 shaders-db: Update repo to fix Downwell struct attribute names 2018-09-17 20:49:35 +03:00
VelocityRa
502e01ee08 kernel/loader: Support for dumping segments
- Compressed ones too, after they're decompressed.
2018-09-15 03:23:50 +03:00
VelocityRa
57a1b91697 kernel/loader: Fix var imports
- They don't work like func imports, you're supposed to apply relocations they point to instead.
2018-09-14 23:46:59 +03:00
VelocityRa
883c51eb7e kernel/loader: Relocation overhaul
- Turns out 2 relocation entry formats are not enough for Sony. 10 it is!

Co-authored-by: Francisco José García García <frangarcj@gmail.com>
2018-09-14 23:46:58 +03:00
VelocityRa
0e6c2db55e shadergen: Tweak component counts for vert outputs & frag inputs 2018-09-14 23:46:58 +03:00
VelocityRa
86af135121 Change vita-toolchain submodule to use our own fork 2018-09-14 23:46:58 +03:00
VelocityRa
4356ca51a8 host: Add debug function for enabling import call logging 2018-09-14 23:46:58 +03:00
VelocityRa
52b666341c host: Rename 'import_fn' to 'imports' 2018-09-14 23:46:58 +03:00
VelocityRa
b6ba123862 sysmodule: Run entry point of LLE'ed modules
- It works with the var import fixes that follow
- Also fix a .suprx filename
2018-09-14 23:46:57 +03:00
VelocityRa
60fe0d7d17 kernel: Replace size_t args with explicit sizes 2018-09-14 23:46:26 +03:00
VelocityRa
8a954174ff io: Add sa0: support 2018-09-14 23:46:25 +03:00
VelocityRa
362ce5af3e kernel/loader: Debug logging for module loading & relocations 2018-09-14 23:46:25 +03:00
VelocityRa
8749337e35 sysmodule: Support for loading decrypted modules from firmware 2018-09-14 23:46:24 +03:00
Nick Renieris
ece2654505
LLE support for dumped modules (#316) 2018-09-14 14:39:52 +03:00
VelocityRa
5772c7193b loader/reloc: Sanity checks for segment presence
- There must be a bug in the loader since this seems to
  happen a lot with loaded modules. Weird reloc codes
  and all over the place requested segments all over
  the place.
2018-09-14 14:32:07 +03:00
VelocityRa
d906668690 loader/self: Check for module_start/stop being -1
- Some loaded modules without module_start/stop had this
  which resulted in entry_point overflowing and crashing
  when trying to run them.

- Also remove some unused func parameters and fix some
  magic values.
2018-09-14 14:32:07 +03:00
VelocityRa
6135e04497 host/config: Select list of modules to LLE via config option
Also properly exit on --help and --version.

Help message shows the following for the option:

  -m [ --lle-modules ] arg         Load given (decrypted) OS modules from disk.
                                   Separate by commas to specify multiple
                                   modules (no spaces). Full path and extension
                                   should not be included, the following are
                                   assumed: vs0:sys/external/<name>.suprx
                                   Example: --lle-modules libscemp4,libngs
2018-09-14 14:32:07 +03:00