Commit graph

3598 commits

Author SHA1 Message Date
Pedro Montes Alcalde d4c0c499a4
mem/threads: Include some missing header files (#3291) 2024-05-13 17:02:42 -03:00
Pedro Montes Alcalde 052abe8e83
external: Update tracy to 0.10.0 (#3280) 2024-05-13 14:30:43 -03:00
Seungyun Lee 418f234394
ci: respond to github action's macOS runner change (#3282) 2024-04-26 23:31:14 +02:00
bookmist 47de017b71 kernel/load_self: fix memory leak 2024-04-25 02:04:59 +03:00
Macdu d49480f806
renderer/vulkan: Improve depth/stencil retrieval (#3262) 2024-04-06 19:03:09 +02:00
Zangetsu bdf383858c
readme, gui: Add new supporter. (#3265) 2024-03-31 14:25:37 +02:00
Croden1999 5bdb5ebbfa gui/settings dialog: Add ua (Ukraine language) user language.
translation by Valeriy-Lednikov.

Co-authored-by: Valeriy-Lednikov <Valeriy-Lednikov@users.noreply.github.com>
2024-03-30 22:32:19 +01:00
Croden1999 4785a89cbd gui, lang: Cleanup and improvements.
- gui/lang: Minor lang strings code cleanup.
- gui: Unified window interface.
- gui/user management: Fixed the Open User Folder menuitem.
- lang: Remove initial_setup in id/ms.xml.
2024-03-30 22:32:19 +01:00
Zangetsu 9811c742ef
compat: Fix issue count discrepancy after update. (#3263) 2024-03-30 21:17:22 +01:00
Macdu e671af683a
shader: Improve signed integer normalization (#3254) 2024-03-23 23:05:18 +01:00
Zangetsu 2424f92c2e
gui/settings dialog: Fix Surface Sync using OpenGL (#3255) 2024-03-23 10:02:32 +01:00
blackbird806 cb15157c13
shader: Replace std map by std array to store shader code in convert_gxp_usse_to_spirv (#3252) 2024-03-19 21:17:15 +01:00
bookmist d20d859ba6 renderer: add actual GPU name into github issue template
IDK why, but github clang-format go crazy on brackets around (version_raw)
2024-03-18 20:01:10 +03:00
bookmist 1fda880a94 vita3k: big code cleanup
Improvements
* lang: a bit more verbose error on wrong lang xml

Bugfixes
* kernel/sync_primitives: fix theoretically possible AV
* modules/SceAudio: a bit more correct sceAudioOutSetConfig
* fix wrong objects initialisation ({0} -> {})

Warning fixes
* clang warning: Macro argument should be enclosed in parentheses
[bugprone-macro-parentheses]
* modules: set unsigned type for Sce*ErrorCode enums
* clang warning: variable might be not be initialized
* clang warning: Function returns by const value. Consider returning by non-const value instead.
* clang warning: Prefer transparent functors [modernize-use-transparent-functors]

Refactoring
* io/device: move functions implementation from .h to .cpp file
* vita3k: fix fs::path usage
* clang warning: 'if' statement is unnecessary; deleting null pointer has no effect
* vita3k: use structured bindings and references in for-each-loops
* vita3k: simplify container operations, extract frequent operations to utility functions
* clang⚠️ 'contains' member function can be used
* kernel/sync_primitives: refactoring. drop unused parameter of handle_timeout
* vita3k: drop unused function parameters

* vita3k: fix typecasts
use static_cast instead of reinterpret casts if possible
use correct constants (1/1.0/1.0f)
correct variable types to minimise typecasts
use explicit typecasts (not everywhere)
replace c-style typecasts to c++ style typecasts (not everywhere)
* clang warning: remove redundant typecasts
* clang warning: Cast drops const qualifier

Optimisation
* vita3k: remove unused includes
* clang warning: Constness of returning variable prevents automatic move
[performance-no-automatic-move]
* clang warning: String concatenation results in allocation of unnecessary temporary strings
[performance-inefficient-string-concatenation]
* vita3k: use std::move
* vita3k: optimization. push_back -> emplace_back
* vita3k: fix datatypes to avoid unnesessary conversions
* clang warning: remove unneeded string->c_str->string conversion
* clang warning: The parameter is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param]
* clang warning: 'find' called with a string literal consisting of a single character
[performance-faster-string-find]
* clang warning: Result of a postfix operator is discarded, consider replacing it with a prefix operator
* clang warning: Pass value parameters by const reference

Code cleanup
* io/io: remove once used variables
* net/posixsocket: remove struct keyword
* vita3k: use raw string literals to avoid excessive escaping
* vita3k: refactoring. replace Ptr<> to pointer in Sce functions
* vita3k: drop unused variables and incorrect comments
* clang warning: readability-inconsistent-declaration-parameter-name
* clang warning: Extra ';' after member function definition
* clang warning: Possible misuse of comma operator (, is used instead of ;)
* clang warning: Algorithm accepting an iterator and a count can be used
* clang warning: Declaration and assignment can be joined
* clang warning: Type trait can be simplified using a template alias or a variable template

* vita3k: cleanup class methods
remove unimplemented (and obviously not used) methods
move deleted methods to public
change empty body to =default
remove auto constructors
set member default values
2024-03-18 15:44:56 +03:00
blackbird806 cf861a85a5
shader: Fix misuse of spv::Builder::createOp with spv::OpVectorShuffle (#3247)
* shader: fixed misuse of spv::Builder::createOp with spv::OpVectorShuffle

replaced c++ int literals ids by spirv builder makeIntConstant generated ids
this should fix the assert triggered by spv::Builder::createOp when sending 0 as Id

* shader: change calls to createOp with spv::OpVectorShuffle from std::vector<Id> to std::vector<IdImmediate> overload

* Fixed texture_query.prod_pos is from id to integer
2024-03-15 23:03:03 +01:00
Macdu e3a201d485
kernel: Add support for module unloading/reloading (#3246) 2024-03-15 10:07:25 +01:00
Zangetsu db7ccec540
gui/live area: Fix transparency of Info bar. (#3234)
- Small reworks for separe window to info bar.
2024-03-14 22:49:34 +01:00
Seungyun Lee cbaf9fb5d7
external: update ffmpeg (#3249) 2024-03-14 10:48:17 +01:00
Macdu 26a79d2d9d
renderer: Improve transfer copy and downscale (#3232) 2024-03-11 22:35:28 +01:00
Macdu 2db80ea0ea
external, cpu: Update dynarmic (#3241) 2024-03-10 19:09:51 +01:00
Macdu 22595c5060
vkutil: Fix regression (#3238) 2024-03-05 11:20:26 +01:00
FantasyGmm afce7a8d9b
vita3k: Fix some vma assert issues (#3236) 2024-03-04 23:22:38 +01:00
nishinji a81731084c
external: Import CppCommon to detect CPU and OS (#3227) 2024-03-02 16:29:47 +01:00
Marcin Mitura 7b3561699d lang: Improve Polish localization.
Co-Authored-By: Croden <851577088@qq.com>
Co-Authored-By: Zangetsu <dante38@free.fr>
Co-Authored-By: nishinji <107111782+nishinji@users.noreply.github.com>
2024-02-29 00:40:20 -03:00
Zangetsu38 79bc40003e gui/information bar: Add support of read battery level. 2024-02-27 23:12:19 +03:00
Macdu 17c1c3b693
renderer/vulkan: Fix MSAA2x (#3223) 2024-02-23 14:55:08 +01:00
HuanJiCanShang 1b0e65e66d
gui/settings: Add audio tab translation (#3215)
* gui/settings dialog: Fixed a bug.

* gui/settings dialog: Fixed a bug.
2024-02-18 19:10:48 +01:00
bookmist 6ce9b6598e vita3k: some minor bugfixes
kernel/thread: fix possible crash in log_stack_traceback
modules/SceLibKernel: more correct sceClibSnprintf
kernel/load_self: fix possible crash on incorrect library modules. load process params from first loaded module (eboot.bin) only
modules/SceGxm: fix crash if display_thread not found
kernel/debugger: remove direct access to mem.memory to support memory mapping more complete
vita3k: remove direct access to kernel.threads (it's not thread-safe)
vita3k: implement and fix virtual destructors for class hierarchies to prevent memory leaks (except screen_filters)
clang-tidy warning: Constructing string from nullptr is undefined behaviour
clang warning: use after std::move
2024-02-12 20:21:40 +03:00
Macdu aa2c1cb09e
renderer: Implement fractional upscaling (#3207) 2024-02-09 19:52:36 +01:00
Dubrova Dzmitry 68395f05f6
renderer/texture: Fix texture export for gamma textures (#3210) 2024-02-09 19:02:00 +01:00
bookmist c3e5707f48 modules/SceHttp: fix crash on HLE of creating https connection 2024-02-09 10:07:42 +03:00
Croden bfb270c613
gui/lang: Update minor lang strings. (#3206) 2024-02-08 12:35:56 +01:00
bookmist da73a57c38 io: implement music0, photo0, video0 devices 2024-02-05 20:40:38 +03:00
Macdu 17886d827e
renderer: Add screenshot support (#3202) 2024-02-04 14:25:52 +01:00
Zangetsu ed9a01a2f9
build: fix openssl pre-build path. (#3205)
lang: fix typo of audio settings.
2024-02-04 10:40:36 +01:00
Zangetsu b5aa1ec5dd
gui/settings dialog; Add audio tab & small refactor. (#3198)
audio: remove double init oF global volume value.
2024-02-01 23:29:43 +01:00
nishinji 0220699c4a
workflows: Update actions (#3196) 2024-02-01 18:00:38 +01:00
Steveice10 ac73ee8270
app: Improve path support for Linux and macOS. (#3193) 2024-01-29 11:14:52 +01:00
Steveice10 b0ef22a1a2
gui, audio: Implement global volume percent setting. (#3194) 2024-01-28 23:25:32 +01:00
bookmist d3f3038aee vita3k: set fs::path type for string paths and refactoring
avoid not need conversion string->wstring->string for linux and macos
native logging of fs::path
more correct conversion from std path to boost path
refactor pathes for shaders compiler, shorten parameters lists
crypto::hex_string: remove not needed null character as last character in string
2024-01-24 11:33:30 +03:00
Dubrova Dzmitry ed3e7e8a58
util: Rename restrict macro (#3192) 2024-01-21 21:43:42 +01:00
Macdu 1ed3a343d3
ci: Use static dependencies on windows (#3190) 2024-01-20 14:12:45 +01:00
Macdu 59ac163fc0
display: Add FPS hack (#3189) 2024-01-20 12:28:51 +01:00
Macdu ba5f9ace08
gui: Fix audio parameter (#3188) 2024-01-19 20:06:02 +01:00
Dubrova Dzmitry dae92a695e
modules/SceAudio: Fix sceAudioOutSetConfig implementation (#3186) 2024-01-18 12:56:57 +01:00
nishinji 6e6535ef28
.github: Create GitHub issue templates (#3180) 2024-01-18 12:27:20 +01:00
nishinji d8b8e069d1
vita3k: typo fixes (#3179) 2024-01-18 11:49:08 +01:00
Macdu fe02f4c0f9 external, packages: Use OpenSSL for crypto operations 2024-01-17 20:03:58 +01:00
Macdu ef38c9c559 external: Update psvpfstools 2024-01-17 20:03:58 +01:00
Macdu d1b5200517
renderer/vulkan: Fix depth/stencil identification (#3184) 2024-01-17 18:48:44 +01:00