Commit Graph

4058 Commits

Author SHA1 Message Date
metr1k-91 dacd29077a Matching2 fixup 2, I'll take all the buffer I want. (#4650)
* matching2 fixup - joinroom

* Matching2 fixup 2, I'll take all the buffer I want.

Fixed what appeared to be a overflow caused by context movement from terminate calls.
2026-06-30 09:22:37 +03:00
metr1k-91 91dfa4a958 matching2 fixup - joinroom (#4644) 2026-06-29 17:07:09 +03:00
Stephen Miller 7da7a8e1f9 More safe LLE modules (#4642)
These are all safe thanks to recent work (aside from rudp, that's been safe ever since the initial socket work).
2026-06-29 12:58:31 +03:00
metr1k-91 c581ce89a9 Matching2 P3 + P4 (#4643)
* matching2 part 3: context states, initial payload holder, additional constants, enums.  Matchmaking block, comid additon, ctx_id additon to shadnet.proto.

* Matching2 P4: this time its matching: starting rewrites on external APIs.  Shadnet changes to mirror on emu side.

* Matching P5: SearchRoom
2026-06-29 09:02:46 +03:00
Stephen Miller 8ead142315 Core: Run _malloc_init to fix LLE internal mallocs (#4622)
* Initialize heap API and run malloc_init

Purely for testing

* Update linker.cpp

* Fix heap function definitions

* Run malloc_init before initializing libs

Allows LLE libSceMoveTracker.

* Fix for rebase

* Some other fixups

* Some other rebase/bug fixes

* Claaaaaang

* Add a memory type for system memory

Don't want these system areas merging with things they shouldn't.

* mmap with MAP_SYSTEM flag

* Add FW 1.70 check to sceKernelMapNamedSystemFlexibleMemory

* regmgr call stub

Best we at least have some clue what this thing is doing

* Remove forced LibcInternal HLEs

These are no longer needed since running malloc_init LLE allows internal mallocs to succeed.

* Remove heap api pre-init

This is a hack.
2026-06-28 21:54:02 +03:00
enyetsuen fd7166b22e Fix patchInfo to own its strings (#4634) 2026-06-28 10:15:38 -05:00
kalaposfos13 9f4b713dfd Add and autogenerate PathType::TrophyDir (#4538) 2026-06-28 11:47:44 +03:00
Connor Garey 56fd63cc95 Abseil-Cpp for protobuff. (#4638)
Added abseil-cpp

Add git

abseilCppSource added to flake.lock

Add abseilCppSource and pass the nix path to be compiled.

Removed git
2026-06-28 09:49:45 +03:00
rosenkolev1 32bd28e04d Fix tls leak for non-primary thread (#4151) 2026-06-28 09:29:38 +03:00
georgemoralis 1dcce1cbc7 Push events for webapi and some other functions fixes (#4636)
* push events for webapi and some other functions fixes

* clang is not my friend
2026-06-28 08:50:17 +03:00
Ultra 9c0310909e ShadNET hotfix (#4635)
* We try stuff till something works, God bless the new config backend 🙏

* Hopefully we did it?

* whoops

* what

* schizophrenia and clang fix

* once a schizo, always a schizo

* all in my head?

* I DIDN'T EVEN TOUCH THIS LINE BTW 🙏

* fixing an oopsie

* that should cover it?

* silly clusmy ultra

* that should be all hopefully(i hate gh mobile)

* clang
2026-06-27 09:53:06 -05:00
kalaposfos13 a6025d3131 sceMouseClose, send correct events when no mouse is connected and better state.connected handling (#4599) 2026-06-27 09:11:10 -05:00
georgemoralis bf98eaa982 username changes to onlineid once connected (#4633) 2026-06-27 09:03:55 -05:00
kalaposfos13 bd741ec57f Don't attempt to LLE the full contents of sys_modules when param.sfo is missing (#4632) 2026-06-27 08:57:54 -05:00
Kravickas 463fe06dce Barrier vertex/index buffers written by compute (#4611)
* Vertex/Index barriers

* Vert/Index barrier param

* barrrrrrrr

* Add GPU modification checks for buffer barriers
2026-06-27 10:24:19 +03:00
metr1k-91 59d7c92e45 Matching2 part 2: more types, structs, enums, context backend, init, term, createcontext / createcontextA. added ctxid to all shadnet notifications for matching2 and added matching2 events. (#4631) 2026-06-27 08:48:55 +03:00
Stephen Miller 38444639a5 Lib.Sysmodule: LLE libSceWkFontConfig.sprx (#4629)
* Add libSceWkFontConfig as an LLE

* Add module to README
2026-06-27 08:34:53 +03:00
kalaposfos13 a622b64e85 libraries: add three missing semicolons (#4628) 2026-06-27 00:18:42 -05:00
NotAnEnergyDrinkAddict 9fb948cbe6 Reapply #4619 and handle patch value hex exceptions (#4627)
* Reapply "Memory Patch Fixes (#4619)" (#4620)

This reverts commit 221efa40c7.

* try catch converting value to hex
2026-06-26 13:59:36 +02:00
kalaposfos13 c795c04301 Fix building on setups with a system abseil install (#4626) 2026-06-26 10:32:13 +02:00
metr1k-91 b564846b3c Matching2 Part1: general additions, corrections, and sorting. (#4625) 2026-06-26 08:39:09 +03:00
Stephen Miller 6f568eaec9 Replace IsValidMapping asserts with accurate errors during MapMemory and Unmap (#4623)
Some titles need this properly handled to run.
2026-06-25 16:57:24 -07:00
Ploo 55bc0be82d fix: FBSD 15 libc++ quirks with includes (#4617)
Signed-off-by: lizzie <lizzie@eden-emu.dev>
2026-06-25 16:55:47 -07:00
Missake 60a5b23d25 add log to app bug template (#4609) 2026-06-25 22:25:32 +03:00
georgemoralis 583e6851fd Faking Np commerce (#4618)
* moved np_commerce to dedicated folder

* Implemented fake np commerce

* we have a store now

* shadnet icon

* stephen reviews

* more stephen reviews
2026-06-25 17:35:07 +03:00
kalaposfos13 221efa40c7 Revert "Memory Patch Fixes (#4619)" (#4620)
This reverts commit a52b4c0dae.
2026-06-25 16:52:51 +03:00
NotAnEnergyDrinkAddict a52b4c0dae Memory Patch Fixes (#4619)
* Fix bytesN types to format hex

```
Possible prefixes == (s == `0x` || s == `#` || s == `$`)
```

* use PatchInfo struct for PatchMemory
2026-06-25 12:18:53 +03:00
georgemoralis aff387e8a9 First ShadNet integration (#4607)
* initial shadnet client (based on my previous prs)

* some np_handler work mostly based on our previous pr

* improved login/logout event of shadnet

* added np_score support from previous pr

* friends and notifications ui

* clang is not my friend

* clang fix again

* added webapi support for shadnet

* applied metrik's fix

* clang

* fixed some wrong LOG_ERRORS

* updated emulator settings

* trying to fix npcommid bugs

* fixed npcommid

* improved NPcommid detection so it won't write null values to database

* metrik's suggestion

* removed one line

* more command types

* fixed duplicated log print

* fixed compile

* improved reconnection retries

* simplify error code

* stephen suggestion

* made friends hotkey

* fixup

* more proper handling of reconnecting

* fixed return code
2026-06-24 23:57:43 +03:00
Hog 8651fd78d8 Change atomic operation from And to Or in IREmitter (#4612)
We used the wrong opcodes before
2026-06-24 15:15:23 +03:00
Stephen Miller 7bb1f9df7b Lib.Mouse: Fix sceMouseOpen checks (#4605)
* Fix checks for param flag

* Refactor merge check

Makes the check it's own variable to improve readability.

* Explicitly set default to normal

Addresses other review comment.
2026-06-22 21:18:38 +02:00
Kravickas 1155575ca4 indirect dispatch/draw buffer barrier (#4597) 2026-06-21 11:02:09 +03:00
squidbus 664804ba74 build: Move platform presets to cmake directory (#4595) 2026-06-20 05:00:59 -07:00
Stephen Miller 5ddd87d742 Properly handle search_end restrictions in sceKernelAllocateDirectMemory (#4600) 2026-06-20 09:20:32 +03:00
squidbus dcd036d261 build: Get compiling on ARM64 again (#4598) 2026-06-19 18:21:38 +03:00
kalaposfos13 ad95aac357 Mouse hotfixes (#4596)
* add missing setting check in sceMouseInit

* Send guest event on mouse removed host event
2026-06-19 10:30:04 +03:00
kalaposfos13 d9f68b53c9 Do not auto-stub unresolved objects (#4562)
* Patch unresolved object stubs with unresolve indicator

* Don't autostub unresolved objects in the first place
2026-06-18 12:03:30 -05:00
kalaposfos13 d54e6b07f5 sceMouse HLE (#4568)
* libSceMouse HLE v1

* fix getting event device id, init lib, logging

* rest of the mouse events

* lol how did it take me this long to notice this

* stop the hidden mouse from clicking on random shit

* yet another mouse state bug

* Implement merged mode

* Move RingBufferQueue to common/

* sir clang offnir, the all-formatting

* config option for this

* review comments
2026-06-18 11:55:28 -05:00
squidbus 1785b98fbf emulator: Clean up resource files (#4590) 2026-06-18 18:52:06 +03:00
Connor Garey 619e8f5292 Additions to Nix flake. (#4592)
Added cmake flags as optionals.

Moved X libs into its own list.

Replaced old callPackages.

Moved to let block at top level packages.

Created a function to get the correct attribute set from buildSettings.

.

Import lib

explicitly gave releaseWithDebugInfo callPackage build.

Remove lib output

Prepended pkgsLinux

Formatting.

Remove brace

.

Call the lambda first and get the output after using ()

Added buildDeps

removed fmt and eudev from native

Removed dependencies from devshell and use inputsFrom instead.

Added the inputs for the CMake modules in the derivation inputs.

Changed path and added name.

Added enableSystemLibraries flag

Removed xLibs and added flag for ENABLE_SYSTEM_LIBRARIES

Use sdl3 submodule for compiling locally.

.

.

Formatting.

Building with system libraries enabled.

Added libGL to devshell, added sdl3 and libx11 to buildInputs

Removed comment

Added devshell SDL configuration libs.

.

.

.

.

Use cmakeBool

Made buildInputs with no let in

Removed sdl3

Formatting

.

removed enableTests
2026-06-18 06:13:04 -07:00
squidbus 462cd0724a build: Put system library use behind flag (#4576) 2026-06-17 09:56:02 -07:00
squidbus 0d5f7e83b7 emulator: Set window icon to game icon. (#4586)
* emulator: Set window icon to game icon.

* window: Match system icon look-and-feel on macOS

* window: Log SDL error on failure to set icon
2026-06-17 09:52:46 -07:00
kalaposfos13 c7956d066e camera: fix incorrect parameter and SDK check and add some more error logging (#4588)
* camera: fix incorrect SDK check and add some more error logging

* Fix the actual underlying issue
2026-06-17 11:12:46 -05:00
kalaposfos13 032746cade Silence compiler warning (#4587) 2026-06-17 16:59:33 +02:00
kalaposfos13 bc74c604eb We’ve made some security fixes to the system software. (#4585) 2026-06-16 13:47:07 -05:00
Niram7777 11edaeabb8 Fix log level (#4577)
* fix shadps4.log level

* shadps4 log everything

* Fix trace log Unix
2026-06-16 20:56:15 +03:00
georgemoralis f1b457f116 np manager improvements and settings (#4579)
* added np settings and some preparations for shadnet

* fixup

* ..

* add some user checks
2026-06-16 18:28:48 +03:00
squidbus f29c0269fe build,ci: Minor clean-up (#4583) 2026-06-15 23:57:34 -07:00
squidbus 7de583b4c3 build: Switch to build KosmicKrisp from source (#4580) 2026-06-15 03:28:24 -07:00
Niram7777 6a20ebacde Save shader list, memory map and module list widgets (#4578)
* Save shader list, memory map and module list widgets

* Test discovery fix timeout...
2026-06-14 20:17:18 +03:00
squidbus d3dc14ab91 texture_cache: Improve handling of mips of compressed views (#4553)
* texture_cache: Improve handling of mips of compressed views

* image: Restore storage bit to compressed formats.
2026-06-14 03:05:50 -07:00