Commit graph

652 commits

Author SHA1 Message Date
Vladislav Mikhalin c59271fb2b AvPlayer: Do not align w/h to 16 with vdec2 (#1388) 2024-10-15 22:31:11 +03:00
ElBread3 bb0164c9b2 Minor Fixes for Separate Update Folder (#1387)
* description + string fixes

* fix use condition

* clang format

* updates now fully extract to game update folder

* don't guarantee the overwrite game condition
2024-10-15 22:29:27 +03:00
ElBread3 5628881296 Separate Updates from Game Folder (#1026)
* separate updates implementation

* clang format

clang format

clang format

clang format

clang hates me

work please

* hotfix: check for sfo file instead of the folder

* tiny change

* refactor

* forgot to change this over

* add review changes

* use operator
2024-10-15 18:49:42 +03:00
georgemoralis d81124178c Small Np + trophy fixes (#1363)
* sceNpGetOnlineId returns sign out code

* return -1 if trophy xml not found . Fixes undertale
2024-10-14 15:11:21 +03:00
Vinicius Rangel 7d11abee1f Devtools - Inspect regs/User data/Shader disassembly (#1358)
* devtools: pm4 - show markers

* SaveDataDialogLib: fix compile with mingw

* devtools: pm4 - show program state

* devtools: pm4 - show program disassembly

* devtools: pm4 - show frame regs

* devtools: pm4 - show color buffer info as popup

add ux improvements for open new windows with shift+click
better window titles

* imgui: skip all textures to avoid hanging with crash diagnostic enabled

not sure why this happens :c

* devtools: pm4 - show reg depth buffer
2024-10-13 15:02:22 +03:00
Vladislav Mikhalin 6699f7da05 Added adaptive mutex initializer handling (#1353) 2024-10-13 12:22:14 +03:00
Lander Gallastegi 31bb161b80 hotfix: correctly check for valid priority (#1359) 2024-10-13 11:35:05 +03:00
Daniel R. d876d676cf core: Fix mmap being unable to map GPU memory 2024-10-12 16:35:12 +02:00
Vladislav Mikhalin dbed4afe1f AvPlayer: Patch all guest calls (#1346) 2024-10-11 21:44:29 +03:00
adjonesey ecf540ee9f Use GetSystemTimePreciseAsFileTime to fix fps timing issues (#1344)
-ws
2024-10-11 17:52:48 +03:00
Daniel R. e1c1a6344c hotfix: map rasterizer memory on pool commit 2024-10-11 10:48:32 +02:00
georgemoralis 457a84d7f2 Network libs fixes , stubs and more (#1324)
* some rework on netctl calls

* added libs stubs using from RE6

* added ORBIS_NET_CTL_INFO_IP_ADDRESS case in sceNetCtlGetInfo

* added sceNetInetPton

* some dummy functions and change some functions to debug level

* clang format fix

* fix for sceNetInetPton

* posix OS fix?

* linux + macOS fixes?

* fix?

* sceSharePlayGetCurrentConnectionInfo
2024-10-11 10:37:36 +03:00
Lander Gallastegi 468f57f823 ime_dialog: Initial implementation (#1267)
* Add C string types

* Prepare existing enums

* Added missing enums

* Types update

* State base

* Compile Ime Dialog UI

* UI implementation

* Scoped lock

* Functional implementation

* Link against iconv on macOS

* Fix building on windows

* Better UI

* clang-format

* Some fixes and cleanup

* Enable reserved checks

* clang-format

* Fix default text encoding max size

* clang-format (again)

* Some review changes

* Use std::vector for dynamic strings

* Use CString

* Accept dialog on enter press

* clang-format

* Use ImGUI for encoding/decoding
2024-10-11 04:53:32 +03:00
TheTurtle 2ce6ec1fdc hotfix: Don't unconditionally register fiber lib 2024-10-10 19:26:56 +03:00
korenkonder 6ee2183cec video_core: Implement sceGnmInsertPushColorMarker (#989) 2024-10-10 18:03:12 +03:00
Marcin Mikołajczyk de09546d01 Stub return value of sceNpCreateRequest (#1209) 2024-10-10 17:54:07 +03:00
Daniel R. 49d3f6feca core/libraries: Initial fiber implementation (#1255) 2024-10-10 17:51:23 +03:00
squidbus ded45efaa7 core: Add support for Neo mode memory size. (#1196) 2024-10-08 10:29:05 +03:00
Vinicius Rangel 2a9cfadeb8 SaveDataLib: use param.sfo to store max_blocks instead of txt (#1287) 2024-10-08 09:16:06 +03:00
Dzmitry Dubrova 174f547fe0 net: Stub sceNetErrnoLoc (#1271) 2024-10-06 22:34:55 +03:00
fireph e7832e7e4a Working touchpad support (#1257)
* Working touchpad support

Tested on PS5 controller plugged in via USB.

* fix lint
2024-10-06 13:00:35 +03:00
Vinicius Rangel 134fcd69f5 Devtools fixes1 (#1228)
* imgui: fix nav with dock & fps display disabled by default

* devtools: change basic fps scale

* imgui: scale font with display dpi
2024-10-04 06:44:36 +03:00
Vinicius Rangel e02dc830df Devtools: PM4 Explorer (#1094)
* Devtools: Pause system

* Devtools: pm4 viewer

- new menu bar
- refactored video_info layer
- dump & inspect pm4 packets
- removed dumpPM4 config
- renamed System to DebugState
- add docking space
- simple video info constrained to window size

* Devtools: pm4 viewer - add combo to select the queue

* Devtools: pm4 viewer - add hex editor

* Devtools: pm4 viewer - dump current cmd

* add monospaced font to devtools

* Devtools: pm4 viewer - use spec op name

avoid some allocations
2024-10-03 22:43:23 +02:00
georgemoralis 4015c9eacd Fix some network,npmanager issues (#1215)
* improved np toolkit callbacks

* added ExecuteGuest in callback

* clang format
2024-10-03 14:03:26 +03:00
squidbus 075f043392 core: Fix some missing uses of ExecuteGuest. (#1214) 2024-10-03 08:38:24 +03:00
squidbus 091b1dd0ee audio_core: Fix return value types and shift some error handling to library. (#1212) 2024-10-03 07:01:39 +03:00
CrazyBloo 21ecb03e5a replace trophy xml error with assert (#1197) 2024-10-02 12:31:55 +03:00
Paris Oplopoios f5a7e28249 Some nits and fixes on paths (#1190)
* Some nits and fixes

* More path conversions

* Add some more logging

* Log the path too
2024-10-02 07:18:00 +03:00
Vinicius Rangel 2934f6c4b2 SaveData: implement sceSaveDataTransferringMount (#1191)
* SaveData: fix icon overriding

* SaveData: implement sceSaveDataTransferringMount
2024-10-02 06:38:18 +03:00
CrazyBloo 9d5682fe63 trp data extracts to game_data/serial instead of folder name (#1194)
* trp data extracts to game_data/serial instead of folder name

* format
2024-10-02 06:37:43 +03:00
CrazyBloo 69774b82bc trophy icon + platinum fixes (#1093)
* trophy icon + platinum fixes

cleaned up some parts too

* format

* implement turtles review

* use fs native where possible, clang format

* implement vinicius suggestions

* format

* final reviews

* mutex for trophy queue, remove unneeded field

* format
2024-10-01 23:39:43 +03:00
ElBread3 e2c02763de add mappings for kernel versions (#1171) 2024-10-01 09:16:15 +03:00
squidbus c6cb117e4e config: Add option to change DLC install path. (#1176) 2024-10-01 07:54:15 +03:00
Paris Oplopoios 130f3efbd8 Fix loading (#1169) 2024-09-30 19:05:55 +03:00
ElBread3 87a25d5b94 Added sceKernelRmdir (#1137)
* add sceKernelRmdir

* since result is remove count, probably don't use that

* fixes + posix_rmdir

* fix return value problem
2024-09-30 14:25:25 +03:00
Paris Oplopoios 7dbd1597e9 Fix path bugs & wrap seeks in an if (#1154)
* Fix path bugs

* Wrap most seeks in an if
2024-09-30 12:42:59 +03:00
Paris Oplopoios ccc137aba4 Fix fmt error (#1150) 2024-09-29 14:02:46 +02:00
Daniel R. 8e6ce69b55 core/memory: Pooled memory implementation (#1085) 2024-09-29 10:28:41 +03:00
Paris Oplopoios 31b4bd8509 Reduce assert to a warning (#1115) 2024-09-28 15:44:07 +03:00
squidbus a02d0de503 kernel: Quiet sceKernelWaitEventFlag error log on timeout. (#1120) 2024-09-28 09:38:42 +02:00
Paris Oplopoios 24598c242a Error reporting on failed memory allocation (#1091)
* Error reporting on failed memory allocation

* Formatting
2024-09-27 01:56:59 +03:00
Paris Oplopoios 428af9223e Use fs::path::native whenever possible, avoid unnecessary fs->string conversions in GUI code (#1064)
* Use filesystem::path whenever possible, remove fs::path::string

* My hatred for Windows grows with every passing day

* More Qt stuff

* custom u8string formatter for fmt library

* Use u8string for imgui

* Fix toml errors hopefully

* Fix not printing issue

* Oh and on SDL

* I hate Windows even more today

* fix toml reading utf-8 paths

also small fix for fmt::UTF

* Formatting

* Fix QT path to run games

* Fix path logging in save data

* Fix trophy path handling

* Update game_list_frame.cpp

fixed snd0path

* Update main_window.cpp

fix snd0path

* Update main_window.cpp

* paths finally fixed

* git info in WIP versions title

---------

Co-authored-by: Vinicius Rangel <me@viniciusrangel.dev>
Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
2024-09-26 11:41:59 +03:00
Vinicius Rangel 396007bba3 Save lib fixes III (#1069)
* SaveDataMemory: increase memory if needed

* SaveDataDialog: fix intention to hide save details
2024-09-26 07:56:38 +03:00
oltolm 581ba00746 use ComPtr in gui_context_menus.h (#719)
* use ComPtr in gui_context_menus.h

* fix pragma diagnostic

* fix compiler warnings
2024-09-25 18:39:04 +03:00
tGecko 704dd0617f Add nullptr check in scePthreadSetprio function (#1028) 2024-09-25 12:20:03 +03:00
Vinicius Rangel 7829edfc9d Error dialog implementation (#1062) 2024-09-25 06:48:27 +03:00
Daniel R. c498f92a6e clang-format 2024-09-24 21:27:29 +02:00
Daniel R. 4a958af04b core/libraries: implement configurable username 2024-09-24 21:23:18 +02:00
Paris Oplopoios 90c04d8447 Patch insertq (#635)
* Patch `insertq`

* Don't clobber flags, fix asserts a bit

* Format code

* Fixup some edge cases

* A couple nits

* Remove extraneous space
2024-09-24 17:03:32 +03:00
Vinicius Rangel 840915b1be Save data: fix nullptr & concurrent file write (#1049)
* Save data: fix nullptr & concurrency file write

* Save data memory: fix overriding icon
2024-09-24 06:50:18 +03:00