Commit graph

867 commits

Author SHA1 Message Date
psucien 4b3acb7ccb renderer_vulkan: fixed buffers alignments 2024-06-15 23:20:13 +02:00
psucien 8429fa1c0e libraries: fix for Windows crash during LLE libc initialization 2024-06-15 20:04:36 +02:00
Younes 825657ced1 - sceKernelUuidCreate, sceAppContentAppParamGetInt, sceAppContentTemporaryDataMount2 (#199)
- PlayGo
- stub libusbd
-added /temp0 and /data mounts at emu start.
(Ghost Files: Memory of a Crime, Abyss: The Wraiths of Eden)
- some posix functions
2024-06-15 17:51:51 +03:00
TheTurtle 556d88ecb4 core: Many things (#194)
* video_core: Add a few missed things

* libkernel: More proper memory mapped files

* memory: Fix tessellation buffer mapping

* Cuphead work

* sceKernelPollSema fix

* clang format

* fixed ngs2 lle loading and rtc lib

* draft pthreads keys implementation

* fixed return codes

* return error code if sceKernelLoadStartModule module is invalid

* re-enabled system modules and disable debug in libs.h

* Improve linux support

* fix windows build

* kernel: Rework keys

---------

Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
2024-06-15 14:36:07 +03:00
georgemoralis 21fb03ce61 Merge pull request #197 from Xphalnos/main
More screenshots for README
2024-06-14 17:28:56 +03:00
Xphalnos 3d70184181 Screenshots 2024-06-14 14:59:22 +02:00
Xphalnos 3779331f86 Merge branch 'main' of https://github.com/Xphalnos/shadPS4 2024-06-14 14:33:08 +02:00
Xphalnos 30fe6aa2dd More screenshots for README 2024-06-14 14:32:41 +02:00
georgemoralis f633f3d30e Merge pull request #196 from shadps4-emu/LibPngDec
Added LibPngDec
2024-06-14 11:02:19 +03:00
raziel1000 0fce689830 Added LibPngDec
(tested with Metal Slug 3, Risk of Rain, Deadbolt and Nidhogg)
2024-06-14 01:37:26 -06:00
TheTurtle 1e5fed2e8a core: Fixup linux support (#195)
* tls: Implement for linux

* core: Implement memory manager for linux
2024-06-14 00:58:57 +03:00
Xphalnos a818c36fdf Fix missing SDL3.dll error message for Windows-Qt (#193) 2024-06-12 19:09:54 +03:00
georgemoralis 732bd3c69b Merge pull request #184 from shadps4-emu/externals/tracy
Tracy profiler
2024-06-12 17:19:44 +03:00
georgemoralis c7e23cfd8b Merge pull request #192 from Xphalnos/main
Minor fixes
2024-06-12 17:19:25 +03:00
psucien dca807f132 tracy: guards for missing vk profiler context 2024-06-11 22:57:37 +02:00
georgemoralis e749836126 fixed windows qt build 2024-06-11 23:26:13 +03:00
Xphalnos 5d69def24c Merge branch 'shadps4-emu:main' into main 2024-06-11 22:10:04 +02:00
psucien 4feb0f26f8 tracy: submodule update 2024-06-11 21:58:35 +02:00
psucien 65a7155cd5 tracy: added Vulkan GPU profiling 2024-06-11 21:52:48 +02:00
georgemoralis 53fc8dec8c really fixed typo 2024-06-11 22:41:35 +03:00
Xphalnos 7bd5442385 Improve Building and Readme 2024-06-11 21:29:29 +02:00
georgemoralis 81e4000432 fix typo 2024-06-11 19:36:17 +03:00
Xphalnos 20e716c8f4 Minor fixes 2024-06-11 18:15:36 +02:00
georgemoralis 0217e43fb9 added libScePosix nanosleep 2024-06-11 16:42:15 +03:00
psucien ce62ae31e5 tracy: basic markup and project palette 2024-06-11 12:14:33 +02:00
psucien 7ab17176d0 Added Tracy profiler 2024-06-11 11:17:46 +02:00
georgemoralis fbca6f3302 Merge pull request #190 from shadps4-emu/stabilization_three
Stabilization three
2024-06-11 07:25:55 +03:00
georgemoralis abfd15f1b4 Merge pull request #189 from shadps4-emu/qt-again
Qt fixes and improvemments, trophy decryption/viewer.
2024-06-11 07:04:31 +03:00
raziel1000 ecabb2ba04 clang format 2024-06-10 20:44:16 -06:00
raziel1000 7ba9ad6cca - Added trophy decryption when extracting a fpkg. trp icons and xmls are dumped to game_data/<title> (can be restored if deleted by accident by opening the trophy viewer)
- Added a trophy viewer (right click on game ==> trophy viewer)
- Enabled Run button.
- Switched gui settings to toml.
- Added recent files (6 max)
- Applied @raphaelthegreat suggestions and corrections (Thanks a lot).
- Fixed several bugs and crashes.
- Full screen should disabled by default.
- Added region in list mode.
- Added a simple temp elf list widget.
- Added messages when extracting pkg (ex: installing a patch before the game...etc)
2024-06-10 20:42:21 -06:00
psucien b110523d90 recompiler: trivial missing ops (VALU OR and SALU LE, GE) added 2024-06-10 23:49:23 +02:00
psucien 1dd9f7a99e timer_management: sceKernelUsleep on <1ms delays 2024-06-10 23:48:06 +02:00
psucien fa198e228d renderer_vulkan: another fix for vertex buffer offsets 2024-06-10 23:20:32 +02:00
Xphalnos 4c8115af69 Separation between release mode and RelWithDebInfo (#186) 2024-06-10 22:59:28 +03:00
TheTurtle 752995e209 kernel: Implement gettimeofday + other misc fixes (#187)
* kernel: Add gettimeofday

* kernel: Move sceKernelReleaseDirectMemory where it belongs

* savedata: Stub sceSaveDataDialogUpdateStatus to return finished

* memory: Add lock to VirtualQuery and remove debug print

* clang format

* fixed linux build?

* special case for sceKernelWrite (stdin,stdout,stderr)

* special case for case savedata mount

* reduced mutex spamming

* added missing default rwlock attributes init

* kernel: Add more sleep functions

* file_system: Add some functions

* memory: Missed adding some functions

* kernel: Moved some functions to time

* kernel: Fix build error

---------

Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
2024-06-10 22:59:12 +03:00
TheTurtle 769eb6a9ee video_core: Preliminary storage image support and more (#188)
* vk_rasterizer: Clear depth buffer when DB_RENDER_CONTROL says so

* video_core: Preliminary storage image support, more opcodes

* renderer_vulkan: a fix for vertex buffers merging

* renderer_vulkan: a heuristic for blend override when alpha out is masked

---------

Co-authored-by: psucien <bad_cast@protonmail.com>
2024-06-10 22:35:14 +03:00
georgemoralis eed77a4726 Merge pull request #182 from shadps4-emu/miscfixes
Miscfixes
2024-06-10 18:42:49 +03:00
georgemoralis 5257cb9a39 wrong spdx 2024-06-10 18:36:18 +03:00
georgemoralis 172f56df00 review fixes 2024-06-10 18:26:37 +03:00
georgemoralis f3a88e100a fixed posix_stat error return 2024-06-10 18:09:22 +03:00
georgemoralis e4e9383779 fixed possible nullptr crash on rwlock create 2024-06-10 18:01:50 +03:00
georgemoralis a326c7e762 Merge pull request #183 from shadps4-emu/bc_detiler
Micro detiler for 2D BC textures
2024-06-10 15:33:55 +03:00
georgemoralis 987ac0fa41 more clang fix 2024-06-10 15:24:34 +03:00
georgemoralis b59ce5872a clang fix 2024-06-10 15:21:50 +03:00
georgemoralis 384a5030fd moved main code , to emulator,cpp , emulator.h class 2024-06-10 15:18:42 +03:00
georgemoralis 5162e3e60b don't make fullscreen default 2024-06-10 14:04:59 +03:00
georgemoralis 660cc0debf depedencies updates and fixes 2024-06-10 14:04:32 +03:00
georgemoralis f05f4d400f Merge pull request #181 from shadps4-emu/new_memory
core: Rework memory manager
2024-06-10 12:33:57 +03:00
raphaelthegreat d151558b0f Fix linux build 2024-06-10 12:13:24 +03:00
raphaelthegreat 5f97816fd7 core: Rework memory manager 2024-06-10 02:13:44 +03:00