David Marcec 
							
						 
					 
					
						
						
						
						
							
						
						
							e586921c28 
							
						 
					 
					
						
						
							
							am: Unstub SetScreenShotPermission  
						
						
						
						
					 
					
						2020-08-01 00:44:14 +10:00 
						 
				 
			
				
					
						
							
							
								Morph 
							
						 
					 
					
						
						
						
						
							
						
						
							1241020093 
							
						 
					 
					
						
						
							
							fsp-srv: Stub Read/WriteSaveDataFileSystemExtraDataWithMaskBySaveDataAttribute  
						
						... 
						
						
						
						Stub these 2 service commands required for Animal Crossing: New Horizons Update 1.4.0 
						
						
					 
					
						2020-07-30 15:39:44 -04:00 
						 
				 
			
				
					
						
							
							
								Morph 
							
						 
					 
					
						
						
						
						
							
						
						
							45fd67c109 
							
						 
					 
					
						
						
							
							fs: Rename SaveDataDescriptor to SaveDataAttribute  
						
						
						
						
					 
					
						2020-07-30 15:29:39 -04:00 
						 
				 
			
				
					
						
							
							
								ReinUsesLisp 
							
						 
					 
					
						
						
						
						
							
						
						
							bc699ace15 
							
						 
					 
					
						
						
							
							service/bsd: Handle Poll with no entries accurately  
						
						... 
						
						
						
						Testing shows that Poll called with zero entries returns -1 and signals
an errno of zero. 
						
						
					 
					
						2020-07-28 01:51:47 -03:00 
						 
				 
			
				
					
						
							
							
								ReinUsesLisp 
							
						 
					 
					
						
						
						
						
							
						
						
							f7d59f3e0e 
							
						 
					 
					
						
						
							
							services/bsd: Implement most of bsd:s  
						
						... 
						
						
						
						This implements: Socket, Poll, Accept, Bind, Connect, GetPeerName,
GetSockName, Listen, Fcntl, SetSockOpt, Shutdown, Recv, RecvFrom,
Send, SendTo, Write, and Close
The implementation was done referencing: SwIPC, switchbrew, testing
with libnx and inspecting its code, general information about bsd
sockets online, and analysing official software.
Not everything from these service calls is implemented, but everything
that is not implemented will be logged in some way. 
						
						
					 
					
						2020-07-28 01:48:42 -03:00 
						 
				 
			
				
					
						
							
							
								ReinUsesLisp 
							
						 
					 
					
						
						
						
						
							
						
						
							2c67bbf609 
							
						 
					 
					
						
						
							
							service/sockets: Add worker pool abstraction  
						
						... 
						
						
						
						Manage worker threads with an easy to use abstraction.
We can expand this to support thread deletion in the future. 
						
						
					 
					
						2020-07-28 01:47:03 -03:00 
						 
				 
			
				
					
						
							
							
								ReinUsesLisp 
							
						 
					 
					
						
						
						
						
							
						
						
							5692c48ab7 
							
						 
					 
					
						
						
							
							service/sockets: Add worker abstraction to execute blocking calls asynchronously  
						
						... 
						
						
						
						This abstraction allows executing blocking functions (like recvfrom on a
socket configured for blocking) without blocking the service thread.
It is intended to be used with SleepClientThread. 
						
						
					 
					
						2020-07-28 01:47:03 -03:00 
						 
				 
			
				
					
						
							
							
								ReinUsesLisp 
							
						 
					 
					
						
						
						
						
							
						
						
							80b4bd3583 
							
						 
					 
					
						
						
							
							service/sockets: Add translate functions  
						
						... 
						
						
						
						These functions translate from Network enumerations/structures to guest
enumerations/structures and viceversa. 
						
						
					 
					
						2020-07-28 01:47:03 -03:00 
						 
				 
			
				
					
						
							
							
								ReinUsesLisp 
							
						 
					 
					
						
						
						
						
							
						
						
							22263ccaa4 
							
						 
					 
					
						
						
							
							service/sockets: Add enumerations and structures  
						
						... 
						
						
						
						Add guest enumerations and structures used in socket services 
						
						
					 
					
						2020-07-28 01:47:03 -03:00 
						 
				 
			
				
					
						
							
							
								ReinUsesLisp 
							
						 
					 
					
						
						
						
						
							
						
						
							ef8acc9c3d 
							
						 
					 
					
						
						
							
							services/nifm: Implement GetCurrentIpAddress  
						
						... 
						
						
						
						This is trivially implemented using the Network abstraction
- Used by ftpd 
						
						
					 
					
						2020-07-28 01:47:03 -03:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							db94457205 
							
						 
					 
					
						
						
							
							Update src/core/hle/service/nvdrv/devices/nvmap.cpp  
						
						... 
						
						
						
						Co-authored-by: LC <mathew1800@gmail.com> 
						
						
					 
					
						2020-07-27 18:27:20 -07:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							a7af349dae 
							
						 
					 
					
						
						
							
							core_timing: Make use of uintptr_t to represent user_data  
						
						... 
						
						
						
						Makes the interface future-proofed for supporting other platforms in the event we ever support platforms with differing pointer sizes. This way, we have a type in place that is always guaranteed to be able to represent a pointer exactly. 
						
						
					 
					
						2020-07-27 21:21:01 -04:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
						
						
							
						
						
							1ffff4dab2 
							
						 
					 
					
						
						
							
							remove unused variable;  
						
						
						
						
					 
					
						2020-07-27 10:36:26 +03:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
						
						
							
						
						
							05def61398 
							
						 
					 
					
						
						
							
							hle: nvdrv: Rewrite of GPU memory management.  
						
						
						
						
					 
					
						2020-07-26 00:49:43 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							7b070bbf62 
							
						 
					 
					
						
						
							
							nvflinger: Mark interface functions with return values as [[nodiscard]]  
						
						... 
						
						
						
						Not using the return value of these functions are undeniably the source
of a bug. This way we allow compilers to loudly make any future misuses
evident. 
						
						
					 
					
						2020-07-25 19:42:45 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							5dab23e017 
							
						 
					 
					
						
						
							
							nvflinger: Use return value of Lock()  
						
						... 
						
						
						
						comex reported in #4424  that we were incorrectly discarding the return
value of Lock() which is correct. 
						
						
					 
					
						2020-07-25 19:04:53 -04:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a2e1810287 
							
						 
					 
					
						
						
							
							Merge pull request  #4350  from ogniK5377/hid-update-connected  
						
						... 
						
						
						
						hid: Only update keyboard & debug pad inputs if enabled 
						
						
					 
					
						2020-07-25 11:57:24 -07:00 
						 
				 
			
				
					
						
							
							
								David Marcec 
							
						 
					 
					
						
						
						
						
							
						
						
							380658c21d 
							
						 
					 
					
						
						
							
							audio_core: Apollo Part 1, AudioRenderer refactor  
						
						
						
						
					 
					
						2020-07-25 12:39:34 +10:00 
						 
				 
			
				
					
						
							
							
								David Marcec 
							
						 
					 
					
						
						
						
						
							
						
						
							8abb31a19d 
							
						 
					 
					
						
						
							
							vi: IApplicationDisplayService:GetIndirectLayerImageRequiredMemoryInfo  
						
						... 
						
						
						
						Needed for dark souls and monster hunter 
						
						
					 
					
						2020-07-21 23:06:18 +10:00 
						 
				 
			
				
					
						
							
							
								David Marcec 
							
						 
					 
					
						
						
						
						
							
						
						
							8248d76964 
							
						 
					 
					
						
						
							
							Address issues  
						
						
						
						
					 
					
						2020-07-20 11:52:07 +10:00 
						 
				 
			
				
					
						
							
							
								David Marcec 
							
						 
					 
					
						
						
						
						
							
						
						
							d7d2c27b48 
							
						 
					 
					
						
						
							
							swkbd: Return result for Calc request for inlined swkbd  
						
						... 
						
						
						
						Fixes random swkbd popups in monster hunter 
						
						
					 
					
						2020-07-19 18:56:16 +10:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4a8cb9a706 
							
						 
					 
					
						
						
							
							Merge pull request  #4348  from lioncash/nano  
						
						... 
						
						
						
						core_timing: Make usage of nanoseconds more consistent in the interface 
						
						
					 
					
						2020-07-18 01:45:10 -04:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c700079e08 
							
						 
					 
					
						
						
							
							Merge pull request  #4345  from Morph1984/fix-createfile  
						
						... 
						
						
						
						filesystem: Create subdirectories prior to creating a file 
						
						
					 
					
						2020-07-18 00:59:26 -04:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							af1151b1b0 
							
						 
					 
					
						
						
							
							Merge pull request  #4365  from lioncash/mii  
						
						... 
						
						
						
						mii/manager: Make use of designated initializers 
						
						
					 
					
						2020-07-17 22:20:15 -04:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							47b305387a 
							
						 
					 
					
						
						
							
							Merge pull request  #4366  from lioncash/mii-sign  
						
						... 
						
						
						
						mii/manager: Resolve sign mismatch warnings 
						
						
					 
					
						2020-07-17 20:13:06 -04:00 
						 
				 
			
				
					
						
							
							
								David 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							adbf5ca50b 
							
						 
					 
					
						
						
							
							Merge pull request  #4357  from lioncash/unused4  
						
						... 
						
						
						
						kernel: Remove unused variables 
						
						
					 
					
						2020-07-17 13:18:31 +10:00 
						 
				 
			
				
					
						
							
							
								David 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							69f8b6a53e 
							
						 
					 
					
						
						
							
							Merge pull request  #4358  from lioncash/unused5  
						
						... 
						
						
						
						kernel/thread: Remove unimplemented function prototype 
						
						
					 
					
						2020-07-17 13:17:52 +10:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							e54c940abf 
							
						 
					 
					
						
						
							
							mii/manager: Resolve sign mismatch warnings  
						
						... 
						
						
						
						Previously the loop termination condition was testing variables of
different signedness. 
						
						
					 
					
						2020-07-16 21:07:04 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							7f989378c0 
							
						 
					 
					
						
						
							
							mii/manager: Make use of designated initializers  
						
						... 
						
						
						
						Allows returning the structure in a more concise manner. 
						
						
					 
					
						2020-07-16 20:45:33 -04:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3bbf4462db 
							
						 
					 
					
						
						
							
							Merge pull request  #4292  from bunnei/mii-rewrite  
						
						... 
						
						
						
						hle: service: mii: Rewrite service to properly support creation of random and default miis. 
						
						
					 
					
						2020-07-16 20:05:40 -04:00 
						 
				 
			
				
					
						
							
							
								Rodrigo Locatti 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							104c523d3d 
							
						 
					 
					
						
						
							
							Merge pull request  #4327  from lioncash/desig2  
						
						... 
						
						
						
						address_space_info: Make use of designated initializers 
						
						
					 
					
						2020-07-16 17:41:55 -03:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							8bef49cde5 
							
						 
					 
					
						
						
							
							kernel/thread: Remove unimplemented function prototype  
						
						... 
						
						
						
						This isn't used, so it can be removed. 
						
						
					 
					
						2020-07-16 14:32:46 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							2bab07c367 
							
						 
					 
					
						
						
							
							kernel: Remove unused variables  
						
						... 
						
						
						
						Resolves some compiler warnings in the Linux build. 
						
						
					 
					
						2020-07-16 14:17:50 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							07d080ecc8 
							
						 
					 
					
						
						
							
							kernel: Add missing include  
						
						
						
						
					 
					
						2020-07-16 13:51:51 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							f0125b2be8 
							
						 
					 
					
						
						
							
							cpu_manager: Mark function getters as static  
						
						... 
						
						
						
						All these do are return std::function instances of static functions, so
these can be used without an instance of the CPU manager. 
						
						
					 
					
						2020-07-16 13:30:56 -04:00 
						 
				 
			
				
					
						
							
							
								David 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0648e023ea 
							
						 
					 
					
						
						
							
							Merge pull request  #4346  from lioncash/thread  
						
						... 
						
						
						
						kernel/handle_table: Remove usages of the global system instance 
						
						
					 
					
						2020-07-16 23:02:04 +10:00 
						 
				 
			
				
					
						
							
							
								David Marcec 
							
						 
					 
					
						
						
						
						
							
						
						
							0319cc1c37 
							
						 
					 
					
						
						
							
							hid: Only update keyboard & debug pad inputs if enabled  
						
						... 
						
						
						
						Previously we would ignore this setting and would update the states regardless of the user setting 
						
						
					 
					
						2020-07-16 22:28:49 +10:00 
						 
				 
			
				
					
						
							
							
								Morph 
							
						 
					 
					
						
						
						
						
							
						
						
							5892fc1555 
							
						 
					 
					
						
						
							
							Add comment to clarify the nullptr check  
						
						
						
						
					 
					
						2020-07-16 00:15:27 -04:00 
						 
				 
			
				
					
						
							
							
								Morph 
							
						 
					 
					
						
						
						
						
							
						
						
							2079bb4090 
							
						 
					 
					
						
						
							
							filesystem: Create subdirectories prior to creating a file  
						
						... 
						
						
						
						If subdirectories exist in the given path parameter and don't exist in the real filesystem create them prior to creating the files within.
This fixes the softlocks upon save creation in The Legend of Zelda: Breath of the Wild 
						
						
					 
					
						2020-07-16 00:15:27 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							bef1844a51 
							
						 
					 
					
						
						
							
							core_timing: Make TimedCallback take std::chrono::nanoseconds  
						
						... 
						
						
						
						Enforces our desired time units directly with a concrete type. 
						
						
					 
					
						2020-07-15 19:41:22 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							8b50c660df 
							
						 
					 
					
						
						
							
							core_timing: Make use of std::chrono with ScheduleEvent  
						
						
						
						
					 
					
						2020-07-15 18:54:15 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							73bb87c06b 
							
						 
					 
					
						
						
							
							kernel/process: Move name and system context to the bottom of the member list  
						
						... 
						
						
						
						These aren't directly important or commonly used within the process, so
we can move these to the bottom to allow everything else to be more
likely to be within a cache line. 
						
						
					 
					
						2020-07-15 13:40:18 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							52e83f0d5c 
							
						 
					 
					
						
						
							
							kernel/handle_table: Remove usages of the global system instance  
						
						... 
						
						
						
						Removes even more usages of the global system instance, trimming away
more dependencies on global variables and making them explicit in the
interface. 
						
						
					 
					
						2020-07-15 13:40:15 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							4ad69ca96e 
							
						 
					 
					
						
						
							
							kernel/thread: Remove global GetCurrentThread()  
						
						... 
						
						
						
						This is only used in one place, so we can fold it into the calling code,
eliminating a place for the global system instance to be used. 
						
						
					 
					
						2020-07-15 13:28:05 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							f2f876e3ff 
							
						 
					 
					
						
						
							
							memory_layout: Remove unused data member  
						
						... 
						
						
						
						This isn't used, so it can be removed entirely, shrinking the structure
size by 8 bytes. 
						
						
					 
					
						2020-07-13 10:51:23 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							ed0fe04b4f 
							
						 
					 
					
						
						
							
							address_space_info: Use type alias to simplify code  
						
						... 
						
						
						
						We can define an alias for the index arrays and then just reuse it to
make the code nicer to read. 
						
						
					 
					
						2020-07-13 10:42:52 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							c3eb42de65 
							
						 
					 
					
						
						
							
							address_space_info: Make use of designated initializers  
						
						... 
						
						
						
						We can alter the structure so that we can use designated initializers in
the array, eliminating the comments that indicate their field names. 
						
						
					 
					
						2020-07-13 10:42:49 -04:00 
						 
				 
			
				
					
						
							
							
								ReinUsesLisp 
							
						 
					 
					
						
						
						
						
							
						
						
							9b38f4fc55 
							
						 
					 
					
						
						
							
							kernel/scheduler: Use std::mutex instead of spin lock  
						
						... 
						
						
						
						Profiling shows that this is a highly contested mutex, causing dimishing
results compared to a OS lock. std::mutex implementations can spin for a
while before falling back to an OS lock.
This avoids wasting precious CPU cycles in a no-op. 
						
						
					 
					
						2020-07-12 21:27:24 -03:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e60733aad3 
							
						 
					 
					
						
						
							
							Merge pull request  #4275  from CrazyMax/desired_language  
						
						... 
						
						
						
						AM: fix GetDesiredLanguage: 
						
						
					 
					
						2020-07-12 01:45:08 -04:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
						
						
							
						
						
							e706501c8d 
							
						 
					 
					
						
						
							
							hle: service: mii: Rewrite service to properly support creation of random and default miis.  
						
						
						
						
					 
					
						2020-07-11 21:34:59 -04:00