Liam
82568412f6
arm_interface: correct breakpoint rewind condition
3 years ago
liamwhite
8bf46f48f8
vfs_real: use open file size for getting size ( #11016 )
3 years ago
german77
9cd698e8ad
service: nfc: Ensure controller is in the correct mode
3 years ago
Kelebek1
6f7cb69c94
Use spans over guest memory where possible instead of copying data.
3 years ago
Morph
c3fbc8d2fe
core_timing: Remove GetCurrentTimerResolution in CoreTiming loop
Other programs may change this value, but if thousands of syscalls in this loop is undesirable, then we can just set this once.
3 years ago
Morph
b94e576653
kernel: Synchronize
3 years ago
Morph
1a46823ec5
parcel: Optimize small_vector sizes
3 years ago
Morph
310b6cf4af
general: Use ScratchBuffer where possible
3 years ago
Fernando Sahmkow
0e6b559c98
Memory Tracker: Use 64 bit atomics instead of 128 bits
3 years ago
Fernando Sahmkow
da440da9f5
Memory Tracking: Optimize tracking to only use atomic writes when contested with the host GPU
3 years ago
Fernando Sahmkow
47d0d292d5
MemoryTracking: Initial setup of atomic writes.
3 years ago
Liam
edd54abee4
fsmitm_romfsbuild: avoid full path lookups
3 years ago
Merry
e3c548d081
arm_dynarmic_32: Remove disabling of block linking on arm64
3 years ago
german77
bf641e2964
core: hid: Allow to read bin files while switch controller is available
3 years ago
german77
5aa208e264
input_common: Dont try to read/write data from 3rd party controllers
3 years ago
Liam
1dd166f766
vfs_real: lock concurrent accesses
3 years ago
Liam
1586f1c0b1
general: remove atomic signal and wait
3 years ago
Kelebek1
5da70f7197
Remove memory allocations in some hot paths
3 years ago
Narr the Reg
84d43489c5
input_common: Implement native mifare support
3 years ago
lat9nq
ae1a8a7dc7
time_zone_manager: Add null terminator
We aren't null-terminating this string after the copy, and we need to.
3 years ago
lat9nq
fd5d7947f6
time_zone_manager: Stop on comma
This is a deviation from the reference time zone implementation. The
actual code will set a pointer to the time zone name here, but for us we
have a limited number of characters to work with, and the name of the
time zone here could be larger than 8 characters.
We can make the assumption that time zone names greater than five
characters in length include a comma that denotes more data. Nintendo
just truncates that data for the name, so we can do the same.
time_zone_manager: Check for length of array
Just to be double sure that we never break past the array length,
directly compare against it.
3 years ago
Liam
e5f1b22e16
vfs_concat: verify short read
3 years ago
Liam
b0beca52a3
vfs_concat: fix offset calculation when not aligned to file boundary
3 years ago
lat9nq
b99c4dd568
time_zone_service: Always write time zone rule data
Switch firmware will initialize this data even if the given parameters
are invalid. We should do the same.
3 years ago
lat9nq
e34e1b1c95
k_thread: Use a mutex and cond_var to sync bool
std::atomic<bool> is broken on MinGW and causes deadlocks there.
Use a normal cond var in its stead.
3 years ago
Liam
94e7cb05da
vfs_real: ensure size cache is reset on write
3 years ago
Liam
bf47f777b1
patch_manager: remove unnecessary GetSize calls
3 years ago
Liam
734242c5bc
vfs_real: misc optimizations
3 years ago
lat9nq
8d8f850bd6
time_zone_manager: Compare to the correct boolean
Reference implementation does not compare the booleans as we had them.
Use the correct ones as in the reference.
Also adds an assert. I have been made aware of a crash here and am
not able to reproduce currently.
3 years ago
lat9nq
03e8d9aca7
nx_tzdb: Correct Antarctica spelling
3 years ago
Narr the Reg
61b4588517
service: nfc: Read tag protocol only for nfc backend
3 years ago
Narr the Reg
b1b13ddc6b
service: nfc: Accuracy fixes
3 years ago
Liam
ed7c4af915
vfs_real: require file existence on open
3 years ago
Liam
dbbe237668
vfs_real: add simplified open file cache
3 years ago
Liam
0e7eaaba5a
vfs_real: lazily open files
3 years ago
Liam
f25236a4d6
vfs_real: add file LRU cache for open file limits
3 years ago
Liam
8506915208
core: decouple ARM interface from Dynarmic
3 years ago
Narr the Reg
a338de7850
android: Add update support
3 years ago
Charles Lombardo
72d9dc9a3f
android: Add proper homebrew check
3 years ago
Liam
6c34adb1de
nvnflinger: allow locking framerate during video playback
3 years ago
Morph
3e6d81a008
nvdisp: Fix SingleCore frametime reporting
3 years ago
Morph
2e1e725443
core_timing: Fix SingleCore cycle timer
3 years ago
Morph
907507886d
(wall, native)_clock: Add GetGPUTick
Allows us to directly calculate the GPU tick without double conversion to and from the host clock tick.
3 years ago
Morph
9dcc7bde8b
time: Use compile time division for TimeSpanType conversion
3 years ago
Morph
8e56a84566
core_timing: Use CNTPCT as the guest CPU tick
Previously, we were mixing the raw CPU frequency and CNTFRQ.
The raw CPU frequency (1020 MHz) should've never been used as CNTPCT (whose frequency is CNTFRQ) is the only counter available.
3 years ago
Morph
bbd502f67a
nvnflinger: Acquire lock prior to signaling the vsync variable
3 years ago
german77
107aa52cdb
service: nfc: Add backup support
3 years ago
lat9nq
8f9afbcd91
tz_manager: Fix comparison to wrong integer
3 years ago
lat9nq
3218313c22
tz_manager: Implement missing transition times
time_zone_manager: Use s64 storage
3 years ago
lat9nq
78a47f1ee8
tz_manager: Warn on unimplemented code
3 years ago