Commit graph

93 commits

Author SHA1 Message Date
wheremyfoodat
8604a98edf
No need to call screen->show() twice 2024-12-29 00:30:31 +02:00
Daniel López Guimaraes
5f48028284
Qt: Fix Wayland support
Qt will only create a Wayland surface when show() is called on the main
window and on the ScreenWidget. Thus, call the function before creating
the GL context.

Doesn't cause regressions on XWayland, untested in other platforms.

Fixes #586
2024-12-28 22:19:17 +00:00
wheremyfoodat
cb8b13e129 Support GLES on desktop 2024-12-28 19:52:42 +02:00
Thomas
1b0c08cad2 Prevent selecting Vulkan renderer in Qt frontend and present a message 2024-12-12 21:21:49 +01:00
wheremyfoodat
4cfc5fb32a Make system language configurable 2024-12-10 20:28:49 +02:00
wheremyfoodat
4ce0768ba1
Qt: Handle mouse move events properly (#678) 2024-12-10 00:54:06 +02:00
Thomas
6be642a118
Qt: put preferences and about in native spots on MacOS (#676) 2024-12-09 20:54:29 +02:00
Thomas
875464d6b4
Add Dutch translation (#674) 2024-12-08 23:56:21 +02:00
Gabriel Machado
da907499a0
Qt: Portuguese (Brasillian) (#670)
* pt-br

* rename

* some fix

* Limear

* pt-br to pt_br

* Typo

---------

Co-authored-by: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com>
2024-12-07 15:54:45 +02:00
Thomas
1d2429c3ea
Qt UI: fix menu bar on MacOS (#668)
MacOS requires a 'global' menubar to be available (e.g. QtMenuBar(nullptr)).
2024-12-06 18:04:00 +00:00
Daniel López Guimaraes
4606be05ec
Qt: Add Spanish translation (#669)
Every string is translated except for two of the color themes `Cream`
and `Greetings Cat` as I'm unsure where to literally translate it or
keep the original name.
2024-12-06 19:29:35 +02:00
wheremyfoodat
bfdc6f0240
Qt: Add translation support (#664)
* Translation PoC

* i18n but better

* More Greek translation

* Add proper translation UI

* Linux CI: Install qt6-tools-dev
2024-12-04 21:08:33 +02:00
wheremyfoodat
28461a1d44
Qt: Add translation for main window name 2024-12-03 17:05:27 +02:00
wheremyfoodat
9aacc412ca
Qt: Use slider for volume slider (#659)
* Qt: Use slider for volume slider

* Qt: Use slider for volume slider
2024-12-03 14:38:43 +02:00
wheremyfoodat
5f822b32d5
Add volume curve setting (#658)
* Add volume curve setting

* Qt: Add missing translations
2024-12-03 14:16:57 +02:00
wheremyfoodat
545ac81d81
Qt: Add SkyEmu duck icon (#657) 2024-12-02 19:41:51 +02:00
wheremyfoodat
79a9de25d4
Qt: Label Lua Editor window 2024-12-02 00:08:35 +02:00
wheremyfoodat
6b1f39bdf0
Qt: Label cheat windows 2024-12-01 23:49:19 +02:00
wheremyfoodat
d8df0dc4fa
Qt: Add title to ROM patcher 2024-12-01 23:46:18 +02:00
wheremyfoodat
c3e3b2358d
Qt: Fix "Show app version on window" option 2024-12-01 23:38:20 +02:00
Jonian Guveli
156328fbfb
[WIP] Qt: Add config window controls (#655)
* Qt: Add config window controls

* Fix Windows build

* Fix audio slider

* Qt configs: Make thread-safe, properly update audio enable & renderdoc settings

* Qt configs: Add `connectCheckbox` function

* Qt configs: Add `connectCheckbox` function

* Rename spuLayout

* Add Discord RPC reloading

* Allow configuring the app icon

* Qt: Serialize icon & theme, properly set them

* Add rnap and rcow icons

* Qt: Fix forceShadergen config

---------

Co-authored-by: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com>
2024-12-01 23:06:47 +02:00
wheremyfoodat
4629314961 Add support for .ncch files 2024-11-19 00:48:42 +02:00
Samuliak
f322ba5102
Merge branch 'master' into metal2 2024-11-05 19:05:23 +01:00
wheremyfoodat
8fc6675a05 Sort out icons on desktop 2024-11-03 14:08:39 +02:00
Samuliak
d459f9c1c3
Merge branch 'master' into metal2 2024-11-01 08:43:40 +01:00
wheremyfoodat
818271c7ad Qt: Optionally remember window pos/size 2024-10-31 17:34:21 +02:00
SamoZ256
779e30e3e5
Merge branch 'master' into metal2 2024-09-24 09:22:17 +02:00
wheremyfoodat
c0c8545dc2 Qt: Fix Linguist issues and format files 2024-09-16 22:39:05 +03:00
wheremyfoodat
c694ce9a25 Improved git versioning 2024-08-20 13:20:14 +03:00
Jonian Guveli
dfc7b59de2 Get application version from git 2024-08-20 12:30:19 +03:00
wheremyfoodat
dbdf21b1ab Improve accelerometer algorithm 2024-08-16 17:54:15 +03:00
Samuliak
58e1a53699 metal: create renderer 2024-08-16 11:06:23 +02:00
wheremyfoodat
c772b1c702 Initial accelerometer support 2024-08-15 17:31:55 +03:00
wheremyfoodat
520e00c553 Qt: Add controller gyroscope 2024-08-14 22:57:45 +03:00
wheremyfoodat
da23ec1a06
Don't deinit SDL from non-SDL thread 2024-07-25 13:40:01 +03:00
Jonian Guveli
19b69bbdc2 Qt: Stop emuThread on closeEvent 2024-07-25 11:04:57 +03:00
wheremyfoodat
c319e59545
Resizing window on Qt (#556)
* Qt: Add screen resize

* Qt: Allocate screen on heap for setCentralWidget

* Fix header inclusion order

* Switch to std::function for resize callback

* rdeepfried
2024-07-23 23:13:14 +03:00
wheremyfoodat
186fd3b94b Qt: Shader editor now works 2024-07-14 16:06:52 +03:00
wheremyfoodat
d87477832b Qt: Initial shader editor support 2024-07-14 15:32:26 +03:00
wheremyfoodat
aa7a6bfe7a
s/ellided/elided (#510)
* s/ellided/elided

* Fix header name
2024-05-08 03:20:39 +03:00
wheremyfoodat
332fbcfff1 Qt: Add patching errors 2024-05-07 23:55:32 +03:00
wheremyfoodat
66bcf384f3 Qt: Add file patcher 2024-05-07 23:08:24 +03:00
wheremyfoodat
8c296905f4 Qt: Add support for dumping DSP firmware 2024-04-26 00:54:21 +03:00
wheremyfoodat
df3200a465
Add Dolphin bitfield class (#487)
* Add Dolphin bitfield class

* Remove bitfield test
2024-04-03 19:54:26 +03:00
Auxy6858
35b15fdd48
Jelly + ice cream theme (#486)
* Update config_window.cpp

* Update config_window.hpp

* Rename theme to Cream

* Rename theme to cream harder

---------

Co-authored-by: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com>
2024-04-02 01:21:36 +03:00
wheremyfoodat
3b9490e633
Add controller support to Qt (#475)
* Add controllers to Qt

Co-Authored-By: Nadia Holmquist Pedersen <893884+nadiaholmquist@users.noreply.github.com>

* Remove debug logs

* Bonk

---------

Co-authored-by: Nadia Holmquist Pedersen <893884+nadiaholmquist@users.noreply.github.com>
2024-03-27 21:11:47 +02:00
Auxy6858
429dc2a944
Added rom path (#474)
* Added app icon to the window

* Added Roms path

Added an option to the config to set a folder that opens when selecting a game instead of having to navigate to the folder manually every time.

* Clear up PR

* Clear up PR

---------

Co-authored-by: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com>
2024-03-26 18:40:10 +02:00
Paris Oplopoios
3270cfe602
First step towards configurable keyboard mappings (#464)
* Configurable keyboard mappings

* Cleanup

* Cleanup

* Biggest mistake of my career

* format

* Fix naming convention

---------

Co-authored-by: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com>
2024-03-21 15:54:18 +02:00
wheremyfoodat
d459cb1d6c
Get audio output working with LLE DSP (#419)
* Implement audio output

* Semi-proper audio output

* Add audio enable and vsync settings

* Add audio enable and vsync settings

* Optimize audio output a bit

* Make max ring buffer timeout smaller

* Make max ring buffer timeout smaller

* Revert to spinlocking for audio sync

* Sleep emulator thread if too many samples queued

* Fix Teakra submodule breaking

* Don't start audio device too soon

* Fix IWYU errors

* Fix compilation errors on GCC/Clang

* Ignore std::hardware_destructive_interference_size on Android NDK

* Fix more IWYU errors
2024-02-24 03:26:23 +02:00
wheremyfoodat
9cc3fc0c4c [Qt] Add touchscreen 2024-01-29 21:07:21 +02:00