David Marcec
f2b61ff073
Deglobalize System: Btdrv
6 years ago
David Marcec
7da8e3f812
Deglobalize System: Aoc
6 years ago
David Marcec
2dbfac652e
Deglobalize System: Am
6 years ago
Zach Hilman
2a4730cbee
pl_u: Use kernel physical memory
6 years ago
Zach Hilman
60c2e9e675
qt: Prompt user for confirmation if exit lock is active
6 years ago
David Marcec
6325c3044c
server side clang format fix2
6 years ago
Zach Hilman
e58e3719d8
am: Implement ISelfController ExitLock commands
7 years ago
Zach Hilman
a7fda84902
am: Implement ISelfController Exit
Closes the current application.
7 years ago
Zach Hilman
4c1c8801a5
am: Add RequestExit event to AppletMessageQueue
Tested against libnx, signals to games to begin cleanup.
7 years ago
David Marcec
d3783fcc52
Use clang-format provided by build server
6 years ago
Zach Hilman
885ea2de2a
pl_u: Remove excess static qualifier
6 years ago
Zach Hilman
94afffe9e5
pl_u: Use OSS system archives if real archives don't exist
6 years ago
Zach Hilman
ae9604faba
pl_u: Expose method to encrypt TTF to BFTTF
7 years ago
Zach Hilman
8dd2e91427
prepo: Remove system global accessors
6 years ago
Zach Hilman
daf9cd9358
prepo: Implement SaveReport New and System variants
7 years ago
Zach Hilman
038bcec111
configure_debug: Move reporting option to logging
6 years ago
Zach Hilman
a49169e819
filesystem: Add const qualification to various accessors
7 years ago
Zach Hilman
c6ff4a6f4d
yuzu: Port old usages of Filesystem namespace to FilesystemController
7 years ago
Zach Hilman
4b91057688
services: Pass FileSystemController as reference to services that need it
7 years ago
Zach Hilman
1b04b72653
am: Unstub IApplicationFunctions EnsureSaveData (20)
Creates a default save data for the application given a user ID.
7 years ago
Zach Hilman
43af31836e
filesystem: Pass Size Getter functions to IFileSystem for sizes
7 years ago
Zach Hilman
8abbc619a1
filesystem: Add FileSystemController to deglobalize FS services
7 years ago
David Marcec
c2f966dbc1
Mark KickOffPb & SubmitGPFIFO as trace
These functions are not stubbed and are called fairly often. Due to the nature of how often they're called, we should keep them marked as LOG_TRACE instead of LOG_DEBUG or LOG_WARNING
6 years ago
David Marcec
0740758b25
disable clang-format temp
6 years ago
David Marcec
f9259c0383
Initial implementation of Ioctl2 & Ioctl3
Purpose of Ioctl2 and Ioctl3 is to prevent the passing of raw pointers through ioctls
6 years ago
Lioncash
d1abe8e92a
service/am: Remove usages of global system accessors
Avoids the use of global accessors, removing the reliance on global
state. This also makes dependencies explicit in the interface, as
opposed to being hidden
7 years ago
Lioncash
f763e23083
kernel/vm_manager: Correct doxygen comment parameter tags for MapPhysicalMemory/UnmapPhysicalMemory
Corrects the parameter names within the doxygen comments so that they
resolve properly.
7 years ago
Lioncash
b0da7e4262
kernel/vm_manager: Move variables closer to usage spots in MapPhysicalMemory/UnmapPhysicalMemory
Narrows the scope of variables down to where they're only necessary.
7 years ago
mailwl
a1d48b5f52
AM: Stub IApplicationFunctions::GetGpuErrorDetectedSystemEvent ( #2827 )
* AM: Implement IApplicationFunctions::GetGpuErrorDetectedSystemEvent
* Remove unneeded event clear
* Fix event name
6 years ago
Morph1984
cd81194fc0
ditto
Co-Authored-By: David <25727384+ogniK5377@users.noreply.github.com>
6 years ago
Morph1984
ef98828d40
IsVibrationEnabled() as a const member func
6 years ago
Morph1984
d6969fa7d4
clang-format
6 years ago
Morph1984
ee35f7adf7
Update npad.h
6 years ago
Morph1984
5130b8a6a9
Update npad.cpp
6 years ago
Morph1984
1559477740
Update hid.h
6 years ago
Morph1984
a83eb90a78
Update hid.cpp
6 years ago
Morph1984
84815fa879
Add Kernel::EventPair audio_input_device_switch_event;
6 years ago
Morph1984
ec95c73a12
remove <f32>
We can remove this since its already a f32 value
6 years ago
Morph1984
1449ed9dbf
audren_u: Stub IAudioDevice::QueryAudioDeviceInputEvent
6 years ago
Morph1984
58783b8a46
explicitly represent 1 as a float (1.0f instead of 1)
6 years ago
Morph1984
b1ca56bed2
Change u32 -> f32
Volume is a f32 value. (SwIPC describes it as a u32, but it is actually f32 as corroborated by switchbrew docs and SetAudioDeviceOutputVolume)
```cpp
const f32 volume = rp.Pop<f32>();
```
6 years ago
Morph1984
ba661c8d9a
service/audio/audren_u: Stub IAudioDevice::GetAudioDeviceOutputVolume
6 years ago
Lioncash
96cc9a9279
kernel/vm_manager: Correct behavior in failure case of UnmapPhysicalMemory()
If an unmapping operation fails, we shouldn't be decrementing the amount
of memory mapped and returning that the operation was successful. We
should actually be returning the error code in this case.
7 years ago
Lioncash
56c6f767ae
kernel/vm_manager: Reserve memory ahead of time for slow path in MergeAdjacentVMA
Avoids potentially expensive (depending on the size of the memory block)
allocations by reserving the necessary memory before performing both
insertions. This avoids scenarios where the second insert may cause a
reallocation to occur.
7 years ago
Lioncash
a43ee8d752
kernel/vm_manager: std::move shared_ptr instance in MergeAdjacentVMA
Avoids an unnecessary atomic reference count increment and decrement.
7 years ago
Lioncash
785c4946dd
kernel/vm_manager: Deduplicate iterator creation in MergeAdjacentVMA
Avoids needing to read the same long sequence of code in both code
paths. Also makes it slightly nicer to read and debug, as the locals
will be able to be shown in the debugger.
7 years ago
Lioncash
70485e690b
kernel/vm_manager: Simplify some std::vector constructor calls
Same behavior, one less magic constant to read.
7 years ago
Lioncash
3f695333cd
kernel/vm_manager: Simplify some assertion messages
Assertions already log out the function name, so there's no need to
manually include the function name in the assertion strings.
7 years ago
Ethan
5adbe66ae8
accommodate for fmt update
6 years ago
ReinUsesLisp
9a76e94b3d
gpu: Change optional<reference_wrapper<T>> to T* for FramebufferConfig
6 years ago