Lioncash
1ecaa86a52
kernel/memory: Remove unused includes
Prevents header churn and needing to recompile these files if these
headers are ever changed in the future.
6 years ago
Lioncash
a2e61e6542
kernel/memory: Remove unused variables in memory_block_manager
Prevents unused variable warnings.
6 years ago
Lioncash
26aee55aef
kernel/memory: Make use of std::array consistently in address_space_info
This allows tuning standard library implementations to enable or disable
range checks at runtime, which is nicer for debugging.
6 years ago
Lioncash
dfa582169b
kernel/memory: Resolve -Wshadow warnings
Prevents variable name clashing.
6 years ago
Lioncash
93c083aef1
kernel/memory: Amend potential encoding warnings
While èis generally representable in some language encodings, in some
it isn't and will result in compilation warnings occurring. To remain
friendly with other language's codepages on Windows, we normalize it to
an ASCII e.
6 years ago
Lioncash
0ec07e8763
hle_ipc: Eliminate core memory globals
We can just pass the required instances into the constructor of the
request, eliminating all usages of the global system accessor.
6 years ago
bunnei
c49f51eaf1
Update src/core/hle/service/am/am.cpp
Co-authored-by: Mat M. <mathew1800@gmail.com>
6 years ago
Lioncash
aabf5b2059
readable_event: Remove unnecessary semicolon in Signal()
Resolves a -Wextra-semi warning.
While we're at it, we can invert the branch to form a guard clause,
unindenting all of the contained code.
6 years ago
David Marcec
d5a69ecb68
nvdrv: Fix GetGpuTime stack corruption
IoctlGetGpuTime should be 16 bytes, not 8.
6 years ago
David Marcec
8850d85341
am: IHomeMenuFunctions:GetPopFromGeneralChannelEvent
QLaunch 1.0.0
6 years ago
Jason Parker
4b16e93f1a
caps:su Stub out SetShimLibraryVersion
Used by Animal Crossing: New Horizons when trying to take a picture.
6 years ago
David Marcec
78e5f162e2
fs-srv: GetFreeSpaceSize & GetTotalSpaceSize
Closes #3533
Turns out the functions were already implemented but just never added
6 years ago
David Marcec
55e423c8b6
nim: CreateServerInterface, CreateAccessorInterface, CreateAsyncInterface
Closes #3026
6 years ago
David Marcec
738140fdd8
caps: Add missing service names to caps:su
SetShimLibraryVersion, SaveScreenShotEx1 & SaveScreenShotEx2 were missing
6 years ago
David Marcec
10804d6d0e
am: GetFriendInvitationStorageChannelEvent
Closes #3829
6 years ago
David Marcec
973c40b63e
psm: Mark as debug instead of warning
No point to emulate battery life. However options are broken out if we ever want to add a setting for it
6 years ago
David Marcec
9acd336422
am: Properly implement GetDisplayVersion
Properly implement IApplicationFunctions::GetDisplayVersion
6 years ago
David Marcec
8bddc750e2
am: IsVrModeEnabled & SetVrModeEnabled fixes
Return the proper state of vr mode for IsVrModeEnabled
We should not return an error for SetVrModeEnabled. When VR Mode is turned on, it signals to lbl to turn vr mode on, not return an error code
6 years ago
David Marcec
1417849a2b
acc: Return a unique value per account for GetAccountId
6 years ago
David Marcec
1fbc341aba
acc: Fix InitializeApplicationInfo
We're not suppose to pop a u64, should just read the sent pid and check that
6 years ago
David Marcec
b6538c3e7c
kernel: Don't fail silently
6 years ago
David Marcec
b4dbf1b9c7
Don't fail silently for vi, sm, set and ns services
6 years ago
David Marcec
2261cf24af
kernel: Bad GetInfo ids should not be marked as stubs
As we currently match hardware and don't return a successful result, these should be marked as errors instead of warnings and as stubs.
6 years ago
David Marcec
fdbeb90bd0
Updated comment to reflect ListQualifiedUsers better
6 years ago
David Marcec
0f6064e5c9
style: Change AMs & Glues error codes to be dec instead of hex
Consistency for the rest of the error codes in the codebase
6 years ago
David Marcec
1276e425d2
marked stubs
6 years ago
David Marcec
a17813c4f4
account: ListQualifiedUsers
Closes #2844
6 years ago
David Marcec
fb51a655b8
Audin:u ListAudioIns, OpenAudioIn, ListAudioInsAuto, OpenAudioInAuto, ListAudioInsAutoFiltered, OpenAudioInProtocolSpecified
Closes #2874
6 years ago
M&M
c1ffaa8b29
services: hid: Stub StopSevenSixAxisSensor.
- Used by The Legend of Zelda: Breath of the Wild v1.6.0
6 years ago
David Marcec
03a6f3b0f4
vi: Don't let uninitialized data pass as a response for SetBufferCount
Currently SetBufferCount doesn't write to the out buffer which then contains uninitialized data. This leads to non-zero data which leads to responding with different error codes
6 years ago
Lioncash
cc84b48ce5
physical_core: Make use of std::make_unique instead of std::make_shared in ctor
We can also allow unicorn to be constructed in 32-bit mode or 64-bit
mode to satisfy the need for both interpreter instances.
Allows this code to compile successfully of non x86-64 architectures.
6 years ago
Lioncash
ce7c02735e
shared_memory: Amend doxygen reference
Amends the parameter to match the documentation reference.
Resolves a -Wdocumentation warning with clang.
6 years ago
Lioncash
4730347f8e
svc: Re-add MapProcessCodeMemory/UnmapProcessCodeMemory
These were lost in the re-implementation of the virtual memory manager.
6 years ago
Lioncash
bed4865981
svc: Remove unused variable
Since the VMM refactor, this is no longer used or needed.
6 years ago
Lioncash
f77b5dfe81
page_table: Remove unused captures
Any time the lambda function is called, the permission being used in the
capture would be passed in as an argument to the lambda, so the capture
is unnecessary.
6 years ago
bunnei
ff0c49e1ce
kernel: memory: Improve implementation of device shared memory. ( #3707 )
* kernel: memory: Improve implementation of device shared memory.
* fixup! kernel: memory: Improve implementation of device shared memory.
* fixup! kernel: memory: Improve implementation of device shared memory.
6 years ago
David
11c63ca969
audio_renderer: Preliminary BehaviorInfo ( #3736 )
* audio_renderer: Preliminary BehaviorInfo
* clang format
* Fixed IsRevisionSupported
* fixed IsValidRevision
* Fixed logic error & spelling errors & crash
* Addressed issues
6 years ago
Lioncash
99eaa2e6f2
service: Update function tables
Keeps the service function tables up to date.
Updated based off information on SwitchBrew.
6 years ago
FearlessTobi
4e99a06c70
npad: Lower log level for VibrateController to Debug
6 years ago
FearlessTobi
6ce0f3575a
audren: Lower log level for RequestUpdateImpl to Debug
6 years ago
Lioncash
bfee33cce3
service/time: Remove reliance on the global system accessor
Eliminates usages of the global system accessor and instead passes the
existing system instance into the interfaces.
6 years ago
MerryMage
2bfac7b61d
thread: FPCR.FZ is likely not 1
6 years ago
bunnei
a8d5d08e2e
service: hid: npad: Fix implicit fallthrough errors.
6 years ago
Lioncash
7714b02d95
time/system_clock_core: Remove unnecessary initializer
This is already initialized within the class body.
6 years ago
Lioncash
b533f18ab9
service/time: Mark IsStandardNetworkSystemClockAccuracySufficient as const
This doesn't modify internal member state.
6 years ago
Lioncash
0cfd3b94db
service/time: Add virtual destructors where applicable
Many of these implementations are used to implement a polymorphic
interface. While not directly used polymorphically, this prevents
virtual destruction from ever becoming an issue.
6 years ago
Lioncash
4d8a8a8033
service: Remove unused RequestParser instances
These aren't used, so they should be removed to reduce compilation
warnings.
6 years ago
Lioncash
7e585bce28
memory/slab_heap: Make use of static_cast over reinterpret_cast
Casting from void* with static_cast is permitted by the standard, so we
can just make use of that instead.
6 years ago
Lioncash
64f226889c
am: Resolve ineffective moves
Previously const objects were being std::moved, which results in no move
actually occurring. This resolves that.
6 years ago
bunnei
8bbe74a8dc
core: hle: Address various feedback & code cleanup.
- Should be no functional changes.
6 years ago