Morph
458ab5a916
core: Move ResultStatus outside of System
Allows it to be a forward declaration in other header files.
4 years ago
Morph
3de2a8ba2c
core: Remove static system instance
4 years ago
Feng Chen
bd64cc420f
applets/web: Fallback to loader to get the manual romfs if none is found
4 years ago
Morph
6bc7f27655
kernel: hle_ipc: Foward declare KAutoObject
4 years ago
Morph
52fa30ab7d
service: Reduce header include overhead
4 years ago
ameerj
7a94851e9b
nvflinger: Use jthread and stop_token for VSync thread
Avoids a destruction data race that may occur on the vsync thread
4 years ago
ameerj
ae3422e3b7
nvhost_ctrl: Refactor usage of gpu.LockSync()
This seems to only be used to protect a later gpu function call. So we can move the lock into that call instead.
4 years ago
ameerj
20a88d9d62
gpu: Migrate implementation to the cpp file
4 years ago
Morph
13f4f14223
service: am: Make use of Exit to exit the currently running application
This also moves the call to the end to ensure services are properly destructed on exit.
4 years ago
Morph
37e30e80ed
core: Add Exit and ExitCallback
This allows ISelfController::Exit to stop the currently running application. This is typically used by homebrew to exit back to the homebrew menu after calling consoleExit with libnx.
4 years ago
Morph
0f5f1ec430
service: Replace service event creation with ServiceContext::CreateEvent
The service context helps to manage all created events and allows us to close them upon destruction.
4 years ago
Morph
d929edf269
network: Do not log IP address
Logging this may be a privacy concern for some users.
4 years ago
ameerj
98b3b5e0e3
common/logging: Reduce scope of fmt include
4 years ago
ameerj
f222d1e4ce
common/logging: Move Log::Entry declaration to a separate header
This reduces the load of requiring to include std::chrono in all files which include log.h
4 years ago
Andrew Strelsky
5a02e7aabf
prevent access violation from iob in Memory::IsValidVirtualAddress
4 years ago
Morph
203d8f7f60
style: Remove extra space preceding the :: operator
4 years ago
Morph
4be0824b5f
service: bcat: Remove BoxCat BCAT implementation
The current implementation of BoxCat as it stands is non-functional due to the reliance on a server providing BCAT files.
This implementation will eventually be replaced with one that allows the use of local BCAT files dumped from a Nintendo Switch.
4 years ago
Morph
ca8400ec1d
externals: Remove libzip
4 years ago
Morph
aa68bcdcae
file_sys: Remove vfs_libzip
4 years ago
Feng Chen
38fc397b0f
Fix KShareMemory object leak
4 years ago
german77
2a13524331
service/es: Update to 13.0.0
4 years ago
german77
40a0ba8eea
service/npns: Update to 13.0.0
4 years ago
german77
108969dc60
service/vi: Update to 13.0.0
4 years ago
german77
e2a4e12057
service/am: Update to 13.0.0
4 years ago
german77
b6af532687
service/audio: Update to 13.0.0
4 years ago
german77
f444f41880
service/hid: Update to 13.0.0
4 years ago
german77
6b95545f8a
service/btdrv: Update to 13.0.0
4 years ago
german77
dccf0b7f82
service/usb: Update to 13.0.0
4 years ago
Feng Chen
974547f98f
Fix KScopedAutoObject object leak when SendSyncRequest
4 years ago
Morph
f9b3d812b2
service: bsd: Stub Read
- Used by Diablo II: Resurrected
4 years ago
Morph
498cb34b8e
service: bsd: Implement Read
- Used by Diablo II: Resurrected
4 years ago
ameerj
d7977be416
general: Update style to clang-format-12
4 years ago
ameerj
a07f80d672
video_core: Fix jthread related hangs when stopping emulation
jthread on some compilers is more picky when it comes to the order in which objects are destroyed.
4 years ago
Lioncash
ebeb5086b1
core/profile_select: Avoid uninitialized read in SelectProfile()
The default constructor of UUID doesn't initialize its data members, so
we need to directly initialize it to be invalid.
4 years ago
Lioncash
e37bea609c
common/uuid: Add validity checking functions to interface
Given we have a function to invalidate, we should also have ones to
query the validity. Also makes the code more straightforward to read.
4 years ago
MonsterDruide1
1b67085cda
input_common/tas: Fallback to simple update
5 years ago
german77
bba1ab83d6
config: Move TAS options to it's own menu
5 years ago
MonsterDruide1
cce0d58312
core: Hacky TAS syncing & load pausing
To keep the TAS inputs synced to the game speed even through lag spikes and loading zones, deeper access is required.
First, the `TAS::UpdateThread` has to be executed exactly once per frame. This is done by connecting it to the service method the game calls to pass parameters to the GPU: `Service::VI::QueueBuffer`.
Second, the loading time of new subareas and/or kingdoms (SMO) can vary. To counteract that, the `CPU_BOOST_MODE` can be detected: In the `APM`-interface, the call to enabling/disabling the boost mode can be caught and forwarded to the TASing system, which can pause the script execution if neccessary and enabled in the settings.
5 years ago
Moonlacer
1c445d1050
remove-audio-stretching-setting
4 years ago
ameerj
2cb4bb689b
gpu: Use std::jthread for async gpu thread
4 years ago
lat9nq
7fc8560939
audin_u: Return a buffer event in RegisterBufferEvent
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
4 years ago
lat9nq
34c6afd6c1
audin_u: stub Start, RegisterBufferEvent, AppendAudioInBufferAuto
This also moves IAudioIn's definition to the header.
Required for Splatoon 2 LAN play.
4 years ago
Narr the Reg
77886a6134
ngct: Stub Match
Needed for Cruis'n Blast
4 years ago
Morph
65c2d00bd9
vfs: Partially implement GetFileTimeStampRaw
Gets rid of homebrew warnings using this func
4 years ago
ameerj
177affe3ce
core: Destroy main_process during shutdown
The main_process was never being cleaned up, causing a noticeable memory leak after subsequent launches. This change cleans up the memory during Core Shutdown, mitigating the leak.
4 years ago
Morph
9191db654d
FS: Mark recursive CreateDirectory as inaccurate and temporary
4 years ago
Morph
3e49eac2de
kernel: Add missing <functional> include
4 years ago
Morph
b529f4b6b7
file_sys/kernel_executable: Add missing <string> include
4 years ago
Morph
c0ff1dce0b
common: Move error handling to error.cpp/h
This allows us to avoid implicitly including <string> every time common_funcs.h is included.
4 years ago
german77
a36409ff16
am: Implement GetNotificationStorageChannelEvent
4 years ago