Commit graph

1696 commits

Author SHA1 Message Date
Florian Piesche a64856ea70 Add scalable vector redraw of shadps4 icon (#1501)
* Add scalable vector redraw of shadps4 icon

* Update icon name in desktop file

* Fix svg
2024-11-12 09:32:56 +02:00
kalaposfos13 366daf2b06 Update Hungarian translation (#1518) 2024-11-12 09:31:56 +02:00
squidbus 64794155be imgui: Dispatch SDL text input requests to main thread on macOS. (#1519) 2024-11-12 09:27:30 +02:00
Lander Gallastegi 58e10f7537 Assert fix (#1521) 2024-11-12 09:26:48 +02:00
georgemoralis b3891c0332 Videocodec implementation (#1484)
* dummy videocodec

* filled videodec parameters

* vdec1 implementation

* clang format fix

* fixed codecType

* added crop offset info

* align output

* align all h/w

* some touchups

* small touch (last one)
2024-11-10 11:33:08 +02:00
DanielSvoboda c522045b9e Open Folder - improvement (Save/Log) (#1513)
* Open Folder - improvement

* TR
2024-11-10 10:14:48 +02:00
Vladislav Mikhalin 2de81faed4 ajm mp3: fix resampling (#1500) 2024-11-08 07:45:03 +02:00
squidbus 97d8c8a620 vk_pipeline_cache: Skip pipelines with geometry shaders when unsupported. (#1486) 2024-11-07 14:57:31 +02:00
Quang Ngô fa1d736406 Allow disable the auto updater (#1490) 2024-11-07 14:56:02 +02:00
Quang Ngô 585c8a7943 Fix patches not save changes properly (#1493)
Don't use ```QCheckBox::text()``` because it may return strings that contain "&" cause patch name comparison to fail.
2024-11-06 22:44:22 +02:00
Vladislav Mikhalin 382ff5d449 AJM: Added some missing features (#1489)
* AJM: Added support for different PCM formats

* updated libatrac9 ref

* remove log

* Add support for non-interleaved flag

* Added support for output sideband format query
2024-11-06 22:39:43 +02:00
georgemoralis f964b976de hot-fix : removed libSceRudp.srpx from lle modules since it appears it create more issues than solves 2024-11-06 07:20:58 +02:00
psucien 2962456e81 hot-fix: pr merge conflict resolved 2024-11-05 22:59:45 +01:00
Lander Gallastegi 69aee2d496 shader_recompiler: patch fmask access instructions (#1439)
* Fix multisample texture fetch

* Patch some fmask reads

* clang-format

* Assert insteed of ignore, coordinate fixes

* Patch ImageQueryDimensions
2024-11-05 22:39:57 +01:00
SAN4EZDREAMS 4c650bb9c2 Added uk_UA language support (#1483)
* Add Ukrainian localization

* Fixed langIndexes

* Fixed langIndexes_2

* Added uk_UA language support

* Added uk_UA language support
2024-11-05 10:46:12 +02:00
georgemoralis b322a308a6 Ajm (#1456)
* ajm: Initial ajm implementation

* AJM code improvements (#1453)

* Fix sideband buffer order (#1454)

* ajm: Attempt to add gapless support

* ajm_at9: Return superframes decoded in a single job

* WIP (#1460)

* Fix gapless decode and combine split buffers

* Fixed linux build

* fix number of samples reported with gapless decoding

* fixed number of remaining samples calculation

should fix the small crackling sounds that play every now and again

* refactor half ajm

* refactored most of ajm

* refactored ajm

* clang-format, in-repo libatrac9, removed debug stuff

---------

Co-authored-by: auser1337 <aaravsandhu10@outlook.com>
Co-authored-by: Vladislav Mikhalin <mikhalinvlad@gmail.com>
Co-authored-by: IndecisiveTurtle <geoster3d@gmail.com>
2024-11-05 09:16:57 +02:00
squidbus 6251f78232 qt: Error if installing DLC without game. (#1476) 2024-11-03 01:06:55 +02:00
Daniel R. 0135f4de33 libraries/videodec: Fix build errors with av_err2str 2024-11-02 19:11:57 +01:00
squidbus 9d6c6fcc4f netctl: Add null check for gethostbyname output. (#1468) 2024-11-01 14:29:24 +02:00
baggins183 5b59b61c74 Implement shader resource tables (#1165)
* Implement shader resource tables

* fix after rebase + squash

* address some review comments

* fix pipeline_common

* cleanup debug stuff

* switch to using single codegenerator
2024-11-01 08:55:53 +02:00
DanielSvoboda 496079b620 Fix update loop between release (#1465) 2024-10-31 20:59:14 +02:00
Daniel R. cfa242ef5d core/gnmdriver: Proper interrupt registering (#1218) 2024-10-31 17:53:03 +02:00
georgemoralis ddfbd9dbc1 starting 0.4.1 2024-10-31 17:35:39 +02:00
georgemoralis e527ac8a73 hotfix : check if dir exists 2024-10-31 17:05:44 +02:00
georgemoralis 85e6e98ead marked 0.4.0 release 2024-10-31 16:58:57 +02:00
georgemoralis 06687525ca Loading font libs from title id folder (#1448) 2024-10-31 16:08:34 +02:00
squidbus e600e35122 path_util: Make sure macOS has current directory set and clean up path code. (#1463) 2024-10-31 12:36:51 +02:00
Daniel R. e751229e9f clang-format 2024-10-30 14:46:22 +01:00
Daniel R. e731b444f5 vk_compute_pipeline: Add missing meta check 2024-10-30 14:03:53 +01:00
voltamass f3a90e1b1a Italian localization updated (#1449)
* Update it.ts

Translated some of the missing sentences

* Update it.ts
2024-10-27 22:31:33 +02:00
psucien 4868f42253 hot-fix: reduced log spam from get sdk version 2024-10-27 00:33:44 +02:00
Roll8ack f09b926cea Update zh_CN.ts (#1445)
update zh_CN translation  and fixed some translation mistake.
2024-10-25 09:20:53 +03:00
Daniel R. 6d555aaef8 core/libraries: Videodec2 implementation (#1241) 2024-10-24 18:39:31 +02:00
psucien fc858e19d4 hot-fix: proper calculation of image samples num 2024-10-23 23:11:01 +02:00
Daniel R. 5c76cf564e core/libraries: IME implementation (#1436)
* core/libraries: IME implementation

* Update ime_common.h

---------

Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
2024-10-23 20:05:46 +03:00
kalaposfos13 0971660b72 FPS counter now appears at the top left corner every time (#1426) 2024-10-21 18:26:32 +03:00
RDN000 b40e445fa4 Update sq translation (#1424) 2024-10-21 13:17:53 +03:00
squidbus 9842bff369 vulkan: Report only missing format feature flags. (#1420) 2024-10-21 13:17:39 +03:00
Lander Gallastegi 3519228965 Handle color control mode resolve (#1413) 2024-10-20 13:14:01 +03:00
squidbus d2ad5c8b3b liverpool_to_vk: Add more surface format mappings. (#1418) 2024-10-20 13:05:54 +03:00
TheTurtle ef4150d72e cmake: Allow disabling discord rpc (#1416) 2024-10-19 16:09:36 +03:00
Vladislav Mikhalin dc661bb7df Add poll interval to libScePad (#1415) 2024-10-19 15:57:01 +03:00
TheTurtle 01bfb3681f renderer_vulkan: Commize and adjust buffer bindings (#1412)
* shader_recompiler: Implement finite cmp class

* shader_recompiler: Implement more opcodes

* renderer_vulkan: Commonize buffer binding

* liverpool: More dma data impl

* fix

* copy_shader: Handle additional instructions from Knack

* translator: Add V_CMPX_GE_I32
2024-10-19 15:30:58 +03:00
DanielSvoboda 3391484f46 Patch compatible version notice (#1407)
* Patch compatible version notice

* +
2024-10-18 18:56:31 +03:00
Quang Ngô c15053d26b core/fs: fix file path (again) (#1408)
Third time's the charm.
2024-10-18 18:56:15 +03:00
Quang Ngô 43b7bc24b5 core/fs: fix file path on Windows (#1404)
Revert part of commit ddc35639a8.
2024-10-18 11:40:27 +03:00
Herman Semenoff 6f521e2ff9 Fixed return strict const iterator, replace to range-based loop C++17 and code refactor (#548)
Signed-off-by: Herman Semenov <GermanAizek@yandex.ru>
Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
2024-10-18 11:06:11 +03:00
Quang Ngô 0d877f4adc core/fs: fix file path when using separated update folder for *nix (#1403) 2024-10-18 07:51:51 +03:00
Yury 468f3f28b7 New translations and fixes for ru_RU (#1402) 2024-10-18 07:51:22 +03:00
psucien 883c2ecdec hot-fix: address check in mips overlap heuristic 2024-10-17 23:06:58 +02:00
ElBread3 7bf5324cea Load Eboot/Modules from Separate Update Folder (#1397)
* load eboot from separate update folder

* clarify

---------

Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
2024-10-17 11:49:29 +03:00
psucien f6da349414 hot-fix: a fallback when overlap resolve fails 2024-10-16 23:46:20 +02:00
georgemoralis 175c242aa2 hot fix: fixed sceNpGetOnlineId function 2024-10-16 19:19:10 +03:00
DanielSvoboda e36a990e53 missing translations (#1395)
* missing translations

* clang
2024-10-16 19:05:35 +03:00
Vinicius Rangel 81f45c53c9 Devtools improvements I (#1392)
* devtools: fix showing entire depth instead of bits

* devtools: show button for stage instead of menu bar

- fix batch view dockspace not rendering when window collapsed

* devtools: removed useless "Batch" collapse & don't collapse last batch

* devtools: refactor DrawRow to templating

* devtools: reg popup size adjusted to the content

* devtools: better window names

* devtools: regview layout compacted

* devtools: option to show collapsed frame dump

keep most popups open when selection changes
best popup windows positioning

* devtools: show compute shader regs

* devtools: tips popup
2024-10-16 13:12:46 +03:00
Lander Gallastegi 969b7505ac video_core: Rework clear values (#1381)
* Clear color convertion

* Add missing formats

* Add swap handling

* Format bits and offsets

* clang-format

* Make num_components const

* Initialize alpha to 1

* Handle SnormNz as Snorm

* Don0t leave accidental nonzero values

* parallel3 for linux-qt

* Move number_utils to common
2024-10-16 12:55:45 +03:00
Stephen Miller 56edad8b6d Improve sceSystemServiceReceiveEvent stub (#992) 2024-10-15 21:55:03 +02:00
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
DanielSvoboda 4215058b02 Fix translation InstallDirSelect (#1386) 2024-10-15 17:40:37 +03:00
RDN000 346573b19a Fix sq.ts (#1383) 2024-10-15 14:35:19 +03:00
DanielSvoboda 0c8d77b96e fix tr sq.ts (#1380)
* Update sq.ts

* InstallDirSelect
2024-10-15 09:30:10 +03:00
psucien ca9c7c0176 hot-fix: unexpected pass break on indirect args buffer obtaining 2024-10-14 22:33:06 +02: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
DanielSvoboda 69ea63f428 fix descriptionText size | missing translations (#1319)
* fix descriptionText size

* +

avoid 'blinking'

* Update ru_RU.ts

* TR

* Update pt_BR.ts

* emulatorLanguage alphabetical order

---------

Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
2024-10-13 15:49:39 +03:00
¥IGA feb418f34a improved documentation + better toolbar icons (#1364) 2024-10-13 15:03:19 +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
RDN000 4ef7febb27 Update sq translation (#1351)
* Update sq translation

* Update sq translation
2024-10-13 11:36:52 +03:00
Lander Gallastegi 31bb161b80 hotfix: correctly check for valid priority (#1359) 2024-10-13 11:35:05 +03:00
ElBread3 f7bf8e53e3 use addGameInstallDir here (#1354) 2024-10-12 17:53:47 +03:00
Daniel R. d876d676cf core: Fix mmap being unable to map GPU memory 2024-10-12 16:35:12 +02:00
Lander Gallastegi 1260bd5730 Linux unlink implementation (#1347) 2024-10-11 21:45:26 +03: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
KrisCris 68237b262a Slightly refactor the game install dirs code (#1329)
* fix: game dir dupes on each launch

* fix copy around settings_addon_install_dir vector

* do not show the path if it is not added

* remove installDir from config file

* format

* moved migration code to save, and added notice

* move ui->removeFolderButton->setEnabled to LoadValuesFromConfig

* avoid checking duplicates for gameDirs loaded from config

* use else condition to switch to the installDirs
2024-10-11 09:27:28 +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
squidbus 5bceef5772 resource_tracking_pass: Make sure immediate offset is accessed as correct type. (#1339) 2024-10-10 23:58:01 +03:00
squidbus 129140c877 resource_tracking_pass: Fix type handling of sample offsets. (#1337) 2024-10-10 23:30:09 +03:00
squidbus 211b2b41c7 shader_recompiler: Add asserts for get/set register bounds. (#1336) 2024-10-10 23:14:50 +03:00
squidbus adab68647d shader_recompiler: Set correct operand field for VOP3b sdst. (#1335) 2024-10-10 23:04:51 +03:00
squidbus f005a95a40 shader_recompiler: Fix last image sample address parameter. (#1334) 2024-10-10 22:51:11 +03:00
squidbus 1ed81d61a1 shader_recompiler: Make sure RuntimeInfo is zero initialized. (#1332) 2024-10-10 20:32:13 +03:00
squidbus 176e9db397 shader_recompiler: Implement V_SUBB_U32 and V_SUBBREV_U32. (#1331) 2024-10-10 19:40:19 +03:00
squidbus b7a1986827 shader_recompiler: Move sampling parameter resolution to tracking pass and support more derivative types. (#1290)
* shader_recompiler: Move sampling parameter resolution to tracking pass and support more derivative types.

* shader_recompiler: Only track sampler sharp on sample instructions.

* shader_recompiler: Fix Inst args size.
2024-10-10 19:27:34 +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
robyn-dressler dc5f620f1c Using a more standard data directory for linux (#1227)
* Using a more standard data directory for linux

* Fixing format

* Using XDG_DATA_HOME by default
2024-10-10 17:53:18 +03:00
Exhigh 3e58bb52e3 qt_gui: Organize settings page (#1316)
* Wire up translations and descriptions for the cursor settings.
* Move controller settings to input tab and rename it to controller (to inline it with how other settings are shown).
* Fixed unnecessary double initialization of the back button setting.
* Organize statements and functions w/ respect to their tabs and some minor QOL changes for the settings UI in general.
2024-10-10 17:52:39 +03:00
ElBread3 8376c14ca5 Fix Multiple Install Folders (#1328)
* attempt to fix pr

* clang format
2024-10-10 17:52:20 +03:00
Daniel R. 49d3f6feca core/libraries: Initial fiber implementation (#1255) 2024-10-10 17:51:23 +03:00
TheTurtle 114e419381 spirv: Flush denormals if possible (#1302) 2024-10-10 17:47:39 +03:00
ElBread3 ede655875d Multiple Install Folders (#1308)
* multiple install folders implimentation

* clang format

* paths setting tab

* clang format
2024-10-10 10:28:59 +03:00
psucien f834def7ef hot-fix: catch device loss on presentation (prevents deadlock in waiting) 2024-10-09 20:44:38 +02:00
Daniel R. 197cac07b2 Fix spacing 2024-10-09 16:52:56 +02:00
DanielSvoboda 073e160702 Play Time (#1305)
* Play Time

* SDL

* QT

* Sort / Formatting

* Timer 1 minute

* remove the seconds

removes the seconds from the screen, but in the play_time.txt file it continues to record the seconds for better accuracy, and the screen is cleaner

* fixes the invisible 0

* SDL . . .

* Fix Timer
2024-10-09 13:30:51 +03:00
voguelike 59dca43add sophisticated fix for amd gpu + reshade instead of workaround (#1282) 2024-10-09 09:28:25 +03:00
Alexandre Bouvier f93a132755 fix some warnings (#1306) 2024-10-09 09:28:09 +03:00
georgemoralis c893bef897 Update discord_rpc_handler.cpp
Add new app ID
2024-10-08 19:03:37 +03:00
RDN000 c6c7d96695 Update sq translation (#1276) 2024-10-08 18:58:57 +03:00
delledev bd71a620d4 added discord rpc (#1178)
* added discord rpc

* linting issues

* Revert "linting issues"

This reverts commit 55f4e39506.

* fix clang-format issues

* removed wrong rpc submodule

* added correct rpc submodule

* Moved cmake instructions to correct files.

* added minor suggestions from pr

* Added an option to enable/disable RPC, added rpc to emulator.cpp making it work on nonqt builds

* typo & minor stuff

* Changed getInstance implementation with Singleton class.

* Update discord_rpc_handler.cpp

discord id

* fixed ci clangformat errors

---------

Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
2024-10-08 18:14:37 +03:00
Stephen Miller a20ce0a6c5 IMAGE_GATHER4_C_LZ_O (#1274)
Used by Crash Team Racing Nitro Fueled.
2024-10-08 10:35:07 +03:00
squidbus ded45efaa7 core: Add support for Neo mode memory size. (#1196) 2024-10-08 10:29:05 +03:00
Exhigh b87232c2df imgui/renderer: Hide Cursor on Idle Implementation (#1266)
Implement hide cursor on idle w/ idle timeout duration (configurable via GUI). While at it add always and never to hide the cursor options as well.

* Revert commit #1211 as to not interfere with the cursor states.
* Make hide cursor on idle as the default setting w/ timeout duration of 5 seconds to hide.
* Add an input tab in the settings page to add the hide cursor setting, with hiding the idle timeout box with respect to the cursor hide option.

Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
2024-10-08 09:47:42 +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
DanielSvoboda 622750fe1c Fixes encoding in update text (#1283)
* Fixes encoding in update text

* +
2024-10-08 09:15:50 +03:00
fireph f64d3cea56 Add support to click touchpad using back button on non PS4/5 controllers (#1258)
* Working touchpad support

Tested on PS5 controller plugged in via USB.

* fix lint

* Add support to click touchpad using back button on other controllers

Takes the back button and allows the user to change the behavior of how it clicks the touchpad. The current options are left, right, center, and none.

* add description text

* make more generic so translations can be supported in combobox

* fix lint

* linter again

* support back button to touchpad for spacebar as well

* linter at it again
2024-10-08 09:15:30 +03:00
¥IGA d5a9e05537 PM4 old removed + fixes (#1259) 2024-10-07 15:29:07 +02:00
DanielSvoboda 9eca24c2e3 fix update linux console (#1238) 2024-10-07 14:52:38 +03:00
georgemoralis 136432b909 updated sdl to fix touchpad issue (#1275) 2024-10-07 13:04:09 +03:00
Dzmitry Dubrova 174f547fe0 net: Stub sceNetErrnoLoc (#1271) 2024-10-06 22:34:55 +03:00
baggins183 9ae56be422 DebugPrintf in shaders (#1252)
* Add shader debug print opcode that uses NonSemantic DebugPrintf extension

* small correction for flags in Inst

* Fix IR Debug Print. Add StringLiteral op

* add missing microinstruction changes for debugprint

* cleanup. delete vaarg stuff. Smuggle format string in Info and flags

* more cleanup

* more

* (dont merge??) update sirit submodule

* fix num args 4 -> 5

* add notes about DebugPrint IR op

* use NumArgsOf again

* copyright

* update sirit submodule

* fix clangformat

* add new Value variant for string literal. Use arg0 for fmt string

* remove string pool changes

* Update src/shader_recompiler/ir/value.cpp

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

---------

Co-authored-by: TheTurtle <47210458+raphaelthegreat@users.noreply.github.com>
2024-10-06 22:34:40 +03:00
TheTurtle 2534eda184 shader_recompiler: Support for more offset layouts (#1270) 2024-10-06 18:43:59 +02:00
tGecko fe92035721 add log type to log file (#1260) 2024-10-06 14:53:53 +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
nishinji a2bd23f915 CI: Build outside the main branch (#1239) 2024-10-06 02:26:19 +03:00
squidbus 802a0f9aa9 vulkan: Use view of null buffer for texel buffers if nullDescriptor not supported. (#1231) 2024-10-06 02:25:12 +03:00
squidbus 42c7c89522 shader_recompiler: Remove outdated image array warning. (#1256) 2024-10-06 01:42:58 +03:00
psucien fbc52610ba Initial support of Geometry shaders (#1244)
* video_core: initial GS support

* fix for components mapping; missing prim type
2024-10-06 01:26:50 +03:00
squidbus 04b0dc9a23 vulkan: Respect maximum sampler LOD bias. (#1254) 2024-10-06 01:05:24 +03:00
squidbus 9169bb4393 shader_recompiler: Set array size to max UBO size when 0. (#1251)
* shader_recompiler: Set array size to max UBO size when 0.

* vulkan: Account for fallbacks when setting depth attachment format.
2024-10-05 22:31:52 +03:00
squidbus d29caedf58 vulkan: Fix two more validation errors. (#1250) 2024-10-05 21:35:02 +03:00
¥IGA 958cdfc1f1 Fix a Qt warning (#1249) 2024-10-05 21:34:53 +03:00
ElBread3 866f23bc1a Fix list sorting for some categories (#1242)
* fix list sorting for serial, firmware version, and game size

* bad apple!!

* qol
2024-10-05 21:34:38 +03:00
Vinicius Rangel 54be6c5ca4 imgui: fix blocking keyboard at startup (#1237)
* imgui: dont capture any input without an active nav window

fix keyboard not being available as soon as the emulator opens

* imgui: cleanup renderer assigning unnecessary sType to vulkan structures
2024-10-04 19:06:08 +03:00
Mahmoud Adel e38b2566e6 add Opcodes to switch case (#1233)
* add Opcodes to switch case

Added Opcodes to switch case, they were done here but weren't added to switch 9f79764b01 (diff-9a6c2e2027c03231e88aaaab30908baecae202661839f35c31a777fec2500c7aR659)

* clang
2024-10-04 11:24:45 +03:00
tGecko db788d57ec Hide cursor on key/button press (#1211) 2024-10-04 08:49:18 +02:00
korenkonder 3a91ef7f01 Add various V_CVT opcodes (#1223) 2024-10-04 08:48:05 +02:00
squidbus d0fea1a559 vulkan: Fix dynamic vertex binding stride validation errors. (#1229) 2024-10-04 07:51:08 +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
korenkonder 97a98e8201 Moved opcode to it's proper location (#1221) 2024-10-03 22:47:26 +02: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
¥IGA acba36de03 imgui: Makes the window edges rounded (#1143) 2024-10-03 19:28:41 +02:00
ElBread3 ba03edf01c video_core: IMAGEGATHER4_C_O (#1210) 2024-10-03 18:48:54 +02:00
dbz400 c4cd47ee37 Add V_CVT_F64_I32 (#1219) 2024-10-03 18:48:28 +02:00
Daniel R. 2a56083f0f video_core: disable warnings on vulkan 2024-10-03 16:57:33 +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 047736c178 shader_recompiler: Shader param fixups (#1199) 2024-10-03 10:50:51 +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
Mikasa-san efd36834b3 Refactor audio handling with range checks, buffer threshold, and lock… (#1200)
* Refactor audio handling with range checks, buffer threshold, and lock fixes

- Added range checks for handle to avoid invalid index access in AudioOutOutput, AudioOutSetVolume, and AudioOutGetStatus.
- Added a constant AUDIO_STREAM_BUFFER_THRESHOLD for the buffer threshold (was previously a magic number).
- Set the freq parameter correctly in the SDL_AudioSpec structure in AudioOutOpen.
- Fixed locking issues in AudioOutOutput to avoid unlocking before it's locked.

* Refactor audio handling with range checks, buffer threshold, and lock fixes

- Added range checks for handle to avoid invalid index access in AudioOutOutput, AudioOutSetVolume, and AudioOutGetStatus.

- Added a constant AUDIO_STREAM_BUFFER_THRESHOLD for the buffer threshold (was previously a magic number).

- Set the freq parameter correctly in the SDL_AudioSpec structure in AudioOutOpen.

- Fixed locking issues in AudioOutOutput to avoid unlocking before it's locked.

- Removed tab spaces to fix format clang error
2024-10-02 18:34:16 +03:00
tGecko 7da3aec15d fix music playing when it shouldn't (#1203) 2024-10-02 18:33:36 +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
squidbus 789d78c3e4 shader_recompiler: Define fragment output type based on number format. (#1097)
* shader_recompiler: Define fragment output type based on number format.

* shader_recompiler: Fix GetAttribute SPIR-V output type.

* shader_recompiler: Don't bitcast on SetAttribute unless integer target.
2024-10-01 23:42:37 +03:00
squidbus 9fde313a77 vulkan: Fix some common validation errors. (#1101)
* vulkan: Fix some extension support related validation errors.

* vulkan: Fix validation error on zero-size buffer.

* vulkan: Fix primitive list restart validation error.
2024-10-01 23:42:20 +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
Vladislav Mikhalin b6b51b8497 Use correct scissor rects (#1146)
* WIP

* Proper combination of scissors

* convert static functions to lambdas
2024-10-01 21:42:01 +03:00
squidbus c0e25fd0b0 qt: Create addons directory if it does not exist. (#1186) 2024-10-01 20:11:41 +03:00
DanielSvoboda f495425441 sort menu (#1183) 2024-10-01 18:02:47 +03:00
squidbus 6d055b95a2 qt: Fix message box for game overwrite. (#1181) 2024-10-01 15:49:30 +03:00
squidbus 106c3ea619 vulkan: Use dynamic vertex buffer strides when dynamic bindings unavailable. (#1164) 2024-10-01 09:54:06 +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
DanielSvoboda 1889563783 fix wolf2022 cheats download (#1173) 2024-10-01 07:53:20 +03:00
bigol83 40fa9576e0 Fix BB random fmv hang (#1170) 2024-09-30 19:20:57 +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
hspir404 0c5f0aa7a0 Fix some typos (#1161) 2024-09-30 14:24:28 +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
dbz400 98ff32d0b8 Fix V_CMP_CLASS_F32 (#1153) 2024-09-30 11:36:26 +03:00
squidbus 289d692b98 sdl: Fix use of functions that now return SDL_bool (#1160) 2024-09-30 06:47:55 +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
squidbus bfeed1f7c6 vulkan: Fix crash when resizing window. (#1142) 2024-09-29 08:25:44 +03:00
DanielSvoboda b13381bacd progressBar DownloadUpdate (#1141) 2024-09-29 08:24:21 +03:00
DanielSvoboda 9dc2830870 + tr (#1136) 2024-09-29 00:01:35 +03:00
¥IGA 5988e70353 Best icons for flags (#1133) 2024-09-28 21:49:48 +03:00
tGecko 83d1fe1c4a Improve keyboard navigation in game list (#1132)
* Improve keyboard navigation

* don't start game in elf viewer mode or gridview mode with empty item selected

* fix eventFilter return
2024-09-28 21:04:47 +03:00
tGecko 242e4a0117 Add volume slider for title/background music (#1130)
* add volume slider

* add translations

* stop music when checkbox unchecked

* remove GUI build command args

* combine functions

* add accidentaly removed copyright and licencing information
(thanks QT Designer)
2024-09-28 19:54:28 +03:00
Yury 9be3355d11 ru_RU translation fixes (#1118) 2024-09-28 19:53:42 +03:00
DanielSvoboda 50708431d6 menu description | rename: Release/Nightly (#1116)
* menu description

* improve texts

* TR

* Release_Nightly
2024-09-28 16:01:27 +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
DanielSvoboda d00754e7cd add translation options music (#1111)
* add translation options music

* +
2024-09-27 18:15:56 +03:00
IndecisiveTurtle f8854d276b hotfix2: Actually fix errors
Ahhhh
2024-09-27 03:21:08 +03:00
IndecisiveTurtle 2baa41d16b hotfix: descriptor set lifetime fix 2024-09-27 02:56:50 +03:00
squidbus 5a4c69d044 liverpool_to_vk: Add MRT feature flags to supported number formats. (#1087) 2024-09-27 01:57:22 +03: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 df425c4549 Fix build on GCC (#1080)
* Fix build on GCC

* Yes thank you clang-format

* Just remove static
2024-09-26 20:39:55 +03:00
georgemoralis 192476b421 hot fix of the hot fix (again) 2024-09-26 18:24:05 +03:00
georgemoralis 3b6a20b2d4 hot-fix: check if path is empty 2024-09-26 18:14:25 +03:00
DanielSvoboda 2e081a04da fix translation (#1083)
Changed from checkUpdate.cpp to check_update.cpp

Removed this part, as the function that used it no longer exists:

<details>
<summary><strong>See removed text</strong></summary>

```ts
		<message>
			<location filename="../checkUpdate.cpp" line="352"/>
			<source>Failed to open the ZIP file</source>
			<translation>Failed to open the ZIP file</translation>
		</message>

			<location filename="../checkUpdate.cpp" line="420"/>
			<source>File name is empty. Possibly corrupted ZIP.</source>
			<translation>File name is empty. Possibly corrupted ZIP.</translation>
		</message>
		<message>
			<location filename="../checkUpdate.cpp" line="445"/>
			<source>Failed to create directory</source>
			<translation>Failed to create directory</translation>
		</message>
		<message>
			<location filename="../checkUpdate.cpp" line="464"/>
			<source>Error decompressing file</source>
			<translation>Error decompressing file</translation>
		</message>
		<message>
			<location filename="../checkUpdate.cpp" line="487"/>
			<source>Failed to open output file</source>
			<translation>Failed to open output file</translation>
		</message>
		<message>
			<location filename="../checkUpdate.cpp" line="497"/>
			<source>Unsupported compression method for file:</source>
			<translation>Unsupported compression method for file:</translation>
		</message>
		<message>
			<location filename="../checkUpdate.cpp" line="510"/>
			<source>Failed to create TAR extraction directory</source>
			<translation>Failed to create TAR extraction directory</translation>
		</message>
		<message>
			<location filename="../checkUpdate.cpp" line="525"/>
			<source>Failed to extract the TAR file</source>
			<translation>Failed to extract the TAR file</translation>
		</message>
```

</details>

And it was standardized, all files with the correct formatting.
2024-09-26 17:30:07 +03:00
Vinicius Rangel 04483f779d Fix fmt::UTF exception for empty strings (#1084) 2024-09-26 17:21:31 +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
tGecko cac244cc03 Add playback of background/title music in game list (#1033)
* add playback of background/title music

* clang_format

* add windows multimedia build instructions

* fix typo accidentally made to arm

* address comments

* loop music

* feedback

* fix CI

* add newline

* playBGM off by default

---------

Co-authored-by: Charles <charles@superfocus.ai>
2024-09-26 09:12:41 +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
RDN000 27f8f12985 Update sq translation (#1076) 2024-09-26 07:54:57 +03:00
psucien d76cb2126e hot-fix: missing clear-to-blit (WAW) image barrier 2024-09-25 23:07:38 +02: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
squidbus 78eecef86e shader_recompiler: Sample images using correct result type. (#1068) 2024-09-25 14:20:28 +03:00
squidbus 1141c94a7e amdgpu: Fix buffer comparison by naming padding fields for initialization. (#1050) 2024-09-25 14:08:10 +03:00
squidbus ec8c1058b1 vulkan: Only reduce viewport minDepth if using depth clip control. (#969) 2024-09-25 12:43:54 +03:00
Lander Gallastegi 0bca802cb8 Swapchain recreation and window resizing (#933)
* Always present acquired swapchain images

Always present acquired swapchain images in order to be able to acquire them again.

fix #865

* Recreate swapchain if window is resized

* Respect aspect ratio when blitting to frame

* Make SDL window resizable

* clang-format

* designator order (building with gcc)

Fix /shadPS4/src/video_core/renderer_vulkan/vk_instance.cpp:314:9: error: designator order for field ‘vk::PhysicalDeviceVulkan12Features::samplerMirrorClampToEdge’ does not match declaration order in ‘vk::PhysicalDeviceVulkan12Features’

* Clear frame before blitting

* clang-format

* Revert "designator order (building with gcc)"

There already is a PR opened for this.

This reverts commit 7f8ccf4b1e.
2024-09-25 12:43:08 +03:00