Commit graph

292 commits

Author SHA1 Message Date
Skyth (Asilkan)
82f6548f8d
Convert majority of dependencies to submodules. (#48)
* Convert majority of dependencies to submodules.

* Don't compile header-only libraries.
2024-12-17 15:35:18 +03:00
Dario
af8c01f590 Add protection to memory on Linux. 2024-12-17 08:49:04 -03:00
Dario
dd23b2efc0 Use std::exit. 2024-12-16 23:42:04 -03:00
Dario
32e52a13ff Fix NULL character being added on RtlMultiByteToUnicodeN. 2024-12-16 23:26:16 -03:00
Skyth
954cecea04 Rename physical memory allocation functions to not clash with X11. 2024-12-16 21:54:31 +03:00
Skyth
c9ef09b1ab Fix Windows compilation errors & unicode converter crash. 2024-12-16 21:45:04 +03:00
Dario
d67ff448e2 FS fixes. 2024-12-16 15:20:46 -03:00
Dario
53f3d34a46 Add linux-release config. 2024-12-16 15:13:06 -03:00
Dario
5d2f52a64c Fix paths. 2024-12-16 15:06:16 -03:00
Dario
5512602231 Refactor Config. 2024-12-16 14:39:47 -03:00
Dario
32d9d52d5e Add Linux stubs. 2024-12-16 14:05:46 -03:00
Dario
0481d3f539 Code cache pointers, RenderWindow type. 2024-12-16 13:56:58 -03:00
Dario
92eb4df06d GetCurrentThreadID gone. 2024-12-16 13:49:48 -03:00
Dario
6d7103b818 Rename Window to GameWindow. Fix guest pointers. 2024-12-16 13:46:53 -03:00
Dario
1a9ce72762 FPS patches high res clock. 2024-12-16 13:29:21 -03:00
Dario
86331a935d Fix localtime_s. 2024-12-16 13:27:06 -03:00
Dario
392a0e99bf Bitscan forward. 2024-12-16 13:20:19 -03:00
Dario
48bc79f6b1 vcpkg, memory mapped file. 2024-12-16 13:18:54 -03:00
Skyth
3a5a0142cc Update vcpkg.json baseline. 2024-12-16 18:59:02 +03:00
Skyth
3026137b76 Current work trying to get it to compile. 2024-12-16 18:39:16 +03:00
Skyth (Asilkan)
2bcaa61d42
Cross-platform event implementation. (#47) 2024-12-16 13:49:22 +03:00
Skyth (Asilkan)
4770e85573
Cross-platform atomic operations. (#44)
* Cross-platform spin lock implementation.

* Cross-platform reference counting.
2024-12-16 12:20:51 +03:00
Hyper
5642576cea xam: use SDL for keyboard input 2024-12-15 22:54:35 +00:00
Hyper
a50498f6d0 Merge branch 'main' into linux 2024-12-15 22:48:02 +00:00
Hyper
6c57221807
Implemented value thumbnails (#42)
* options_menu: implemented value thumbnails

* options_menu: use config ptrs as thumbnail keys, added named thumbnails

* options_menu_thumbnails: move header to cpp
2024-12-15 20:41:39 +00:00
Skyth (Asilkan)
d68e88314f
Cross-platform semaphore implementation. (#43) 2024-12-15 23:13:06 +03:00
Skyth (Asilkan)
afce26fc35
Cross platform thread implementation. (#41)
* Cross-platform thread implementation.

* Put set thread name calls behind a Win32 macro.
2024-12-15 20:09:12 +03:00
Hyper
74ee0c2b2f
locale: move localised strings to cpp impl (#40) 2024-12-15 18:15:32 +03:00
Dario
c23db5b746 Replace CreateDirectoryA with Unicode version. 2024-12-15 11:50:52 -03:00
Darío
a6c9869671
Unicode support. (#39) 2024-12-15 17:46:09 +03:00
Darío
52b4f0ee5e
Cross-platform TLS. (#34)
* Cross-platform TLS.

* Fix front() to back(), use Mutex.

* Fix global variable namings.

---------

Co-authored-by: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com>
2024-12-15 15:17:36 +03:00
Darío
fe15f154fe
Add mmap implementations for virtual allocation. (#38) 2024-12-15 15:14:33 +03:00
Darío
cc4953584f
Cross-platform Sleep. (#37) 2024-12-15 15:02:30 +03:00
Darío
9dcadb9e06
Add Linux home path for GetUserPath(). (#36) 2024-12-15 14:55:53 +03:00
Darío
4a38878aa0
Replace QueryPerformanceCounter. (#35) 2024-12-15 14:55:40 +03:00
Dario
c6e3d4e31f Fix toml parser failing on Unicode paths. 2024-12-15 01:27:50 -03:00
Dario
10c8858416 Reset end time for installer when installer is started. 2024-12-15 00:19:40 -03:00
Hyper
587b222483 Implemented D-Pad player input
This is mainly beneficial for 2D sections with PlayStation controllers where the D-Pad may be more preferable, but it also works in 3D too.
2024-12-15 01:44:01 +00:00
Darío
9b6e4406b7
Make D3D12 support optional. (#33)
* Make D3D12 support optional.

* Update ShaderRecomp, fix macros.
2024-12-14 18:42:43 +03:00
Skyth
c4b21bde8b Implement guest critical sections using std::atomic. 2024-12-14 18:23:31 +03:00
Skyth
7f45cb942d Refactor kernel objects to be lock-free. 2024-12-14 15:40:13 +03:00
Skyth
e89012127d Fix directory iteration resolving symlinks. 2024-12-14 13:06:01 +03:00
Darío
26c4ab2eac First implementation of IO rewrite. (#31) 2024-12-14 13:06:00 +03:00
Dario
2c405f5d2c vcpkg as submodule. 2024-12-14 13:03:31 +03:00
Skyth
0119ba1099 Add clang toolchain & make tools compile. 2024-12-14 13:03:30 +03:00
Skyth
64a3857e77 Initial Linux attempt. 2024-12-14 13:03:16 +03:00
Skyth
578d9d052b Move first party tools to tools folder. 2024-12-13 21:21:58 +03:00
Skyth
611454126e Update pipeline cache. 2024-12-13 21:07:12 +03:00
Skyth
4b728f4a2b Downgrade to C++20 & switch to fmtlib. 2024-12-13 18:54:05 +03:00
Skyth
1ab25d5b41 Update recompiler submodules. 2024-12-13 18:33:51 +03:00