lat9nq
4158f88b49
configuration: Simplify applying per-game settings
Originally, every time we add a per-game setting, we'd have to guard for
it when setting it on the global config, and use a specific function to
do it for the per-game config.
This moves the global check into the ApplyPerGameSetting function so
that we can use it for changing both the global and per-game states.
Less work for the programmer.
5 years ago
lat9nq
11b43840a9
configuration_shared: Add some comments
Monke brain can't remember what all of these does a year later.
5 years ago
lat9nq
065b3eb53a
general: Make CPU accuracy and related a Settings::Setting
Required to make CPU accuracy and unsafe settings available to use as a
per-game setting.
5 years ago
ameerj
453e90ef6f
perf_stats: Rework FPS counter to be more accurate
The FPS counter was based on metrics in the nvdisp swapbuffers call. This metric would be accurate if the gpu thread/renderer were synchronous with the nvdisp service, but that's no longer the case.
This commit moves the frame counting responsibility onto the concrete renderers after their frame draw calls. Resulting in more meaningful metrics.
The displayed FPS is now made up of the average framerate between the previous and most recent update, in order to avoid distracting FPS counter updates when framerate is oscillating between close values.
The status bar update frequency was also changed from 2 seconds to 500ms.
5 years ago
ameerj
4981aa10aa
main: Add title's version to window name on EA/mainline
Fixes the missing title version number on EA/mainline builds which override the title bar string.
5 years ago
german77
b79310def9
input_common: Implement SDL motion
5 years ago
german77
2d3df5d3f4
input_common: Fix crash when controller disconnects
5 years ago
german77
b41d05a12c
input_common: Rewrite sdl analog mapping
5 years ago
Ameer J
a9c9d56a35
Merge pull request #6300 from Morph1984/mbedtls
externals: Update mbedtls to 8c88150ca
5 years ago
german77
eac788499b
input_common: Sanitize motion data
5 years ago
Morph
293ea086aa
Merge pull request #6306 from lat9nq/ffmpeg-untagged
externals: Checkout 79e8d17024 for FFmpeg
5 years ago
lat9nq
4a4884b4c8
externals: Checkout 79e8d17024 for FFmpeg
6b6b9e593d does not exist on FFmpeg master, and tag n4.3.1 requires
manually fetching all of FFmpeg's tags. `git` reports that the commit
does not exist initially and can be confusing as a result. Instead,
checkout the immediately previous commit from n4.3.1 on their master
branch.
5 years ago
bunnei
5568354451
Merge pull request #6301 from Morph1984/ssl-ImportClientPki
ssl: Stub Import(Client/Server)Pki
5 years ago
Morph
d1c74c3444
Merge pull request #6298 from Kewlan/toggled-show-add-on-refresh
configure_ui: Call RequestGameListUpdate when toggling "Show Add-Ons Column"
5 years ago
Morph
46f773ad5c
ssl: Stub Import(Client/Server)Pki
- Used in JUMP FORCE Deluxe Edition
5 years ago
Morph
27c2d51a53
Merge pull request #6267 from german77/gestureRewrite
hid: Improve hardware accuracy of gestures
5 years ago
bunnei
9d01b31e3f
common: tree: Avoid a nullptr dereference.
5 years ago
bunnei
006a51c86b
hle: kernel: hle_ipc: Fix outgoing IPC response size calculation.
5 years ago
bunnei
627eaf8c0e
WORKAROUND: temp. disable session resource limits while we work out issues
5 years ago
bunnei
bb77b5d79f
WORKAROUND: Do not use slab heap while we track down issues with resource management.
5 years ago
bunnei
2a7b1c1424
audren
5 years ago
Morph
a0540386e8
externals: Update mbedtls to 8c88150ca
5 years ago
bunnei
a21dff4980
core: hle: ipc_helpers: Fix cast on raw_data_size calculation.
5 years ago
bunnei
1c07b56283
hle: service: sm: Add TIPC support.
- Fixes our error checking of names as well.
5 years ago
bunnei
232102c794
hle: kernel: hle_ipc: Improve IPC code and add initial support for TIPC.
- Fixes our move handles implementation to actually move objects.
- Simplifies the traditional IPC path.
5 years ago
bunnei
0f3b6928ab
hle: service: sm: GetService: Reserve session resource when we create a KSession.
5 years ago
bunnei
fe91306d87
hle: service: Add support for dispatching TIPC requests.
5 years ago
bunnei
80d920e464
hle: service: Implement IPC::CommandType::Close.
- This was not actually closing sessions before.
5 years ago
bunnei
e9d3612085
hle: service: sm: Use RegisterNamedService to register the service.
5 years ago
bunnei
11413d71ad
hle: service: sm: Improve Initialize implementation.
5 years ago
bunnei
6e284d951b
hle: kernel: svc: Update ConnectToNamedPort to use new CreateNamedServicePort interface.
5 years ago
bunnei
777e7c52ba
hle: kernel: Implement named service ports using service interface factory.
- This allows us to create a new interface each time ConnectToNamedPort is called, removing the assumption that these are static.
5 years ago
bunnei
14e52144e2
hle: kernel: KSession: Improve implementation of CloneCurrentObject.
5 years ago
bunnei
1e211a1b15
hle: service: sm: Increase point buffer size.
5 years ago
bunnei
66c7c7e5ab
hle: ipc_helpers: Reserve session resource when we create a KSession.
5 years ago
bunnei
2c9d6156d2
hle: kernel: KClientPort: Cleanup comment format.
5 years ago
bunnei
29a31e30db
hle: ipc: Add declarations for TIPC.
5 years ago
bunnei
4a781928dd
hle: kernel: Further cleanup and add TIPC helpers.
5 years ago
bunnei
ae86003503
hle: ipc_helpers: Update IPC response generation for TIPC.
5 years ago
Kewlan
182b56f54e
configure_ui: Call RequestGameListUpdate when toggling "Show Add-Ons Column"
5 years ago
Lioncash
41852fb7e7
parent_of_member: Make sign conversion explicit in OffsetOfImpl()
Previously these conversions were implicit and causing quite a few
warnings on clang.
5 years ago
bunnei
6997b030b1
Merge pull request #6291 from lioncash/kern-shadow
kernel: Eliminate variable shadowing
5 years ago
v1993
7057f867a4
Only build SDL2 subsystems that we use
While at it, use better way to enable HIDAPI.
5 years ago
Morph
34a189140f
Merge pull request #6294 from german77/kernelCleanup
kernel: Delete unused files
5 years ago
german77
1b8951c31b
kernel: Delete unused files
5 years ago
v1993
ed9443a696
On Linux, build SDL2 from externals with HIDAPI support
5 years ago
Morph
892d4762ca
Merge pull request #6292 from lat9nq/sdl-trunk
externals: Update SDL to 107db2d8
5 years ago
lat9nq
b7b716ff5e
externals: Use SDL2 statically
Building it as a shared library causes issues distributing it to an
AppImage, since linuxdeploy expects the executable to only dynamically
link to system libraries. Additionally, simply dynamically linking to a
library in the binary directory is bound to cause issues.
Solution is to use SDL's CMake switches and build it statically. We also
alias `SDL2` to `SDL2-static` on the external submodule for
compatibility with the rest of the project.
5 years ago
lat9nq
401dfe53fa
externals: Update SDL to 107db2d8
In light of 627cb430b4 , the SDL submodule also needs updated. Updates
to the same commit used by the SDL package in ext-windows-bin.
5 years ago
Lioncash
e019da0487
kernel: Eliminate variable shadowing
Now that the large kernel refactor is merged, we can eliminate the
remaining variable shadowing cases.
5 years ago