Commit Graph

3612 Commits

Author SHA1 Message Date
Macdu
a62e232024 android: V12 Update 2024-06-06 22:23:34 +02:00
Dzmitry Dubrova
fab31c81b2 Use different package name for debug builds 2024-06-06 22:23:20 +02:00
Dzmitry Dubrova
7620b2d39c Add controller opacity option 2024-06-06 22:23:20 +02:00
Macdu
e5a7943c1d vita3k: Add Android version 2024-06-06 22:23:20 +02:00
Macdu
53741632bc
shader, renderer/vulkan: Perform gamma correction within shaders when using shader interlock (#3298) 2024-05-23 12:25:46 +02:00
bookmist
a0b3218466 modules/SceNgs: fix crash of Helldivers game 2024-05-22 22:51:24 +03:00
nishinji
b8ef1dd732 vita3k: Use constexpr for constants and small optimize 2024-05-21 23:42:57 +02:00
nishinji
584e1f172f vita3k: Minor optimize, code refactor
Co-authored-by: GermanAizek <GermanAizek@yandex.ru>
2024-05-21 23:42:57 +02:00
evfloriz
46fe22c2f0
gui: Fix about_dialog imgui assert (#3295) 2024-05-21 14:26:19 +02:00
nishinji
76bd1ce445
config: Makes log level display easier to understand (#3269) 2024-05-20 18:08:21 +02:00
Croden1999
6bfe0872f6 io/file: Add cstddef head file.
Should fix Linux build.
2024-05-20 17:41:12 +02:00
Croden1999
d179e4b6f7 gui/common_dialog: Add IsKeyPressed to the buttons.
app/app_init: Fix typos.
2024-05-20 17:41:12 +02:00
Croden1999
624b57b685 vita3k/interface: More detailed error message. 2024-05-20 17:41:12 +02:00
Zangetsu
e189a8ffc6
gui/themes: Fix and refactor position of day moment on start screen. (#3267) 2024-05-19 23:03:53 +02:00
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