Commit Graph

2284 Commits (458fdda7005f5c84dad652792254260b01a1f389)

Author SHA1 Message Date
Zach Hilman a353322b58 Move loop condition to free function 7 years ago
Zach Hilman 50153a1cb2 Avoid initializing single-joycon layouts with handheld controller 7 years ago
shinyquagsire23 2f9c0e7c7e hid: Update all layouts and only show handheld as connected, fixes libnx input for P1_AUTO 7 years ago
mailwl a2efb1dd48 Common/string_util: add StringFromBuffer function
convert input buffer (std::vector<u8>) to string, stripping zero chars
7 years ago
bunnei ee1eb8cfdf
Merge pull request #522 from mailwl/mm-u
Service/MM: add service and stub some functions
7 years ago
bunnei 9f21f20d7c
Merge pull request #503 from mailwl/nfp-stubs
Service/nfp:user : stub some functions.
7 years ago
mailwl 61fbf5c8e6 Stub IUser::AttachAvailabilityChangeEvent 7 years ago
greggameplayer be09dfeed9 nvdrv/devices/nvidia_ctrl_gpu : add IoctlCommands with their params (#524)
* add IoctlCommands with their params in nvidia_ctrl_gpu.h

* add function related to the changes done previously

* fix clang-format

* delete trailing whitespace

* correct mistake
7 years ago
mailwl a776464a55 Remove unused header files 7 years ago
bunnei c5684411a0 nifm: Stub out IRequest::SetConnectionConfirmationOption. 7 years ago
bunnei 2abe5e39fc am: Stub out IApplicationFunctions::GetPseudoDeviceId. 7 years ago
mailwl 62cd19e4ae Small fixes 7 years ago
mailwl 7e3d746b06 Service/MM: add service and stub some functions 7 years ago
greggameplayer 4fad069870 Nvdrv/devices/nvhost_gpu : Add some IoctlCommands with their params (#511)
* Add some IoctlCommand with their params to nvhost_gpu

* fix clang-format

* delete trailing whitespace

* fix some clang-format

* delete one other trailing whitespace

* last clang-format fix
7 years ago
mailwl bb081dd1d2 Correct function results 7 years ago
mailwl 019778707d Service/nfp:user : stub some functions.
Used by Zelda: BoTW
7 years ago
bunnei afdd2f4cad am: Implement ILibraryAppletAccessor::PopOutData. 7 years ago
bunnei df4336a85e am: ISelfController:LaunchableEvent should be sticky. 7 years ago
bunnei 51d8a2c322 am: Stub out ILibraryAppletAccessor Start and GetResult methods. 7 years ago
bunnei 876b805e50 am: Implement ILibraryAppletAccessor::PushInData. 7 years ago
bunnei 2dcb98226b am: Implement IStorageAccessor::Write. 7 years ago
bunnei 9fedfbe141 am: Cleanup IStorageAccessor::Read. 7 years ago
bunnei d73c22bf4d am: Implement ILibraryAppletCreator::CreateStorage. 7 years ago
bunnei 41faeeeb03
Merge pull request #484 from mailwl/nvhost-nvdec
Services/nvdrv: add '/dev/nvhost-nvdec' device
7 years ago
Subv 9cd87a6352 Kernel/Threads: A thread waking up by timeout from a WaitProcessWideKey may already have an assigned lock owner.
This situation may happen like so:
Thread 1 with low priority calls WaitProcessWideKey with timeout.
Thread 2 with high priority calls WaitProcessWideKey without timeout.
Thread 3 calls SignalProcessWideKey
- Thread 2 acquires the lock and awakens.
- Thread 1 can't acquire the lock and is put to sleep with the lock owner being Thread 2.
Thread 1's timeout expires, with the lock owner still being set to Thread 2.
7 years ago
mailwl 11568c2ea3 Service/time: implement posix time to calendar conversion 7 years ago
bunnei bdd68fc210
Merge pull request #488 from Subv/thread_masks
Kernel/SVC: Corrected the behavior of svcSetThreadCoreMask for core values -2 and -3.
7 years ago
Subv c02d7c8ce7 Kernel/Thread: Corrected a typo that caused the affinity mask to never be changed. 7 years ago
Subv 3957b0c34e Kernel/SVC: Support special core values -2 and -3 in svcSetThreadCoreMask.
Also added some proper error handling.
7 years ago
greggameplayer 94fecef137 add IPC CommandType & Some HID FunctionInfo (#487)
* add some CommandType

* add some hid FunctionInfo

* add some other HID FunctionInfo

* delete non useful comments
7 years ago
Subv d1f9c750a6 Kernel/Thread: Corrected a typo in an assert about the processor id. 7 years ago
mailwl 9a273bb23b Services/nvdrv: add '/dev/nvhost-nvdec' device 7 years ago
bunnei 6306655665 nvhost_ctrl: Stub out IocCtrlEventRegister. 7 years ago
bunnei 0658973a4e nvhost_ctrl: Stub out IocCtrlEventWaitAsyncCommand. 7 years ago
mailwl 7757cc1a7f Service/BCAT: add module and services 7 years ago
bunnei 7029daa32e
Merge pull request #475 from ogniK5377/nvos-getconfig
NvOsGetConfigU32 should return null instead of 0 for default output value
7 years ago
David Marcec 6138075df0 NvOsGetConfigU32 should return null instead of 0 for default output 7 years ago
bunnei 0d681f7a7a am: Stub IApplicationFunctions GetDisplayVersion. 7 years ago
greggameplayer b16e5c6a81 Add & correct miscellaneous things (#470)
* add some InfoType

* correct OpenApplicationProxy cmd number

* add IDisplayController functions

* fix clang-format

* add more system languages
7 years ago
bunnei 87f21657f8
Merge pull request #466 from mailwl/nv-timeout
Stub NVGPU_IOCTL_CHANNEL_SET_TIMEOUT
7 years ago
David e6df4b37db GetAudioRendererWorkBufferSize impl (#465)
* GetAudioRendererWorkBufferSize impl

Impl of GetAudioRendererWorkBufferSize based on RE, if this can be cleaned up, please contribute!

* Naming conventions

* Removed unneeded placeholder

* lioncache changes

* fixed const

* switched to Common::AlignUp
7 years ago
David e3a92b09ba Stubbed NVGPU_GPU_IOCTL_ZBC_SET_TABLE (#463)
We have no clue on what this actually does yet so stubbing it since it's just input only should be fine for now
7 years ago
mailwl e6a87428ae Stub NVGPU_IOCTL_CHANNEL_SET_TIMEOUT
Used in Nintendo Labo ToyCon 1&2
7 years ago
David Marcec c74d24f841 Fix deadlocks caused from HID having too many layouts
Games such as SMO deadlock if we have more than 2 layouts
7 years ago
bunnei 4cb92b776c
Merge pull request #460 from greggameplayer/patch-6
Add & correct some error modules
7 years ago
bunnei a55f112cb1
Merge pull request #459 from greggameplayer/patch-5
Add ioctl commands with their params and size check
7 years ago
bunnei 3825b703fa
Merge pull request #454 from Subv/signal_processwide
Kernel/SVC: Signal the highest priority threads first in svcSignalProcessWideKey
7 years ago
greggameplayer 1efb81a61d
Add & correct some error modules 7 years ago
greggameplayer 3c26b7179d
change some functions
according to the changes made previously
7 years ago
greggameplayer 8c648b59cd
correct placement and add size check 7 years ago
greggameplayer f217d6c66f
Add ioctl commands with their params and size check 7 years ago
David 58d9078742 Implemented NVHOST_IOCTL_CHANNEL_GET_WAITBASE (#440)
* Implemented NVHOST_IOCTL_CHANNEL_GET_WAITBASE

struct + 4 seems to be hard coded at 0 and struct + 0 seems to be ignored?

* IocGetWaitbase -> IocChannelGetWaitbaseCommand

* Added super late fixes
7 years ago
bunnei 58857b9f46
Merge pull request #456 from Subv/unmap_buffer
Implemented nvhost-as-gpu's UnmapBuffer and nvmap's Free ioctls.
7 years ago
greggameplayer c6eaf0b2cf Correct audio command numbers & add or rename some functions (#455)
* Add unknown function at the number command 2

* correct audout:u commands numbers

* correct audrec:u cmd number & add Unknown function

* correct IAudioDevice command numbers

* correct codecctl cmd numbers & rename the 8 function

* correct place of unknown function & fix clang-format
7 years ago
bunnei 693f78e6c2
Merge pull request #457 from Subv/mutex_waiters
Mutex: Do not assert when the mutex waiting threads list isn't empty on mutex release.
7 years ago
bunnei ff54287a73
Merge pull request #445 from greggameplayer/patch-2
Properly rename functions of Fatal Module & add ThrowFatal to this module
7 years ago
Subv fd500d3da6 Mutex: Do not assert when the mutex waiting threads list isn't empty on mutex release.
A thread may own multiple mutexes at the same time, and only release one of them while other threads are waiting for the other mutexes.
7 years ago
Subv 525492428d GPU: Implemented the nvmap Free ioctl.
It releases a reference to an nvmap object
7 years ago
Subv 72b5c448cf GPU: Implemented nvhost-as-gpu's UnmapBuffer ioctl.
It removes a mapping previously created with the MapBufferEx ioctl.
7 years ago
Sebastian Valle 353e1dd7e4
Merge pull request #443 from ogniK5377/ipc-500
Added IPC RequestWithContext & ControlWithContext
7 years ago
greggameplayer a215f63235 Add and correct some Error Modules (#444)
* Add and correct some Error Modules
7 years ago
Subv 2a35a36251 Kernel/SVC: Signal the highest priority threads first in svcSignalProcessWideKey. 7 years ago
Subv c74f2555b6 Kernel/Threads: Reschedule the proper core when operating on that core's threads. 7 years ago
Subv fab3dd98fe SVC: Removed unused WaitSynchronization1 function 7 years ago
greggameplayer abe79b2724
rename fatal:u functions & add ThrowFatal 7 years ago
greggameplayer 536cfb13e6
Properly update fatal.h void name 7 years ago
greggameplayer e35cfc1b03
Properly rename fatal module functions 7 years ago
David Marcec fd86cdb2e2 Added RequestWithContext & ControlWithContext 7 years ago
Hexagon12 0984e9d601 Updated nfp with more service names 7 years ago
bunnei 1b5c02fc37
Merge pull request #436 from bunnei/multi-core
Initial support for multi-core
7 years ago
David Marcec e7b0e8a3cc More accurate GetTPCMasks impl 7 years ago
bunnei 46ec9a9bc9 thread: Rename mask to affinity_masks. 7 years ago
bunnei fbd7afefaa thread: Support core change on ResumeFromWait and improve ChangeCore. 7 years ago
bunnei 91af2f94e8 scheduler: Protect scheduling functions with a global mutex. 7 years ago
bunnei 4822765fef thread: Initialize ideal_core and mask members. 7 years ago
bunnei 8aa5d25f82 threading: Reschedule only on cores that are necessary. 7 years ago
bunnei d6e3cd9a17 svc: Implement GetThreadCoreMask and SetThreadCoreMask. 7 years ago
bunnei 6ea8b3ef60 thread: Implement ChangeCore function. 7 years ago
bunnei 1c36f2a798 svc: SignalProcessWideKey should apply to all cores. 7 years ago
bunnei 6a890023e9 svc: Implement GetCurrentProcessorNumber. 7 years ago
bunnei a434fdcb10 core: Implement multicore support. 7 years ago
Hexagon12 5e9c547952 Stubs for QLaunch (#428)
* Stubs for QLaunch

* Wiped unrelated stuff

* Addressed comment

* Dropped GetPopFromGeneralChannelEvent
7 years ago
Max Thomas 266703b50e hid: Tweaks, Analog Sticks (#435)
* hid: Update mouse/keyboard state

* hid: Working analog sticks

* hid: Nits

* hid: Nits

* hid: Update mystery sections

* hid: Tweaks
7 years ago
bunnei 1147db9dd1
Merge pull request #431 from lioncash/fmt
general: Make formatting of logged hex values more straightforward
7 years ago
Lioncash 7c9644646f
general: Make formatting of logged hex values more straightforward
This makes the formatting expectations more obvious (e.g. any zero padding specified
is padding that's entirely dedicated to the value being printed, not any pretty-printing
that also gets tacked on).
7 years ago
bunnei fadab1d5f3 ipc: Add support for PopIpcInterface() method.
- This can be used for domain objects as inputs to service functions.
7 years ago
bunnei 8262aeeac8
Merge pull request #429 from Subv/ioctl_corruption
GPU: Don't write to invalid memory locations when handling ioctls that don't have an output.
7 years ago
David ff2f0d980a GetSharedFontInOrderOfPriority (#381)
* GetSharedFontInOrderOfPriority

* Update pl_u.cpp

* Ability to use ReadBuffer and WriteBuffer with different buffer indexes, fixed up GetSharedFontInOrderOfPriority

* switched to NGLOG

* Update pl_u.cpp

* Update pl_u.cpp

* language_code is actually language code and not index

* u32->u64

* final cleanups
7 years ago
Subv 0c8b7c00e8 GPU: Don't write to invalid memory locations when handling ioctls that don't have an output. 7 years ago
Lioncash 0197e28cc9
core_timing: Namespace all functions and constants in core_timing's header
All of these variables and functions are related to timings and should be within the namespace.
7 years ago
Lioncash 3abba08080
string_util: Remove StringFromFormat() and related functions
Given we utilize fmt, we don't need to provide our own functions for formatting anymore
7 years ago
bunnei 334e859ab1 am: Fix GetDesiredLanguage implementation. 7 years ago
bunnei 17b16cf6f6 set: Fix GetAvailableLanguageCodes implementation. 7 years ago
Lioncash 843dd62c81
core: Replace usages of LOG_GENERIC with new fmt-capable equivalents 7 years ago
Lioncash 8475496630
general: Convert assertion macros over to be fmt-compatible 7 years ago
David Marcec abc23416e8 Switched to NGLOG_WARNING 7 years ago
David Marcec 7391741a20 Merge branch 'master' of https://github.com/yuzu-emu/yuzu into service-impl 7 years ago
David Marcec f1f7f2cba9 Added PREPO to logging backend, Removed comments from SaveReportWithUser 7 years ago
Lioncash 1913cf4783
kernel/shared_memory: Remove unnecessary semicolon at end of ConvertPermissions()
Functions don't need to be terminated by semicolons.
7 years ago
Lioncash 40dee76c57
kernel: Migrate logging macros to fmt-compatible ones 7 years ago
mailwl 2ba4e2263c Service/PCTL: convert to module, add services, stub
PCTL::CreateServiceWithoutInitialize and IParentalControlService::Initialize, required by Kirby Star Allies
7 years ago
Lioncash d08cfb55fe
service: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash 88eb612718
vi: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash bd9c2aa51f
time: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash bfe49edb2a
ssl: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash 82413a6c89
spl: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash 62c69f4a1e
sockets: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash 2a3f3bf977
sm: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash 32ece18bb6
set: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash 13f9cf2bd0
pctl: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash 72b497e876
nvflinger: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash 285d8d8b7d
nvdrv: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash 022fc59dcd
ns: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash 47054327c2
nifm: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash 28b92db7fd
nfp: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash dabfd90dfe
lm: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash 9cd7485cd7
hid: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash 8fc4003dab
friend: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash b5b613ea29
filesystem: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash c6a740d7c2
fatal: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash 8d32bf9a96
audio: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash d652e41365
apm: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash e74dbfc572
aoc: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash 5483c08b44
am: Move logging macros over to new fmt-compatible ones 7 years ago
Lioncash f85d880ac6
acc: Move logging macros over to new fmt-compatible ones 7 years ago
mailwl a0179e5ca5 Service/FS: implement IFileSystem::RenameFile 7 years ago
bunnei 0214351f4f
Merge pull request #370 from Subv/sync_primitives
Kernel: Reworked the new kernel synchronization primitives.
7 years ago
bunnei bf25299272
Merge pull request #384 from Subv/nvhost-remap
Nvdrv/nvhost-as-gpu: Implemented the ioctl REMAP command.
7 years ago
Subv 46572d027d Kernel: Implemented mutex priority inheritance.
Verified with a hwtest and implemented based on reverse engineering.

Thread A's priority will get bumped to the highest priority among all the threads that are waiting for a mutex that A holds.
Once A releases the mutex and ownership is transferred to B, A's priority will return to normal and B's priority will be bumped.
7 years ago
Subv 0d6eafe11a NvDrv/nvhost-as-gpu: Ensure that the object passed to MapBufferEx has already been allocated.
Also added a consistency check and a comment for the case when the object id is different than its handle. The real nvservices doesn't make a distinction between ids and handles, each object gets an unique handle which doubles as its id.
7 years ago
Subv e4bd0bddea Nvdrv/nvhost-as-gpu: Implemented the ioctl REMAP command.
It takes a previously-reserved (AllocateSpace) GPU memory address and maps it to the address of the nvmap object passed to Remap.
7 years ago
Subv e862c50a70 Nvdrv: Assert when receiving an unimplemented ioctl in the nv* handlers. 7 years ago
David Marcec 27650499bc GetIUserInterface->CreateUserInterface, Added todos and stub logs. Playreport->PlayReport. 7 years ago
David df669bc540
lioncash proposed changes 7 years ago
David Marcec f3137d3bc1 Implemented GetIUserInterface properly, Playreport and SSL::SetInterfaceVersion. Fixed ipc issues with IAudioDevice(wrong ids) 7 years ago
Subv a70ed9c8ae Kernel: Use 0x2C as default main thread priority for homebrew and lone NRO/NSOs 7 years ago
Subv 013778aa21 Qt: Update the WaitTree widget to show info about the current mutex of each thread. 7 years ago
Subv be155f4d9d Kernel: Remove unused ConditionVariable class. 7 years ago
Subv 5fdfbfe25a Kernel: Remove old and unused Mutex code. 7 years ago
Subv b18ccf9399 Kernel: Properly implemented svcWaitProcessWideKey and svcSignalProcessWideKey
They work in tandem with guest code to provide synchronization primitives along with svcArbitrateLock/Unlock
7 years ago
Subv e81a2080eb Kernel: Corrected the implementation of svcArbitrateLock and svcArbitrateUnlock.
Switch mutexes are no longer kernel objects, they are managed in userland and only use the kernel to handle the contention case.
Mutex addresses store a special flag value (0x40000000) to notify the guest code that there are still some threads waiting for the mutex to be released. This flag is updated when a thread calls ArbitrateUnlock.

TODO:
* Fix svcWaitProcessWideKey
* Fix svcSignalProcessWideKey
* Remove the Mutex class.
7 years ago
bunnei 1723b4d8d4
Merge pull request #372 from lioncash/enum
resource_limit: Make ResourceTypes an enum class
7 years ago
Lioncash 659a612368 core: Relocate g_service_manager to the System class
Converts the service manager from a global into an instance-based
variable.
7 years ago
Lioncash bec05db746 resource_limit: Make ResourceTypes an enum class
Prevents enum identifiers from leaking into the surrounding scope.
7 years ago
bunnei 1df3a7710e
Merge pull request #340 from mailwl/vi-update
Service/VI: stub SetLayerVisibility, fix GetDisplayResolution output
7 years ago
bunnei b11f6f90e7
Merge pull request #360 from lioncash/namespaces
service: Use nested namespace specifiers where applicable
7 years ago
bunnei 701dd649e6
Merge pull request #363 from lioncash/array-size
common_funcs: Remove ARRAY_SIZE macro
7 years ago
Lioncash d9e316e353 common_funcs: Remove ARRAY_SIZE macro
C++17 has non-member size() which we can just call where necessary.
7 years ago
Lioncash ccca5e7c28 service: Use nested namespace specifiers where applicable
Tidies up namespace declarations
7 years ago
Lioncash 3990da488b vi: Remove redundant initializers in the constructors 7 years ago
bunnei de18592179 nvflinger: Call MicroProfileFlip on NVFlinger::Compose. 7 years ago
mailwl 5922f2c46d Service/VI: stub SetLayerVisibility, fix GetDisplayResolution output
both SetLayerVisibility() functions used in Lego games, GetDisplayResolution()
fixed according switchbrew.org
7 years ago
Hexagon12 e52a87b98a Various service name fixes - part 2 (rebased) (#322)
* Updated ACC with more service names

* Updated SVC with more service names

* Updated set with more service names

* Updated sockets with more service names

* Updated SPL with more service names

* Updated time with more service names

* Updated vi with more service names
7 years ago
bunnei 44e09ba807
Merge pull request #338 from bunnei/unrequire-shared-font
pl_u: Use empty shared font if none is available.
7 years ago
bunnei ac628f139d pl_u: Use empty shared font if none is available.
- Makes games work in lieu of shared_font.bin.
7 years ago
bunnei bddad50dd4 fsp_srv: Implement DeleteFile.
- Used by Binding of Isaac.
7 years ago
bunnei 2b9a6b3281
Merge pull request #332 from bunnei/fix-total-mem-usage
vm_manager: Increase GetTotalMemoryUsage value.
7 years ago
bunnei 43f0f163e1 vm_manager: Increase GetTotalMemoryUsage value.
- Gets Binding of Isaac running.
7 years ago
bunnei 9cab6809f2 fsp_srv: Implement IFile::Flush. 7 years ago
bunnei c6ab2c94d9
Merge pull request #323 from Hexagon12/stub-hid
Service/HID: Stubbed out GetPlayerLedPattern
7 years ago
Hexagon12 e10248f308 Fixed normal params in GetDisplayResolution 7 years ago
Hexagon12 56d2958aaf Stubbed out GetPlayerLedPattern 7 years ago
bunnei b7369f99ec
Merge pull request #319 from Hexagon12/service-name-fix
Various service name fixes - part 1
7 years ago
mailwl 39f75350bb Service/SSL: update service according switchbrew 7 years ago
Hexagon12 cc89b7bfcb Various fixes and clang 7 years ago
Hexagon12 a155d3b7ff
Decimal change 7 years ago
Hexagon12 88f1fe79c6
Updated pctl:a with new service names. 7 years ago
Hexagon12 177bdb94df
Updated nvmemp with new service names. 7 years ago
Hexagon12 4d1a2509df
Updated nvdrv with more service names. 7 years ago
Hexagon12 ac50d2cd60
Updated pl:u with more service names. 7 years ago
Hexagon12 2d2de1422e
Updated hid with more service names. 7 years ago
Hexagon12 9e2f30ab4a
Updated friend:u with more service names. 7 years ago
Hexagon12 be50a6ceef
Updated the unknown name 7 years ago
Hexagon12 7788178f01
Updated friend:a with more service names. 7 years ago
Hexagon12 ae5e2d07c6
Updated fsp-srv with more service names. 7 years ago
Hexagon12 ee3ca32fa3
Updated CodecCtl with more service names. 7 years ago
Hexagon12 ed2da0ef70
Updated audren with more service names. 7 years ago
Hexagon12 c0011fdacd
Updated audrec with more service names. 7 years ago
Hexagon12 a886e3bc2a
Updated audout with more service names. 7 years ago
Hexagon12 4cf4a5ecdc
Updated audin with more service names. 7 years ago
Hexagon12 c79c9755b4
Updated AOC with more service names. 7 years ago
Hexagon12 434cffa37d
Updated AppletOE with more service names. 7 years ago
Hexagon12 0cc2e7d81d
Updated AppletAE with more service names. 7 years ago
Hexagon12 84d39530cf
Updated AM with more service names. 7 years ago
mailwl 3769a80fac Service/ACC: convert to module, add acc:aa, acc:su, acc:u1 services 7 years ago
James Rowe f16eb90b8f Fix spelling of Initialize 7 years ago
bunnei 40bccd74d3 svc: Stub out SetThreadActivity, GetThreadContext. 7 years ago
bunnei 4c0cf3d5ff audren_u: Stub out GetActiveAudioDeviceName. 7 years ago
bunnei 3d4dfefaec audout_u: Implement GetAudioOutState. 7 years ago
bunnei 910b02d74b nifm: GetResult does not return a data field. 7 years ago
bunnei 9d08a11c1d vi: Implement GetDisplayResolution. 7 years ago
bunnei 99ae9dbf49 shared_memory: Remove incorrect 3ds-specific check. 7 years ago
bunnei 9eb485702f service: Add friend:u interface. 7 years ago
Daniel Lim Wee Soong c9845c486e externals: Update fmt to 4d35f94
Versions prior to this didn't compile on OpenBSD due to unconditional
use of the non-standard strtod_l() function.

The fmt::MemoryWriter API has been removed in the intervening
versions, so replace its use with fmt::memory_buffer and fmt::format_to.

The library also no longer provides the fmt::fmt ALIAS, so define
it in externals/CMakeLists.txt.
7 years ago
bunnei 6022bc8394
Merge pull request #297 from bunnei/hid-touch-state
hid: Write empty touch screen state.
7 years ago
bunnei 72b90494e7 hid: Write empty touch screen state. 7 years ago
bunnei f4ba523992 hle_ipc, fsp_srv: Cleanup logging. 7 years ago
bunnei b6b7d78ded hid: Stub out GetSupportedNpadStyleSet. 7 years ago
bunnei eef097bdc7 hle_ipc: Do not ensure write buffer size. 7 years ago
bunnei 88582b84a5 fsp_srv: Implement GetSize and SetSize. 7 years ago
bunnei b27ab46bde memory: Fix stack region. 7 years ago
bunnei 86095e62cc audren_u: Stub QueryAudioDeviceSystemEvent and GetActiveChannelCount. 7 years ago
bunnei f6893969b3 svc: Stub GetThreadCoreMask. 7 years ago
bunnei deaf6f9e35 service: Add NFP module interface.
service: Initialize NFP service.

Log: Add NFP service as a log subtype.
7 years ago
Lioncash 36e60c217a result: Check against self-assignment in ResultVal's copy assignment operator
Avoids doing work that doesn't need to be done.
7 years ago
bunnei 5ecf152c8e config: Rename is_docked to use_docked_mode to be consistent with other config bools. 7 years ago
bunnei 12b05c719e config: Add setting for whether the system is docked or not. 7 years ago
bunnei 8c8da93693
Merge pull request #280 from bunnei/misc-service-fixes
Minor changes to VI, PL, HID, and AUDREN
7 years ago
mailwl 692639e9b7 Service/sockets: add bsd:s, nsd:a, nsd:u services 7 years ago
bunnei 6f27edccb2 audren_u: Fix GetAudioDevice. 7 years ago
bunnei bde3e667be hid: Stub out SetNpadJoyAssignmentModeDual. 7 years ago
bunnei 868f7f18b9 pl_u: Add RequestLoad. 7 years ago
bunnei a10baacf9e
Merge pull request #265 from bunnei/tegra-progress-2
Tegra progress 2
7 years ago
bunnei a397a9e9a4
Merge pull request #255 from Subv/sd_card
FS: Implemented access to the SD card
7 years ago
bunnei 054393917e renderer_opengl: Fixes for properly flushing & rendering the framebuffer. 7 years ago
bunnei ec4e1a3685 renderer_opengl: Better handling of framebuffer transform flags. 7 years ago
mailwl 9ee33350de Service/SSL: add ssl service 7 years ago
bunnei e12c2cf8c6 nvdisp_disp0: Always flush and invalidate framebuffer region.
- Workaround for texture forwarding until we have a better place.
7 years ago
bunnei bfe45774f1 video_core: Move FramebufferInfo to FramebufferConfig in GPU. 7 years ago
mailwl 95e747cd06 Service/spl: add module and services 7 years ago
Subv eff3f60b73 FS: Implemented IFileSystem::CreateDirectory. 7 years ago
mailwl 6673ed1274 Service/vi: convert services to module 7 years ago
mailwl dca7cfb9cf Service: add fatal:u, fatal:p services 7 years ago
Subv 0485ee499f FS: Implemented IFileSystem's OpenDirectory function.
Note that the filter parameter is not yet implemented.
7 years ago
Subv 21bac2d7d7 FS: Added the IDirectory IPC interface and implemented its two functions. 7 years ago
Subv 808704c78c FS: Implement MountSdCard. 7 years ago
Subv c4ca802b9d FS: Added an SDMC archive factory and registered it to the SDMC archive on startup. 7 years ago
N00byKing 1d8b6ad13b Clang Fixes 7 years ago
N00byKing d16e08454d
oops 7 years ago
N00byKing 0e72d0d826 More Warning cleanups 7 years ago
N00byKing ef875d6a35 Clean Warnings (?) 7 years ago
bunnei c1c92c30f9 vi: Remove DequeueBuffer and wait until next available buffer. 7 years ago
bunnei c86af6939c hle_ipc: Add SleepClientThread to block current thread within HLE routines. 7 years ago
bunnei 2faa83ca13 hle_ipc: Use shared_ptr instead of unique_ptr to allow copies. 7 years ago
bunnei 019f1a0cf0 hle_ipc: Remove GetPointer(..) usage with WriteToOutgoingCommandBuffer. 7 years ago
bunnei e353b9fb3d thread: Add THREADSTATUS_WAIT_HLE_EVENT, remove THREADSTATUS_WAIT_ARB. 7 years ago
bunnei 494275fd38 nvflinger: Remove superfluous buffer format check. 7 years ago
bunnei cc6f22e0e4 process: MirrorMemory should use MemoryState::Mapped. 7 years ago
bunnei e9a857ce82 process: Unmap previously allocated heap. 7 years ago
bunnei 403f8e79ea arm_interface: Support unmapping previously mapped memory. 7 years ago
bunnei 34a29ad051 svc: Use more correct values for GetInfo MapRegion and NewMapRegion. 7 years ago
bunnei 8581404482 kernel: Move stack region outside of application heap. 7 years ago
bunnei 3923b0f589 process: Fix stack memory state. 7 years ago
bunnei 8be7131033 MemoryState: Add additional memory states and improve naming. 7 years ago
mailwl fbfa7ddd62 IGeneralService: fix function list 7 years ago
mailwl 9289255314 Service/NIFM: stub cancel function 7 years ago
mailwl ec030a542f Service/NIFM: convert to module 7 years ago
bunnei 7d6653268f core: Move process creation out of global state. 7 years ago
bunnei 80562aaf64
Merge pull request #229 from Subv/ensuresavedata_impl
FS: Make EnsureSaveData create the save data if it doesn't already exist.
7 years ago
Subv e4b7a1d160 FS: Stubbed CreateSaveData. It currently does nothing. 7 years ago