ameerj
c7a0ebbba7
kernel: Increase event and session counts
12.x increased the number of available sessions and event resource counts
5 years ago
Lioncash
840fadc3e4
svc: Expand SVC tables
12.x expanded the range of SVC entries from 0x7F to 0xBF (with all new
entries being unused), so we can expand it to also match.
5 years ago
Lioncash
7737db89aa
process_capability: Handle extended SVC range
12.x extended the range of SVC IDs, so we need to expand the range of
bits that need to be tested.
The upside of this is that we can eliminate a range check, given the
whole range is used.
5 years ago
Morph
827c0726cc
configure_graphics: Add Borderless Windowed fullscreen mode
The borderless windowed fullscreen mode solves several issues with the presentation of the overlay dialogs and on-screen keyboard in exclusive fullscreen mode, and also has other benefits such as smoother gameplay, lower latency and a significant reduction in screen tearing.
Co-authored-by: Its-Rei <kupfel@gmail.com>
5 years ago
lat9nq
12adfa8953
nvhost_nvdec_common: Avoid memcpy with null pointers
Avoid sending null pointer to memcpy as reported by Undefined Behavious
Sanitizer.
Co-authored-by: LC <mathew1800@gmail.com>
5 years ago
lat9nq
791a89c8b0
nvhost_ctrl_gpu: Avoid sending null pointer to memcpy
Undefined Behaviour Sanitizer reports a null pointer is being sent to
memcpy, thought it's "guaranteed to never be null". Guard it with an if
statement, and log when the action has been averted.
5 years ago
MerryMage
62b59f3588
arm_dynarmic: Increase size of code cache
5 years ago
german77
20af0c010f
HID: Fix SL and SR buttons for right joycon
5 years ago
Morph
33d60831da
ISelfController: Stub SetAlbumImageTakenNotificationEnabled
This service call sets an internal flag whether a notification is shown when an image is captured.
Currently we do not support capturing images via the capture button, so this can be stubbed for now.
5 years ago
ameerj
96fbe4f630
configuration: Add auto stub toggle that resets on boot
Auto-stub is an experimental debugging feature that may cause unforseen bugs. This adds a toggle to only allow auto-stubbing unimplemented functions when explicitly enabled when yuzu is launched.
5 years ago
ameerj
96bf3fa674
service: Auto stub fallback
For simple services we can implement an automatic stub fallback to help with compatibility until a proper implementation is done.
Co-Authored-By: Chloe <25727384+ognik5377@users.noreply.github.com>
5 years ago
Chloe Marcec
d835e6b8e8
nvdrv: Cleanup CDMA Processor on device closure
Brings us a step closer to unifying all channels to share a common interface.
5 years ago
Chloe Marcec
a01d4dc72c
Addressed issues
5 years ago
bunnei
e8dd3eca47
hle: kernel: Initialize preemption task after schedulers.
- Fixes a startup crash that occurs if CoreTiming tries to preempt before kernel initialization completes.
5 years ago
Morph
599ce7de46
service: friend: Change logging class from ACC to Friend
5 years ago
german77
735b294e49
Friend: Stub GetPlayHistoryRegistrationKey
5 years ago
Narr the Reg
f10bf91ef4
HID: Initialize correctly the gesture finger_id and filter invalid results
5 years ago
Chloe Marcec
f9b1e20d52
pctl: Rework how pctl works to be more accurate
Introduces the usage of compatibilities to allow it the module to be closer to how it works on hardware.
5 years ago
Chloe Marcec
a0ae0a6a59
nvdrv: Pass device fd and handle device create methods for device opening and closing
We pass the fd to the ioctl as well as alert the device when it's opened or closed to allow for fd unique actions to take place
5 years ago
MerryMage
eb3ece5770
arm_dynarmic: Always have a 'valid' jit instance
5 years ago
bunnei
50cdb650af
hle: kernel: Breakup InitializeMemoryLayout.
5 years ago
bunnei
abec6f016a
hle: kernel: k_memory_region_type: Minor code cleanup.
5 years ago
bunnei
f5173e80c5
hle: kernel: k_memory_region: Minor code cleanup.
5 years ago
bunnei
9d36ad5242
hle: kernel: k_memory_layout: Use pair instead of tuple.
5 years ago
bunnei
14f631b8c3
hle: kernel: k_system_control: Remove unnecessary inline.
5 years ago
bunnei
9fe89ad30d
common: common_sizes: Move sizes to the Common namespace.
5 years ago
Chloe Marcec
98dbe81146
nvdrv: Change InitializeEx to AllocAsEx
Wee also report the correct "big page size" now in GetVARegions & fix up the struct for IoctlAllocAsEx
5 years ago
bunnei
9bfc12af71
hle: kernel: Merge KMemoryRegionAttr and KMemoryRegionType.
- Fixes clang errors with mixed enum arithmetic.
5 years ago
bunnei
dc2507fce2
hle: kernel: Remove unused variable.
5 years ago
bunnei
8517b156ae
hle: kernel: k_memory_region_type: Remove extra ".
5 years ago
bunnei
1a89de249c
core: arm_dynarmic: Ensure JIT state is saved/restored on page table changes.
- We re-create the JIT here without preserving any state.
5 years ago
bunnei
18c6e7e8df
hle: kernel: k_memory_layout: Move KMemoryRegionAllocator out of global.
5 years ago
bunnei
79ca47ab3a
hle: kernel: k_memory_layout: Derive memory regions based on board layout.
5 years ago
bunnei
643bc5bbc4
common: common_sizes: Move Invalid to Size_* prefix and add missing values.
5 years ago
bunnei
4387edcaa3
hle: kernel: k_memory_region: Refactor to simplify code.
5 years ago
bunnei
c59d82d4cf
hle: kernel: board: k_system_control: Extend to include memory region sizes.
5 years ago
bunnei
3eabb45a13
hle: kernel: board: Add secure_monitor module.
5 years ago
bunnei
60e9e9beb4
common: Move common sizes to their own header for code reuse.
5 years ago
bunnei
6775f9d758
hle: kernel: k_address_space_info: Cleanup.
5 years ago
bunnei
cd09055341
hle: kernel: Add k_trace module.
5 years ago
bunnei
0e413fe782
hle: kernel: KSystemControl: Update to reflect board-specific behavior.
5 years ago
bunnei
74f0ee726c
hle: kernel: KMemoryManager: Add CalculateManagementOverheadSize.
5 years ago
bunnei
693f08cd8b
hle: kernel: KMemoryManager: Add aliases.
5 years ago
bunnei
d25a181956
hle: kernel: Add architecture and board specific memory regions.
5 years ago
bunnei
0f5efc8f29
hle: kernel: KMemoryRegion: Derive region values.
5 years ago
bunnei
0aac780e5d
hle: kernel: Migrate some code from Common::SpinLock to KSpinLock.
5 years ago
bunnei
bbc5e3a0aa
hle: kernel: Add initial KMemoryRegionType module.
5 years ago
bunnei
3000ebbf08
hle: kernel: Move KMemoryRegion to its own module and update.
5 years ago
Morph
8f439416b6
IApplicationDisplayService: Stub GetIndirectLayerImageMap
Used by games invoking the inline software keyboard such as GNOSIA
5 years ago
Morph
41925ce526
bsd: Avoid writing empty buffers
Silences log spam on empty buffer writes
5 years ago