Commit graph

57 commits

Author SHA1 Message Date
TheTurtle 0aa04c60cb video_core: Bringup some basic functionality (#145)
* video_core: Remove hack in rasterizer

* The hack was to skip the first draw as the display buffer had not been created yet and the texture cache couldn't create one itself. With this patch it now can, using the color buffer parameters from registers

* shader_recompiler: Implement attribute loads/stores

* video_core: Add basic vertex, index buffer handling and pipeline caching

* externals: Make xxhash lowercase
2024-05-25 15:33:15 +03:00
georgemoralis 521fc0401f show title splash while the game is loading 2024-05-16 16:58:14 +03:00
georgemoralis fc2b0d4265 added sys_modules folder and ability to load system modules (currently we try ngs2) 2024-05-13 15:01:45 +03:00
georgemoralis fa4a7b6845 print param.sfo info at startup 2024-05-02 10:57:45 +03:00
TheTurtle 49e65be25b core: Rewrite thread local storage implementation (#118) 2024-05-01 13:38:41 +03:00
raphaelthegreat 733956c39b texture_cache: Fix linear image uploads
* Also fixed build for clang-cl with libc
2024-04-29 18:22:04 +03:00
GPUCode 23b2eeba9b video_core: Rewrite vulkan and videoout 2024-04-14 17:10:40 +03:00
GPUCode 661b4d0e74 src: Reorganize and cleanup libraries 2024-04-14 00:37:17 +03:00
georgemoralis bdfb7c800d loading libSceFios2.prx as lle as well 2024-03-27 13:00:27 +02:00
whereismyfoodat 57e9b41ec0 small fixes , cleanups 2024-03-27 08:41:14 +02:00
georgemoralis 876965cfd0 improved symbols_resolver and output 2024-03-25 09:46:36 +02:00
georgemoralis f1d2b5522a config option to enable libc lle 2024-03-25 09:26:59 +02:00
georgemoralis 02ba353401 Autogen system,user,dialog modules (#98)
* some rework on system_service, user_service

* fixed clang format

* more clang fix

* more clang fix

* added error codes in system service

* some libc functions

* fixed fprintf

* small fix

* linux fix

* error handling in user service

* error codes reorganized
2024-03-14 14:18:16 +02:00
georgemoralis af1e3c02ad LLE libc + other fixes part1 (#97)
* app0 folder is absolute

* some improvements on symbols types

* clang format

* missing libs.h

* improved symbols_resolver

* moved config to config folder

* functions to dump import functions

* improved logging output

* option for debugdump and improvements

* Apply suggestions from code review

Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>

* clang format

---------

Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>
2024-03-11 13:26:33 +02:00
GPUCode 367350e989 common: Rewrite logging based on cut down citra logger (#86)
* common: Rewrite logging based on cut down Citra logger

* code: Misc fixes

* core: Bring back tls handler

* linker: Cleanup

* config: Remove log level

* logging: Enable console output by default

* core: Fix windows build
2024-02-28 00:10:34 +02:00
GPUCode 7e5b7a7ffa chore: Make shadps4 REUSE compliant 2024-02-23 23:33:43 +02:00
GPUCode d9e30405ba code: Add clang-format target and CI workflow (#82)
* code: Add clang format target, rules and CI workflow

* code: Run clang format on sources
2024-02-23 22:57:57 +02:00
GPUCode 7faf2d0ee8 common: Rework timekeeping with native RDTSC and port to linux 2024-02-23 11:30:06 +02:00
georgemoralis efc542bdb8 initial fs implementation (mounting /app0/) 2023-11-19 10:22:46 +02:00
georgemoralis 280b340598 added sceMutexInit functions 2023-11-10 19:52:41 +02:00
GPUCode 477b4fb07f core: Reorganize 2023-11-06 01:11:54 +02:00
GPUCode 8ad26a4dc8 common: Move classes to common namespace 2023-11-05 16:56:28 +02:00
GPUCode 9cc85f4635 src: Move certain headers in common 2023-11-05 13:41:26 +02:00
georgemoralis 5d90022f6a refactoring Core folder to core 2023-10-31 08:47:58 +02:00
georgemoralis eb783a1d70 implemented sceKernelGetProcessTime 2023-10-30 08:48:52 +02:00
GPUCode 5118435d65 code: Replace printf/scanf with type safe fmt 2023-10-26 23:29:19 +03:00
GPUCode 9ceef6e6f6 main: Remove remnants of imgui example 2023-10-26 23:15:11 +03:00
GPUCode bd8e74f4ef singleton: Use unique_ptr 2023-10-26 23:13:24 +03:00
GPUCode 7b6a127051 core: Switch to std threading primitives 2023-10-22 17:10:25 +03:00
georgemoralis fd2bfc869b refactoring singleton class 2023-10-15 10:03:26 +03:00
georgemoralis 70487a4fed some work on pad emulation (WIP) 2023-10-13 09:40:59 +03:00
georgemoralis 2382619cba basic sdl window init 2023-09-12 19:39:08 +03:00
georgemoralis dc3f704386 implemented sceVideoOutOpen 2023-08-22 23:59:59 +03:00
wheremyfoodat c016e7ac12 added configuration class 2023-08-14 20:17:01 +03:00
georgemoralis c37067641d refactoring log class 2023-08-13 16:54:56 +03:00
georgemoralis f62f2c767f better place to init discordRPC 2023-08-12 01:02:42 +03:00
wheremyfoodat f6d3ea4253 Add discord RPC 2023-08-11 20:22:26 +03:00
georgemoralis e1693e28c5 threading part 1 2023-08-09 10:31:18 +03:00
georgemoralis 3effaa2733 removed debug code 2023-08-03 13:06:23 +03:00
wheremyfoodat 582e27b729 general refactoring and coding format fixes 2023-08-03 12:25:25 +03:00
georgemoralis 4d87ac2143 Refactoring PhysicalMemory 2023-08-02 08:41:41 +03:00
georgemoralis 6bfdf17a03 sceKernelAllocateDirectMemory should be ok for now 2023-08-01 17:59:08 +03:00
georgemoralis cc8c7eb648 Added Thread class 2023-08-01 12:49:57 +03:00
georgemoralis 3b53e4781a we can now execute code (reaches init_env() function ) 2023-07-20 12:18:43 +03:00
georgemoralis 87c5ce173c kalitero usage minima sto main.cpp . Ola einai modules alla den tha katalaboun 2023-07-08 21:06:10 +03:00
Stefanos Kornilios Mitsis Poiitidis 4ae5300e1a main: validate arguments 2023-07-07 13:54:44 +03:00
georgemoralis 8140f11be3 sample hle function loading (libc) 2023-06-28 20:15:19 +03:00
georgemoralis d1ae8fb199 more symbols work and refactoring 2023-06-19 07:51:56 +03:00
georgemoralis 2e4321cba0 supporting self segments loading 2023-06-13 19:05:06 +03:00
georgemoralis 1d5cfb89ac simplify main (not loading imgui and sdl for the moment) 2023-06-08 11:58:29 +03:00