bunnei
b5d21cc1b1
Merge pull request #6297 from lioncash/common-conv
...
parent_of_member: Make sign conversion explicit in OffsetOfImpl()
4 years ago
bunnei
41b1f8d616
Merge pull request #6310 from german77/nanMotion
...
input_common: Sanitize motion data
4 years ago
lat9nq
12ef74456c
configuration_shared: Drop unused function and template another
...
Drops an unused variant of ApplyPerGameSetting, and turns the QComboBox
variants of SetPerGameSetting into a template.
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
4 years ago
Morph
5396593b55
applets/swkbd: Send the correct text string on TextCheck::Confirm
...
Previously the text string for the inline software keyboard was being sent instead of the normal software keyboard, leading to empty text being sent all the time.
4 years ago
bunnei
7d86a6ff02
Merge pull request #6317 from ameerj/fps-fix
...
perf_stats: Rework FPS counter to be more accurate
4 years ago
Morph
7f78b17e20
KTransferMemory: Return size instead of size * PageSize in GetSize()
...
size is already the size in bytes. We do not need to multiply it by the page size
4 years ago
Lioncash
44556dc21a
hid/gesture: Factor out last gesture retrieval into its own function
...
Deduplicates a commonly repeated expression.
4 years ago
Lioncash
a9d8e24e47
hid/gesture: Ensure all ID arrays are initialized
...
Makes for deterministic initial state.
4 years ago
Lioncash
74f30c0223
hid/gesture: Make Point a template
...
We can now use this in a generic context to reuse it with the finger
position.
4 years ago
Lioncash
20699e90fa
hid/gesture: Replace x,y members of GestureState with a Point
...
Simplifies assignments.
4 years ago
Lioncash
2f1ef3910b
hid/gesture: Add default comparators to Point
...
Simplifies some comparisons.
4 years ago
Lioncash
60831eabd9
hid/gesture: Rename Points to Point
...
This only represents a single point
4 years ago
bunnei
93bc59b62d
Merge pull request #6322 from ameerj/fast-null-buffer
...
buffer_cache: Ensure null buffers cannot take the fast uniform bind path
4 years ago
lat9nq
339dc4f806
general: Demote custom_rtc to regular setting
4 years ago
Mat M
b462618ed7
Merge pull request #6328 from Morph1984/enforce-c4715
...
CMakeLists: Enforce C4715 on MSVC
4 years ago
Morph
d001687ca6
CMakeLists: Enforce C4715 on MSVC
...
This is similar to -Werror=return-type
4 years ago
Morph
cd6dcef5aa
configure_debug: FIx duplicate labels
...
Duplicate labels were unintentionally introduced due to copy-paste. This silences the compilation warning produced by the presence of these duplicates.
4 years ago
Morph
af69b48390
yuzu/main: Fix version info in logging and about dialog
4 years ago
bunnei
440eb840ea
Merge pull request #6319 from Morph1984/no-install-base
...
main: Prevent installing base titles into NAND
4 years ago
ameerj
acf22336ec
buffer_cache: Ensure null buffers cannot take the fast uniform bind path
...
Fixes a crash in New Pokemon Snap
4 years ago
bunnei
d5131805ce
Merge pull request #6284 from ameerj/shantae-fix
...
nvflinger: Create layers when they are queried but not found
4 years ago
bunnei
ad6e20cfde
Merge pull request #6296 from lioncash/shadow-error
...
core: Make variable shadowing a compile-time error
4 years ago
bunnei
e8d2de1f99
Merge pull request #6307 from Morph1984/fix-response-push-size
...
nifm, ssl: Fix incorrect response sizes
4 years ago
Morph
a170aa16b6
main: Prevent installing base titles into NAND
...
Many users have been installing their base titles into NAND instead of adding them into the games list. This prevents users from installing any base titles and warns the user about the action.
4 years ago
Morph
049769a0c9
hle_ipc: unsigned -> u32
...
This is more concise and consistent with the rest of the codebase.
4 years ago
Morph
81a5ecdb18
hle_ipc: Add a getter for PID
4 years ago
Lioncash
9a07ed53eb
core: Make variable shadowing a compile-time error
...
Now that we have most of core free of shadowing, we can enable the
warning as an error to catch anything that may be remaining and also
eliminate this class of logic bug entirely.
4 years ago
bunnei
06c410ee88
Merge pull request #6316 from ameerj/title-fix
...
main: Add running title's version to window name on EA/mainline
4 years ago
lat9nq
ab2677f0a1
configuration: Add CPU tab to game properties
...
Allows setting CPU accuracy to Accurate or Unsafe per-game, as well as
the accuracy options for Unsafe. Debug is not allowed here as a per-game
CPU accuracy.
4 years ago
bunnei
5a2b15bf75
Merge pull request #6299 from bunnei/ipc-improvements
...
Various improvements to IPC and session management
4 years ago
bunnei
a1138028a8
Merge pull request #6289 from ameerj/oob-blit
...
texture_cache: Handle out of bound texture blits
4 years ago
Morph
faaea00069
nifm, ssl: Fix incorrect response sizes
4 years ago
lat9nq
4aac1ae4b1
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.
4 years ago
lat9nq
59236b7d0f
configuration_shared: Add some comments
...
Monke brain can't remember what all of these does a year later.
4 years ago
lat9nq
e169fdad4f
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.
4 years ago
ameerj
5bef54618a
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.
4 years ago
ameerj
a3e68dce56
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.
4 years ago
german77
f20f4587e6
input_common: Implement SDL motion
4 years ago
german77
edd498f6e0
input_common: Fix crash when controller disconnects
4 years ago
german77
85eeae7aad
input_common: Rewrite sdl analog mapping
4 years ago
german77
fd7c273fab
input_common: Sanitize motion data
4 years ago
bunnei
e12ee020e7
Merge pull request #6301 from Morph1984/ssl-ImportClientPki
...
ssl: Stub Import(Client/Server)Pki
4 years ago
Morph
c8707628f6
Merge pull request #6298 from Kewlan/toggled-show-add-on-refresh
...
configure_ui: Call RequestGameListUpdate when toggling "Show Add-Ons Column"
4 years ago
Morph
271f2e2d78
ssl: Stub Import(Client/Server)Pki
...
- Used in JUMP FORCE Deluxe Edition
4 years ago
Morph
5a042bdaa1
Merge pull request #6267 from german77/gestureRewrite
...
hid: Improve hardware accuracy of gestures
4 years ago
bunnei
eee302b9b9
common: tree: Avoid a nullptr dereference.
4 years ago
bunnei
12d569e483
hle: kernel: hle_ipc: Fix outgoing IPC response size calculation.
4 years ago
bunnei
fc086f93b2
WORKAROUND: temp. disable session resource limits while we work out issues
4 years ago
bunnei
f2c26443f8
WORKAROUND: Do not use slab heap while we track down issues with resource management.
4 years ago
bunnei
b9f543b29f
audren
4 years ago
bunnei
343d92a092
core: hle: ipc_helpers: Fix cast on raw_data_size calculation.
4 years ago
bunnei
2c1e119c4a
hle: service: sm: Add TIPC support.
...
- Fixes our error checking of names as well.
4 years ago
bunnei
913971417e
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.
4 years ago
bunnei
49c4c329f6
hle: service: sm: GetService: Reserve session resource when we create a KSession.
4 years ago
bunnei
21671d05a3
hle: service: Add support for dispatching TIPC requests.
4 years ago
bunnei
da25a59866
hle: service: Implement IPC::CommandType::Close.
...
- This was not actually closing sessions before.
4 years ago
bunnei
41928dfdda
hle: service: sm: Use RegisterNamedService to register the service.
4 years ago
bunnei
934b2d8842
hle: service: sm: Improve Initialize implementation.
4 years ago
bunnei
f54ea749a4
hle: kernel: svc: Update ConnectToNamedPort to use new CreateNamedServicePort interface.
4 years ago
bunnei
c6de9657be
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.
4 years ago
bunnei
44c763f9c6
hle: kernel: KSession: Improve implementation of CloneCurrentObject.
4 years ago
bunnei
cfed6936f3
hle: service: sm: Increase point buffer size.
4 years ago
bunnei
9f44a44f2f
hle: ipc_helpers: Reserve session resource when we create a KSession.
4 years ago
bunnei
75f23ad494
hle: kernel: KClientPort: Cleanup comment format.
4 years ago
bunnei
7a06037c5f
hle: ipc: Add declarations for TIPC.
4 years ago
bunnei
ed25191ee6
hle: kernel: Further cleanup and add TIPC helpers.
4 years ago
bunnei
d08bd3e062
hle: ipc_helpers: Update IPC response generation for TIPC.
4 years ago
Kewlan
1b4331397b
configure_ui: Call RequestGameListUpdate when toggling "Show Add-Ons Column"
4 years ago
Lioncash
0aff3ba2ff
parent_of_member: Make sign conversion explicit in OffsetOfImpl()
...
Previously these conversions were implicit and causing quite a few
warnings on clang.
4 years ago
bunnei
ec50a9b5b9
Merge pull request #6291 from lioncash/kern-shadow
...
kernel: Eliminate variable shadowing
4 years ago
german77
0c1bb46f0a
kernel: Delete unused files
4 years ago
Lioncash
2f62bae9e3
kernel: Eliminate variable shadowing
...
Now that the large kernel refactor is merged, we can eliminate the
remaining variable shadowing cases.
4 years ago
bunnei
faa067f175
Merge pull request #6266 from bunnei/kautoobject-refactor
...
Kernel Rework: Migrate kernel objects to KAutoObject
4 years ago
ameerj
3671fd0a97
texture_cache: Handle out of bound texture blits
...
Some games interleave a texture blit using regions which are out-of-bounds. This addresses the interleaving to avoid oob reads from the src texture.
4 years ago
bunnei
8acf739b3f
Merge pull request #6287 from lioncash/ldr-copy
...
ldr: Simplify memory copy within LoadNro()
4 years ago
Lioncash
8f638e81e9
ldr: Simplify memory copy within LoadNro()
...
We can use the dedicated memory function for performing copies instead
of reading into a temporary buffer and then immediately writing it back
out to memory.
Eliminates a bit of heap memory churn.
4 years ago
ameerj
da62e92784
nvflinger: Create layers when they are queried but not found
...
Fixes Shantae softlock on boot.
4 years ago
bunnei
d57b12193b
hle: kernel: KPageTable: CanContain should not be constexpr.
4 years ago
bunnei
b805ee653f
hle: kernel: Move slab resource counts to Kernel.
4 years ago
bunnei
d2c4dbde9e
fixup! hle: kernel: Migrate KSharedMemory to KAutoObject.
4 years ago
bunnei
2c4615f3a6
fixup! hle: kernel: Migrate more of KThread to KAutoObject.
4 years ago
bunnei
a488b86e97
fixup! common: bit_util: Add BIT macro.
4 years ago
bunnei
510f71d871
fixup! hle: kernel: Ensure all kernel objects with KAutoObject are properly created.
4 years ago
bunnei
9f81221528
fixup! hle: kernel: Ensure all kernel objects with KAutoObject are properly created.
4 years ago
bunnei
eae107d0e9
kernel: svc: Remove unused RetrieveResourceLimitValue function.
4 years ago
bunnei
da22def511
hle: kernel: Fix un/sign mismatch errors with NUM_CPU_CORES.
4 years ago
bunnei
f23760b1e1
fixup! hle: kernel: Add initial impl. of slab setup.
4 years ago
bunnei
1e983b19df
fixup! hle: kernel: Migrate to KHandleTable.
4 years ago
bunnei
ad5a5ef43f
fixup! hle: kernel: Migrate more of KThread to KAutoObject.
4 years ago
bunnei
e02785be83
common: parent_of_member: Fix build for OffsetOf().
4 years ago
bunnei
27a6ef64fd
fixup! common: intrusive_red_black_tree: Disable static_assert that will not evaluate as constant on MSVC.
4 years ago
bunnei
9434603450
fixup! hle: kernel: Migrate KReadableEvent and KWritableEvent to KAutoObject.
4 years ago
bunnei
703d7aaab6
fixup! hle: kernel: Migrate to KHandleTable.
4 years ago
bunnei
9beb239634
fixup! hle: kernel: Add initial impl. of KLinkedList.
4 years ago
bunnei
2cdc7142b0
fixup! hle: kernel: Migrate to KHandleTable.
4 years ago
bunnei
34abe4a905
fixup! hle: kernel: Migrate KPort, KClientPort, and KServerPort to KAutoObject.
4 years ago
bunnei
f6d45b747e
fixup! hle: kernel: Migrate KSession, KClientSession, and KServerSession to KAutoObject.
4 years ago
bunnei
1b074b8984
fixup! hle: kernel: Migrate KSession, KClientSession, and KServerSession to KAutoObject.
4 years ago
bunnei
50d2dc3b51
fixup! hle: kernel: Migrate KPort, KClientPort, and KServerPort to KAutoObject.
4 years ago
bunnei
d23f9f75ff
fixup! hle: kernel: Migrate to KHandleTable.
4 years ago