bunnei
da7e9553de
hle: kernel: Migrate more of KThread to KAutoObject.
5 years ago
bunnei
6fca1c82fd
hle: kernel: svc: Migrate GetThreadPriority, StartThread, and ExitThread.
5 years ago
bunnei
de4746ff69
hle: kernel: svc: Migrate CreateThread.
5 years ago
bunnei
0eeecde67c
hle: kernel: Migrate idle threads.
5 years ago
bunnei
479bd50b96
hle: kernel: Migrate KThread to KAutoObject.
5 years ago
bunnei
d3d0f2f451
hle: kernel: Add initial impl. of slab setup.
5 years ago
bunnei
34bed1ab41
hle: kernel: Refactor out various KThread std::shared_ptr usage.
5 years ago
bunnei
d9df63583f
core: Defer CoreTiming initialization.
5 years ago
bunnei
3401676768
core: memory: Add a work-around to allocate and access kernel memory regions by vaddr.
5 years ago
bunnei
02c2b28cd0
common: common_funcs: Add Size helper function.
5 years ago
bunnei
66f2ad716b
hle: kernel: Add initial impl. of KLinkedList.
5 years ago
bunnei
74120c5e3a
common: bit_util: Add BIT macro.
5 years ago
bunnei
f93d939426
hle: kernel: Add initial impl. of KSlabAllocated.
5 years ago
bunnei
34ce1dd7c7
hle: kernel: Add initial impl. of KAutoObjectWithListContainer.
5 years ago
bunnei
b8751630e2
hle: kernel: Add initial impl. of KAutoObject.
5 years ago
bunnei
d9205f82b3
common: intrusive_red_black_tree: Disable static_assert that will not evaluate as constant on MSVC.
5 years ago
bunnei
b99fc70191
common: common_funcs: Add helper macros for non-copyable and non-moveable.
- Useful for scenarios where we do not want to inherit from NonCopyable.
5 years ago
bunnei
0b7a03bd65
Update src/core/hle/service/nvdrv/interface.cpp
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
5 years ago
Lioncash
cc47a6a9c2
service: Remove unused class variables
Prevents some warnings from occurring.
5 years ago
Lioncash
9e726a9250
service: Resolve cases of member field shadowing
Now all that remains is for kernel code to be 'shadow-free' and then
-Wshadow can be turned into an error.
5 years ago
Lioncash
ebb64d5bf4
core: Resolve misc cases of variable shadowing
Resolves shadowing warnings that aren't in a particularly large
subsection of core. Brings us closer to turning -Wshadow into an error.
All that remains now is for cases in the kernel (left untouched for now
since a big change by bunnei is pending), and a few left over in the
service code (will be tackled next).
5 years ago
Chloe Marcec
7d257ce7bd
nvdrv: /dev/nvhost-prof-gpu for production
While we're at it, we can fix the is_initialized error code.
This fixes the crashes on Shante
5 years ago
german77
08d5bd36d8
hid: Fix touch not initializing properly if disabled
5 years ago
german77
6e81473574
input_common: Release mouse buttons on out of focus
5 years ago
Lioncash
1da72c7792
file_sys: Resolve cases of variable shadowing
Brings us closer to enabling -Wshadow as an error in the core code.
5 years ago
Morph
72b22fd433
service: filesystem: Return proper error codes for CreateFile
This improves the accuracy of CreateFile by returning the correct error codes on certain conditions (parent directory does not exist, path already exists).
This fixes saving and the loading of existing saves in New Pokemon Snap
5 years ago
german77
1ed1dd3c89
Disable touch if setting is not enabled
5 years ago
Kewlan
497ccfaedc
game_list: Fix dir move up/down expand state
5 years ago
Kewlan
fc84822266
game_list: Update filter results when removing directories
5 years ago
Morph
29a06ad393
yuzu: config: Silence narrowing conversion warning on MSVC
5 years ago
Morph
0af182baa2
applets/web: Fix a use-after-free when passing in the URL string
The URL string was being deleted before being used, leading to a use-after-free occurring when it is used afterwards.
Fix this by taking the string by const ref to extend its lifetime, ensuring it doesn't get deleted before use.
5 years ago
Morph
d95605cd24
yuzu: main: Silence type conversion warning on MSVC
5 years ago
Lioncash
724c19a307
loader: Resolve instances of variable shadowing
Eliminates variable shadowing cases across all the loaders to bring us
closer to enabling variable shadowing as an error in core.
5 years ago
german77
cfdec68d5a
address comments
5 years ago
german77
729545a946
input_common: Reset GC sticks center by measuring multiple packets
5 years ago
Lioncash
dcb91ca4a4
service: Eliminate cases of member shadowing
Resolves a few localized instances of member variable shadowing. Brings
us a little closer to turning shadowing warnings into errors.
5 years ago
Morph
3b5690c9e1
config: Add new keyboard bindings
Changes the keyboard bindings to be based on RPCS3's tried and true keyboard bindings.
5 years ago
ameerj
ae758a236f
vk_texture_cache: Swap R and B channels of color flipped format
Swaps the Red and Blue channels of the A1B5G5R5_UNORM texture format, which was being incorrectly rendered.
5 years ago
ameerj
75e0d16caa
nvhost_vic: Fix device closure
Implements the OnClose method of the nvhost_vic device, and removes the remnants of an older implementation.
Also cleans up some of the surrounding code.
5 years ago
Its-Rei
c413cafdac
applets/swkbd: Fix software keyboard button hint scaling
Fixes the scaling of the button hints using background images. Now they scale like the rest of the elements.
5 years ago
german77
a02c4686c3
glue: Add ectx:aw placeholder
5 years ago
german77
c19ad21ae8
hid: Implement SevenSixAxis and ConsoleSixAxisSensor
5 years ago
Morph
04d9c27120
ICommonStateGetter: Stub SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled
- Used by Pixel Game Maker Series Werewolf Princess Kaguya
5 years ago
Morph
1c65b3ee53
program_metadata: Set a default resource size when a NPDM is not present
Sets a default size of 0x1FE00000 bytes (510 MiB) for the system_resource_size when a NPDM is not present.
5 years ago
Lioncash
d363b2c7d2
emu_window: Return pair from ClipToTouchScreen() instead of tuple
This is only a 2-tuple, so it can be converted over to the std::pair
class.
5 years ago
Lioncash
8805233f5e
emu_window: unsigned -> u32
This is more concise and consistent with the rest of the codebase.
5 years ago
Lioncash
9c5248d101
aes_util: Make use of std::span
Allows us to simplify the interface quite a bit as it will handle
contiguous sequences for us.
5 years ago
Lioncash
502f3cef87
acc/lbl: Remove unused variables
5 years ago
Lioncash
29cd40bded
lm: Make use of insert_or_assign() in Log()
Avoids unnecessary default construction of an entry in cases where no
entry exists before overwriting the created entry.
5 years ago
Lioncash
5ba49f188b
lm: Prevent redundant map lookups in Log()
We can perform the lookup and then do the contains check by checking the
end iterator. The benefit of this is that if we *do* find an entry, then
we aren't hashing into the map again to find it.
We can also get rid of an unused std::vector temporary while we're at
it.
5 years ago