mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Update the entire application to use the new clang format style
This commit is contained in:
		
							parent
							
								
									ed36edf69c
								
							
						
					
					
						commit
						f61141e86a
					
				
					 148 changed files with 955 additions and 552 deletions
				
			
		|  | @ -31,7 +31,7 @@ struct hash<Service::APT::AppletId> { | |||
|         return std::hash<Type>()(static_cast<Type>(id_code)); | ||||
|     } | ||||
| }; | ||||
| } | ||||
| } // namespace std
 | ||||
| 
 | ||||
| namespace HLE { | ||||
| namespace Applets { | ||||
|  | @ -134,5 +134,5 @@ void Init() { | |||
| void Shutdown() { | ||||
|     CoreTiming::RemoveEvent(applet_update_event); | ||||
| } | ||||
| } | ||||
| } // namespace
 | ||||
| } // namespace Applets
 | ||||
| } // namespace HLE
 | ||||
|  |  | |||
|  | @ -86,5 +86,5 @@ void Init(); | |||
| 
 | ||||
| /// Shuts down the HLE applets
 | ||||
| void Shutdown(); | ||||
| } | ||||
| } // namespace
 | ||||
| } // namespace Applets
 | ||||
| } // namespace HLE
 | ||||
|  |  | |||
|  | @ -114,5 +114,5 @@ void SoftwareKeyboard::Finalize() { | |||
| 
 | ||||
|     is_running = false; | ||||
| } | ||||
| } | ||||
| } // namespace
 | ||||
| } // namespace Applets
 | ||||
| } // namespace HLE
 | ||||
|  |  | |||
|  | @ -82,5 +82,5 @@ private: | |||
|     /// Configuration of this instance of the SoftwareKeyboard, as received from the application
 | ||||
|     SoftwareKeyboardConfig config; | ||||
| }; | ||||
| } | ||||
| } // namespace
 | ||||
| } // namespace Applets
 | ||||
| } // namespace HLE
 | ||||
|  |  | |||
|  | @ -28,4 +28,4 @@ void Init() { | |||
|     config_mem.firm_ctr_sdk_ver = 0x0000F297; | ||||
| } | ||||
| 
 | ||||
| } // namespace
 | ||||
| } // namespace ConfigMem
 | ||||
|  |  | |||
|  | @ -53,4 +53,4 @@ extern ConfigMemDef config_mem; | |||
| 
 | ||||
| void Init(); | ||||
| 
 | ||||
| } // namespace
 | ||||
| } // namespace ConfigMem
 | ||||
|  |  | |||
|  | @ -398,7 +398,7 @@ std::array<u32, N> RequestParser::PopHLEHandles() { | |||
| } | ||||
| 
 | ||||
| inline Kernel::SharedPtr<Kernel::Object> RequestParser::PopGenericObject() { | ||||
|     auto[handle] = PopHLEHandles<1>(); | ||||
|     auto [handle] = PopHLEHandles<1>(); | ||||
|     return context->GetIncomingHandle(handle); | ||||
| } | ||||
| 
 | ||||
|  |  | |||
|  | @ -39,4 +39,4 @@ ResultVal<SharedPtr<ClientSession>> ClientPort::Connect() { | |||
|     return MakeResult(std::get<SharedPtr<ClientSession>>(sessions)); | ||||
| } | ||||
| 
 | ||||
| } // namespace
 | ||||
| } // namespace Kernel
 | ||||
|  |  | |||
|  | @ -47,4 +47,4 @@ private: | |||
|     ~ClientPort() override; | ||||
| }; | ||||
| 
 | ||||
| } // namespace
 | ||||
| } // namespace Kernel
 | ||||
|  |  | |||
|  | @ -52,4 +52,4 @@ ResultCode ClientSession::SendSyncRequest(SharedPtr<Thread> thread) { | |||
|     return server->HandleSyncRequest(std::move(thread)); | ||||
| } | ||||
| 
 | ||||
| } // namespace
 | ||||
| } // namespace Kernel
 | ||||
|  |  | |||
|  | @ -50,4 +50,4 @@ private: | |||
|     ~ClientSession() override; | ||||
| }; | ||||
| 
 | ||||
| } // namespace
 | ||||
| } // namespace Kernel
 | ||||
|  |  | |||
|  | @ -52,4 +52,4 @@ void Event::WakeupAllWaitingThreads() { | |||
|         signaled = false; | ||||
| } | ||||
| 
 | ||||
| } // namespace
 | ||||
| } // namespace Kernel
 | ||||
|  |  | |||
|  | @ -49,4 +49,4 @@ private: | |||
|     ~Event() override; | ||||
| }; | ||||
| 
 | ||||
| } // namespace
 | ||||
| } // namespace Kernel
 | ||||
|  |  | |||
|  | @ -94,4 +94,4 @@ void HandleTable::Clear() { | |||
|     next_free_slot = 0; | ||||
| } | ||||
| 
 | ||||
| } // namespace
 | ||||
| } // namespace Kernel
 | ||||
|  |  | |||
|  | @ -123,4 +123,4 @@ private: | |||
| 
 | ||||
| extern HandleTable g_handle_table; | ||||
| 
 | ||||
| } // namespace
 | ||||
| } // namespace Kernel
 | ||||
|  |  | |||
|  | @ -36,8 +36,9 @@ SharedPtr<Event> HLERequestContext::SleepClientThread(SharedPtr<Thread> thread, | |||
|                                                       std::chrono::nanoseconds timeout, | ||||
|                                                       WakeupCallback&& callback) { | ||||
|     // Put the client thread to sleep until the wait event is signaled or the timeout expires.
 | ||||
|     thread->wakeup_callback = [ context = *this, callback ]( | ||||
|         ThreadWakeupReason reason, SharedPtr<Thread> thread, SharedPtr<WaitObject> object) mutable { | ||||
|     thread->wakeup_callback = [context = *this, callback](ThreadWakeupReason reason, | ||||
|                                                           SharedPtr<Thread> thread, | ||||
|                                                           SharedPtr<WaitObject> object) mutable { | ||||
|         ASSERT(thread->status == THREADSTATUS_WAIT_HLE_EVENT); | ||||
|         callback(thread, context, reason); | ||||
| 
 | ||||
|  |  | |||
|  | @ -45,4 +45,4 @@ void Shutdown() { | |||
|     Kernel::MemoryShutdown(); | ||||
| } | ||||
| 
 | ||||
| } // namespace
 | ||||
| } // namespace Kernel
 | ||||
|  |  | |||
|  | @ -126,8 +126,9 @@ void HandleSpecialMapping(VMManager& address_space, const AddressMapping& mappin | |||
|                    mapping_limit <= area.vaddr_base + area.size; | ||||
|         }); | ||||
|     if (area == std::end(memory_areas)) { | ||||
|         LOG_ERROR(Loader, "Unhandled special mapping: address=0x%08" PRIX32 " size=0x%" PRIX32 | ||||
|                           " read_only=%d unk_flag=%d", | ||||
|         LOG_ERROR(Loader, | ||||
|                   "Unhandled special mapping: address=0x%08" PRIX32 " size=0x%" PRIX32 | ||||
|                   " read_only=%d unk_flag=%d", | ||||
|                   mapping.address, mapping.size, mapping.read_only, mapping.unk_flag); | ||||
|         return; | ||||
|     } | ||||
|  |  | |||
|  | @ -151,4 +151,4 @@ void ResourceLimitsInit() { | |||
| 
 | ||||
| void ResourceLimitsShutdown() {} | ||||
| 
 | ||||
| } // namespace
 | ||||
| } // namespace Kernel
 | ||||
|  |  | |||
|  | @ -123,4 +123,4 @@ void ResourceLimitsInit(); | |||
| // Destroys the resource limits
 | ||||
| void ResourceLimitsShutdown(); | ||||
| 
 | ||||
| } // namespace
 | ||||
| } // namespace Kernel
 | ||||
|  |  | |||
|  | @ -52,4 +52,4 @@ ResultVal<s32> Semaphore::Release(s32 release_count) { | |||
|     return MakeResult<s32>(previous_count); | ||||
| } | ||||
| 
 | ||||
| } // namespace
 | ||||
| } // namespace Kernel
 | ||||
|  |  | |||
|  | @ -4,8 +4,8 @@ | |||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| #include <queue> | ||||
| #include <string> | ||||
| #include <queue> | ||||
| #include "common/common_types.h" | ||||
| #include "core/hle/kernel/kernel.h" | ||||
| #include "core/hle/kernel/wait_object.h" | ||||
|  | @ -56,4 +56,4 @@ private: | |||
|     ~Semaphore() override; | ||||
| }; | ||||
| 
 | ||||
| } // namespace
 | ||||
| } // namespace Kernel
 | ||||
|  |  | |||
|  | @ -50,4 +50,4 @@ std::tuple<SharedPtr<ServerPort>, SharedPtr<ClientPort>> ServerPort::CreatePortP | |||
|     return std::make_tuple(std::move(server_port), std::move(client_port)); | ||||
| } | ||||
| 
 | ||||
| } // namespace
 | ||||
| } // namespace Kernel
 | ||||
|  |  | |||
|  | @ -72,4 +72,4 @@ private: | |||
|     ~ServerPort() override; | ||||
| }; | ||||
| 
 | ||||
| } // namespace
 | ||||
| } // namespace Kernel
 | ||||
|  |  | |||
|  | @ -9,4 +9,4 @@ namespace Kernel { | |||
| 
 | ||||
| Session::Session() {} | ||||
| Session::~Session() {} | ||||
| } | ||||
| } // namespace Kernel
 | ||||
|  |  | |||
|  | @ -24,4 +24,4 @@ public: | |||
|     ServerSession* server = nullptr; ///< The server endpoint of the session.
 | ||||
|     SharedPtr<ClientPort> port;      ///< The port that this session is associated with (optional).
 | ||||
| }; | ||||
| } | ||||
| } // namespace Kernel
 | ||||
|  |  | |||
|  | @ -98,10 +98,10 @@ public: | |||
|     ResultCode Unmap(Process* target_process, VAddr address); | ||||
| 
 | ||||
|     /**
 | ||||
|     * Gets a pointer to the shared memory block | ||||
|     * @param offset Offset from the start of the shared memory block to get pointer | ||||
|     * @return Pointer to the shared memory block from the specified offset | ||||
|     */ | ||||
|      * Gets a pointer to the shared memory block | ||||
|      * @param offset Offset from the start of the shared memory block to get pointer | ||||
|      * @return Pointer to the shared memory block from the specified offset | ||||
|      */ | ||||
|     u8* GetPointer(u32 offset = 0); | ||||
| 
 | ||||
|     /// Process that created this shared memory block.
 | ||||
|  | @ -129,4 +129,4 @@ private: | |||
|     ~SharedMemory() override; | ||||
| }; | ||||
| 
 | ||||
| } // namespace
 | ||||
| } // namespace Kernel
 | ||||
|  |  | |||
|  | @ -288,7 +288,6 @@ static ResultCode WaitSynchronization1(Handle handle, s64 nano_seconds) { | |||
| 
 | ||||
|         thread->wakeup_callback = [](ThreadWakeupReason reason, SharedPtr<Thread> thread, | ||||
|                                      SharedPtr<WaitObject> object) { | ||||
| 
 | ||||
|             ASSERT(thread->status == THREADSTATUS_WAIT_SYNCH_ANY); | ||||
| 
 | ||||
|             if (reason == ThreadWakeupReason::Timeout) { | ||||
|  | @ -378,7 +377,6 @@ static ResultCode WaitSynchronizationN(s32* out, VAddr handles_address, s32 hand | |||
| 
 | ||||
|         thread->wakeup_callback = [](ThreadWakeupReason reason, SharedPtr<Thread> thread, | ||||
|                                      SharedPtr<WaitObject> object) { | ||||
| 
 | ||||
|             ASSERT(thread->status == THREADSTATUS_WAIT_SYNCH_ALL); | ||||
| 
 | ||||
|             if (reason == ThreadWakeupReason::Timeout) { | ||||
|  | @ -439,7 +437,6 @@ static ResultCode WaitSynchronizationN(s32* out, VAddr handles_address, s32 hand | |||
| 
 | ||||
|         thread->wakeup_callback = [](ThreadWakeupReason reason, SharedPtr<Thread> thread, | ||||
|                                      SharedPtr<WaitObject> object) { | ||||
| 
 | ||||
|             ASSERT(thread->status == THREADSTATUS_WAIT_SYNCH_ANY); | ||||
| 
 | ||||
|             if (reason == ThreadWakeupReason::Timeout) { | ||||
|  | @ -591,7 +588,6 @@ static ResultCode ReplyAndReceive(s32* index, VAddr handles_address, s32 handle_ | |||
| 
 | ||||
|     thread->wakeup_callback = [](ThreadWakeupReason reason, SharedPtr<Thread> thread, | ||||
|                                  SharedPtr<WaitObject> object) { | ||||
| 
 | ||||
|         ASSERT(thread->status == THREADSTATUS_WAIT_SYNCH_ANY); | ||||
|         ASSERT(reason == ThreadWakeupReason::Signal); | ||||
| 
 | ||||
|  | @ -770,8 +766,9 @@ static ResultCode CreateThread(Handle* out_handle, u32 priority, u32 entry_point | |||
| 
 | ||||
|     Core::System::GetInstance().PrepareReschedule(); | ||||
| 
 | ||||
|     LOG_TRACE(Kernel_SVC, "called entrypoint=0x%08X (%s), arg=0x%08X, stacktop=0x%08X, " | ||||
|                           "threadpriority=0x%08X, processorid=0x%08X : created handle=0x%08X", | ||||
|     LOG_TRACE(Kernel_SVC, | ||||
|               "called entrypoint=0x%08X (%s), arg=0x%08X, stacktop=0x%08X, " | ||||
|               "threadpriority=0x%08X, processorid=0x%08X : created handle=0x%08X", | ||||
|               entry_point, name.c_str(), arg, stack_top, priority, processor_id, *out_handle); | ||||
| 
 | ||||
|     return RESULT_SUCCESS; | ||||
|  |  | |||
|  | @ -111,4 +111,4 @@ void TimersInit() { | |||
| 
 | ||||
| void TimersShutdown() {} | ||||
| 
 | ||||
| } // namespace
 | ||||
| } // namespace Kernel
 | ||||
|  |  | |||
|  | @ -76,4 +76,4 @@ void TimersInit(); | |||
| /// Tears down the timer variables
 | ||||
| void TimersShutdown(); | ||||
| 
 | ||||
| } // namespace
 | ||||
| } // namespace Kernel
 | ||||
|  |  | |||
|  | @ -18,7 +18,7 @@ namespace Service { | |||
| namespace FS { | ||||
| enum class MediaType : u32; | ||||
| } | ||||
| } | ||||
| } // namespace Service
 | ||||
| 
 | ||||
| namespace Service { | ||||
| namespace AM { | ||||
|  |  | |||
|  | @ -306,8 +306,9 @@ void Module::Interface::SendParameter(Kernel::HLERequestContext& ctx) { | |||
|     Kernel::SharedPtr<Kernel::Object> object = rp.PopGenericObject(); | ||||
|     std::vector<u8> buffer = rp.PopStaticBuffer(); | ||||
| 
 | ||||
|     LOG_DEBUG(Service_APT, "called src_app_id=0x%08X, dst_app_id=0x%08X, signal_type=0x%08X," | ||||
|                            "buffer_size=0x%08X", | ||||
|     LOG_DEBUG(Service_APT, | ||||
|               "called src_app_id=0x%08X, dst_app_id=0x%08X, signal_type=0x%08X," | ||||
|               "buffer_size=0x%08X", | ||||
|               static_cast<u32>(src_app_id), static_cast<u32>(dst_app_id), | ||||
|               static_cast<u32>(signal_type), buffer_size); | ||||
| 
 | ||||
|  | @ -392,8 +393,9 @@ void Module::Interface::CancelParameter(Kernel::HLERequestContext& ctx) { | |||
|     rb.Push(apt->applet_manager->CancelParameter(check_sender, sender_appid, check_receiver, | ||||
|                                                  receiver_appid)); | ||||
| 
 | ||||
|     LOG_DEBUG(Service_APT, "called check_sender=%u, sender_appid=0x%08X, " | ||||
|                            "check_receiver=%u, receiver_appid=0x%08X", | ||||
|     LOG_DEBUG(Service_APT, | ||||
|               "called check_sender=%u, sender_appid=0x%08X, " | ||||
|               "check_receiver=%u, receiver_appid=0x%08X", | ||||
|               check_sender, static_cast<u32>(sender_appid), check_receiver, | ||||
|               static_cast<u32>(receiver_appid)); | ||||
| } | ||||
|  |  | |||
|  | @ -111,9 +111,10 @@ void RegisterPrivateClientCert(Service::Interface* self) { | |||
|     cmd_buff[2] = (buff2_size << 4 | 0xA); | ||||
|     cmd_buff[3] = buff2_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, " | ||||
|                               "translation1=0x%08X, buff1_addr=0x%08X, buff1_size=0x%08X, " | ||||
|                               "translation2=0x%08X, buff2_addr=0x%08X, buff2_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, " | ||||
|                 "translation1=0x%08X, buff1_addr=0x%08X, buff1_size=0x%08X, " | ||||
|                 "translation2=0x%08X, buff2_addr=0x%08X, buff2_size=0x%08X", | ||||
|                 unk_param1, unk_param2, translation1, buff1_addr, buff1_size, translation2, | ||||
|                 buff2_addr, buff2_size); | ||||
| } | ||||
|  | @ -177,8 +178,9 @@ void RegisterTask(Service::Interface* self) { | |||
|     cmd_buff[2] = (buff_size << 4 | 0xA); | ||||
|     cmd_buff[3] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, unk_param3=0x%08X, " | ||||
|                               "translation=0x%08X, buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, unk_param3=0x%08X, " | ||||
|                 "translation=0x%08X, buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, unk_param2, unk_param3, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -196,8 +198,9 @@ void UnregisterTask(Service::Interface* self) { | |||
|     cmd_buff[2] = (buff_size << 4 | 0xA); | ||||
|     cmd_buff[3] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, translation=0x%08X, " | ||||
|                               "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, translation=0x%08X, " | ||||
|                 "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, unk_param2, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -215,8 +218,9 @@ void ReconfigureTask(Service::Interface* self) { | |||
|     cmd_buff[2] = (buff_size << 4 | 0xA); | ||||
|     cmd_buff[3] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, translation=0x%08X, " | ||||
|                               "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, translation=0x%08X, " | ||||
|                 "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, unk_param2, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -263,9 +267,10 @@ void GetNsDataIdList(Service::Interface* self) { | |||
|     cmd_buff[4] = (buff_size << 4 | 0xC); | ||||
|     cmd_buff[5] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, unk_param3=0x%08X, " | ||||
|                               "unk_param4=0x%08X, translation=0x%08X, " | ||||
|                               "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, unk_param3=0x%08X, " | ||||
|                 "unk_param4=0x%08X, translation=0x%08X, " | ||||
|                 "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, unk_param2, unk_param3, unk_param4, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -287,9 +292,10 @@ void GetOwnNsDataIdList(Service::Interface* self) { | |||
|     cmd_buff[4] = (buff_size << 4 | 0xC); | ||||
|     cmd_buff[5] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, unk_param3=0x%08X, " | ||||
|                               "unk_param4=0x%08X, translation=0x%08X, " | ||||
|                               "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, unk_param3=0x%08X, " | ||||
|                 "unk_param4=0x%08X, translation=0x%08X, " | ||||
|                 "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, unk_param2, unk_param3, unk_param4, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -311,9 +317,10 @@ void GetNewDataNsDataIdList(Service::Interface* self) { | |||
|     cmd_buff[4] = (buff_size << 4 | 0xC); | ||||
|     cmd_buff[5] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, unk_param3=0x%08X, " | ||||
|                               "unk_param4=0x%08X, translation=0x%08X, " | ||||
|                               "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, unk_param3=0x%08X, " | ||||
|                 "unk_param4=0x%08X, translation=0x%08X, " | ||||
|                 "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, unk_param2, unk_param3, unk_param4, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -335,9 +342,10 @@ void GetOwnNewDataNsDataIdList(Service::Interface* self) { | |||
|     cmd_buff[4] = (buff_size << 4 | 0xC); | ||||
|     cmd_buff[5] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, unk_param3=0x%08X, " | ||||
|                               "unk_param4=0x%08X, translation=0x%08X, " | ||||
|                               "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, unk_param3=0x%08X, " | ||||
|                 "unk_param4=0x%08X, translation=0x%08X, " | ||||
|                 "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, unk_param2, unk_param3, unk_param4, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -355,8 +363,9 @@ void SendProperty(Service::Interface* self) { | |||
|     cmd_buff[2] = (buff_size << 4 | 0xA); | ||||
|     cmd_buff[3] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, translation=0x%08X, " | ||||
|                               "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, translation=0x%08X, " | ||||
|                 "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, unk_param2, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -373,8 +382,9 @@ void SendPropertyHandle(Service::Interface* self) { | |||
|     cmd_buff[2] = (buff_size << 4 | 0xA); | ||||
|     cmd_buff[3] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, translation=0x%08X, " | ||||
|                               "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, translation=0x%08X, " | ||||
|                 "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -392,8 +402,9 @@ void ReceiveProperty(Service::Interface* self) { | |||
|     cmd_buff[2] = (buff_size << 4 | 0xC); | ||||
|     cmd_buff[3] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, buff_size=0x%08X, " | ||||
|                               "translation=0x%08X, buff_addr=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, buff_size=0x%08X, " | ||||
|                 "translation=0x%08X, buff_addr=0x%08X", | ||||
|                 unk_param1, buff_size, translation, buff_addr); | ||||
| } | ||||
| 
 | ||||
|  | @ -411,8 +422,9 @@ void UpdateTaskInterval(Service::Interface* self) { | |||
|     cmd_buff[2] = (buff_size << 4 | 0xA); | ||||
|     cmd_buff[3] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, " | ||||
|                               "translation=0x%08X, buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, " | ||||
|                 "translation=0x%08X, buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, unk_param2, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -429,8 +441,9 @@ void UpdateTaskCount(Service::Interface* self) { | |||
|     cmd_buff[2] = (buff_size << 4 | 0xA); | ||||
|     cmd_buff[3] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) buff_size=0x%08X, unk_param2=0x%08X, " | ||||
|                               "translation=0x%08X, buff_addr=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) buff_size=0x%08X, unk_param2=0x%08X, " | ||||
|                 "translation=0x%08X, buff_addr=0x%08X", | ||||
|                 buff_size, unk_param2, translation, buff_addr); | ||||
| } | ||||
| 
 | ||||
|  | @ -448,8 +461,9 @@ void GetTaskInterval(Service::Interface* self) { | |||
|     cmd_buff[3] = (buff_size << 4 | 0xA); | ||||
|     cmd_buff[4] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, translation=0x%08X, " | ||||
|                               "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, translation=0x%08X, " | ||||
|                 "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -467,8 +481,9 @@ void GetTaskCount(Service::Interface* self) { | |||
|     cmd_buff[3] = (buff_size << 4 | 0xA); | ||||
|     cmd_buff[4] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, translation=0x%08X, " | ||||
|                               "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, translation=0x%08X, " | ||||
|                 "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -486,8 +501,9 @@ void GetTaskServiceStatus(Service::Interface* self) { | |||
|     cmd_buff[3] = (buff_size << 4 | 0xA); | ||||
|     cmd_buff[4] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, translation=0x%08X, " | ||||
|                               "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, translation=0x%08X, " | ||||
|                 "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -504,8 +520,9 @@ void StartTask(Service::Interface* self) { | |||
|     cmd_buff[2] = (buff_size << 4 | 0xA); | ||||
|     cmd_buff[3] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, translation=0x%08X, " | ||||
|                               "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, translation=0x%08X, " | ||||
|                 "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -522,8 +539,9 @@ void StartTaskImmediate(Service::Interface* self) { | |||
|     cmd_buff[2] = (buff_size << 4 | 0xA); | ||||
|     cmd_buff[3] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, translation=0x%08X, " | ||||
|                               "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, translation=0x%08X, " | ||||
|                 "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -540,8 +558,9 @@ void CancelTask(Service::Interface* self) { | |||
|     cmd_buff[2] = (buff_size << 4 | 0xA); | ||||
|     cmd_buff[3] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, translation=0x%08X, " | ||||
|                               "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, translation=0x%08X, " | ||||
|                 "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -572,8 +591,9 @@ void GetTaskState(Service::Interface* self) { | |||
|     cmd_buff[5] = (buff_size << 4 | 0xA); | ||||
|     cmd_buff[6] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) buff_size=0x%08X, unk_param2=0x%08X, " | ||||
|                               "translation=0x%08X, buff_addr=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) buff_size=0x%08X, unk_param2=0x%08X, " | ||||
|                 "translation=0x%08X, buff_addr=0x%08X", | ||||
|                 buff_size, unk_param2, translation, buff_addr); | ||||
| } | ||||
| 
 | ||||
|  | @ -593,8 +613,9 @@ void GetTaskResult(Service::Interface* self) { | |||
|     cmd_buff[5] = (buff_size << 4 | 0xA); | ||||
|     cmd_buff[6] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, translation=0x%08X, " | ||||
|                               "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, translation=0x%08X, " | ||||
|                 "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -614,8 +635,9 @@ void GetTaskCommErrorCode(Service::Interface* self) { | |||
|     cmd_buff[5] = (buff_size << 4 | 0xA); | ||||
|     cmd_buff[6] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, translation=0x%08X, " | ||||
|                               "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, translation=0x%08X, " | ||||
|                 "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -635,8 +657,9 @@ void GetTaskStatus(Service::Interface* self) { | |||
|     cmd_buff[3] = (buff_size << 4 | 0xA); | ||||
|     cmd_buff[4] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, unk_param3=0x%08X, " | ||||
|                               "translation=0x%08X, buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, unk_param3=0x%08X, " | ||||
|                 "translation=0x%08X, buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, unk_param2, unk_param3, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -655,8 +678,9 @@ void GetTaskError(Service::Interface* self) { | |||
|     cmd_buff[3] = (buff_size << 4 | 0xA); | ||||
|     cmd_buff[4] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, translation=0x%08X, " | ||||
|                               "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, translation=0x%08X, " | ||||
|                 "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, unk_param2, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -674,8 +698,9 @@ void GetTaskInfo(Service::Interface* self) { | |||
|     cmd_buff[2] = (buff_size << 4 | 0xA); | ||||
|     cmd_buff[3] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, translation=0x%08X, " | ||||
|                               "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, translation=0x%08X, " | ||||
|                 "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, unk_param2, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -705,8 +730,9 @@ void GetNsDataHeaderInfo(Service::Interface* self) { | |||
|     cmd_buff[2] = (buff_size << 4 | 0xC); | ||||
|     cmd_buff[3] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, unk_param3=0x%08X, " | ||||
|                               "translation=0x%08X, buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, unk_param3=0x%08X, " | ||||
|                 "translation=0x%08X, buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, unk_param2, unk_param3, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -728,9 +754,10 @@ void ReadNsData(Service::Interface* self) { | |||
|     cmd_buff[4] = (buff_size << 4 | 0xC); | ||||
|     cmd_buff[5] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, unk_param3=0x%08X, " | ||||
|                               "unk_param4=0x%08X, translation=0x%08X, " | ||||
|                               "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, unk_param3=0x%08X, " | ||||
|                 "unk_param4=0x%08X, translation=0x%08X, " | ||||
|                 "buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, unk_param2, unk_param3, unk_param4, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -822,8 +849,9 @@ void RegisterStorageEntry(Service::Interface* self) { | |||
|     cmd_buff[0] = IPC::MakeHeader(0x2F, 0x1, 0); | ||||
|     cmd_buff[1] = RESULT_SUCCESS.raw; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED)  unk_param1=0x%08X, unk_param2=0x%08X, unk_param3=0x%08X, " | ||||
|                               "unk_param4=0x%08X, unk_param5=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED)  unk_param1=0x%08X, unk_param2=0x%08X, unk_param3=0x%08X, " | ||||
|                 "unk_param4=0x%08X, unk_param5=0x%08X", | ||||
|                 unk_param1, unk_param2, unk_param3, unk_param4, unk_param5); | ||||
| } | ||||
| 
 | ||||
|  | @ -849,8 +877,9 @@ void SetStorageOption(Service::Interface* self) { | |||
|     cmd_buff[0] = IPC::MakeHeader(0x31, 0x1, 0); | ||||
|     cmd_buff[1] = RESULT_SUCCESS.raw; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED)  unk_param1=0x%08X, unk_param2=0x%08X, " | ||||
|                               "unk_param3=0x%08X, unk_param4=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED)  unk_param1=0x%08X, unk_param2=0x%08X, " | ||||
|                 "unk_param3=0x%08X, unk_param4=0x%08X", | ||||
|                 unk_param1, unk_param2, unk_param3, unk_param4); | ||||
| } | ||||
| 
 | ||||
|  | @ -880,8 +909,9 @@ void StartBgImmediate(Service::Interface* self) { | |||
|     cmd_buff[2] = (buff_size << 4 | 0xA); | ||||
|     cmd_buff[3] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) buff_size=0x%08X, unk_param2=0x%08X, " | ||||
|                               "translation=0x%08X, buff_addr=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) buff_size=0x%08X, unk_param2=0x%08X, " | ||||
|                 "translation=0x%08X, buff_addr=0x%08X", | ||||
|                 unk_param1, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -899,8 +929,9 @@ void GetTaskActivePriority(Service::Interface* self) { | |||
|     cmd_buff[3] = (buff_size << 4 | 0xA); | ||||
|     cmd_buff[4] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) buff_size=0x%08X, unk_param2=0x%08X, " | ||||
|                               "translation=0x%08X, buff_addr=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) buff_size=0x%08X, unk_param2=0x%08X, " | ||||
|                 "translation=0x%08X, buff_addr=0x%08X", | ||||
|                 unk_param1, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -919,8 +950,9 @@ void RegisterImmediateTask(Service::Interface* self) { | |||
|     cmd_buff[3] = (buff_size << 4 | 0xA); | ||||
|     cmd_buff[4] = buff_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, unk_param3=0x%08X, " | ||||
|                               "translation=0x%08X, buff_addr=0x%08X, buff_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, unk_param3=0x%08X, " | ||||
|                 "translation=0x%08X, buff_addr=0x%08X, buff_size=0x%08X", | ||||
|                 unk_param1, unk_param2, unk_param3, translation, buff_addr, buff_size); | ||||
| } | ||||
| 
 | ||||
|  | @ -943,9 +975,10 @@ void SetTaskQuery(Service::Interface* self) { | |||
|     cmd_buff[2] = (buff2_size << 4 | 0xA); | ||||
|     cmd_buff[3] = buff2_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, " | ||||
|                               "translation1=0x%08X, buff1_addr=0x%08X, buff1_size=0x%08X, " | ||||
|                               "translation2=0x%08X, buff2_addr=0x%08X, buff2_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, " | ||||
|                 "translation1=0x%08X, buff1_addr=0x%08X, buff1_size=0x%08X, " | ||||
|                 "translation2=0x%08X, buff2_addr=0x%08X, buff2_size=0x%08X", | ||||
|                 unk_param1, unk_param2, translation1, buff1_addr, buff1_size, translation2, | ||||
|                 buff2_addr, buff2_size); | ||||
| } | ||||
|  | @ -969,9 +1002,10 @@ void GetTaskQuery(Service::Interface* self) { | |||
|     cmd_buff[2] = (buff2_size << 4 | 0xC); | ||||
|     cmd_buff[3] = buff2_addr; | ||||
| 
 | ||||
|     LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, " | ||||
|                               "translation1=0x%08X, buff1_addr=0x%08X, buff1_size=0x%08X, " | ||||
|                               "translation2=0x%08X, buff2_addr=0x%08X, buff2_size=0x%08X", | ||||
|     LOG_WARNING(Service_BOSS, | ||||
|                 "(STUBBED) unk_param1=0x%08X, unk_param2=0x%08X, " | ||||
|                 "translation1=0x%08X, buff1_addr=0x%08X, buff1_size=0x%08X, " | ||||
|                 "translation2=0x%08X, buff2_addr=0x%08X, buff2_size=0x%08X", | ||||
|                 unk_param1, unk_param2, translation1, buff1_addr, buff1_size, translation2, | ||||
|                 buff2_addr, buff2_size); | ||||
| } | ||||
|  |  | |||
|  | @ -728,8 +728,9 @@ void Module::Interface::SetDetailSize(Kernel::HLERequestContext& ctx) { | |||
|         rb.Push(ERROR_INVALID_ENUM_VALUE); | ||||
|     } | ||||
| 
 | ||||
|     LOG_DEBUG(Service_CAM, "called, camera_select=%u, width=%u, height=%u, crop_x0=%u, crop_y0=%u, " | ||||
|                            "crop_x1=%u, crop_y1=%u, context_select=%u", | ||||
|     LOG_DEBUG(Service_CAM, | ||||
|               "called, camera_select=%u, width=%u, height=%u, crop_x0=%u, crop_y0=%u, " | ||||
|               "crop_x1=%u, crop_y1=%u, context_select=%u", | ||||
|               camera_select.m_val, resolution.width, resolution.height, resolution.crop_x0, | ||||
|               resolution.crop_y0, resolution.crop_x1, resolution.crop_y1, context_select.m_val); | ||||
| } | ||||
|  |  | |||
|  | @ -90,7 +90,7 @@ struct ConsoleCountryInfo { | |||
|     u8 country_code; ///< The country code of the console
 | ||||
| }; | ||||
| static_assert(sizeof(ConsoleCountryInfo) == 4, "ConsoleCountryInfo must be exactly 4 bytes"); | ||||
| } | ||||
| } // namespace
 | ||||
| 
 | ||||
| static const ConsoleModelInfo CONSOLE_MODEL = {NINTENDO_3DS_XL, {0, 0, 0}}; | ||||
| static const u8 CONSOLE_LANGUAGE = LANGUAGE_EN; | ||||
|  |  | |||
|  | @ -236,8 +236,9 @@ static void RegisterInterruptEvents(Service::Interface* self) { | |||
|         } | ||||
| 
 | ||||
|         if (interrupt_events.HasTooManyEventsRegistered()) { | ||||
|             LOG_INFO(Service_DSP, "Ran out of space to register interrupts (Attempted to register " | ||||
|                                   "type=%u, pipe=%u, event_handle=0x%08X)", | ||||
|             LOG_INFO(Service_DSP, | ||||
|                      "Ran out of space to register interrupts (Attempted to register " | ||||
|                      "type=%u, pipe=%u, event_handle=0x%08X)", | ||||
|                      type_index, pipe_index, event_handle); | ||||
|             cmd_buff[1] = ResultCode(ErrorDescription::InvalidResultValue, ErrorModule::DSP, | ||||
|                                      ErrorSummary::OutOfResource, ErrorLevel::Status) | ||||
|  | @ -294,8 +295,9 @@ static void WriteProcessPipe(Service::Interface* self) { | |||
|     AudioCore::DspPipe pipe = static_cast<AudioCore::DspPipe>(pipe_index); | ||||
| 
 | ||||
|     if (IPC::StaticBufferDesc(size, 1) != cmd_buff[3]) { | ||||
|         LOG_ERROR(Service_DSP, "IPC static buffer descriptor failed validation (0x%X). pipe=%u, " | ||||
|                                "size=0x%X, buffer=0x%08X", | ||||
|         LOG_ERROR(Service_DSP, | ||||
|                   "IPC static buffer descriptor failed validation (0x%X). pipe=%u, " | ||||
|                   "size=0x%X, buffer=0x%08X", | ||||
|                   cmd_buff[3], pipe_index, size, buffer); | ||||
|         cmd_buff[0] = IPC::MakeHeader(0, 1, 0); | ||||
|         cmd_buff[1] = IPC::ERR_INVALID_BUFFER_DESCRIPTOR.raw; | ||||
|  |  | |||
|  | @ -87,8 +87,9 @@ void File::Read(Kernel::HLERequestContext& ctx) { | |||
|     offset += file->offset; | ||||
| 
 | ||||
|     if (offset + length > backend->GetSize()) { | ||||
|         LOG_ERROR(Service_FS, "Reading from out of bounds offset=0x%" PRIx64 | ||||
|                               " length=0x%08X file_size=0x%" PRIx64, | ||||
|         LOG_ERROR(Service_FS, | ||||
|                   "Reading from out of bounds offset=0x%" PRIx64 | ||||
|                   " length=0x%08X file_size=0x%" PRIx64, | ||||
|                   offset, length, backend->GetSize()); | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
|  | @ -438,8 +438,9 @@ void FS_USER::CreateExtSaveData(Kernel::HLERequestContext& ctx) { | |||
|     u32 icon_size = rp.Pop<u32>(); | ||||
|     auto icon_buffer = rp.PopMappedBuffer(); | ||||
| 
 | ||||
|     LOG_WARNING(Service_FS, "(STUBBED) savedata_high=%08X savedata_low=%08X unknown=%08X " | ||||
|                             "files=%08X directories=%08X size_limit=%016" PRIx64 " icon_size=%08X", | ||||
|     LOG_WARNING(Service_FS, | ||||
|                 "(STUBBED) savedata_high=%08X savedata_low=%08X unknown=%08X " | ||||
|                 "files=%08X directories=%08X size_limit=%016" PRIx64 " icon_size=%08X", | ||||
|                 save_high, save_low, unknown, directories, files, size_limit, icon_size); | ||||
| 
 | ||||
|     std::vector<u8> icon(icon_size); | ||||
|  | @ -663,8 +664,9 @@ void FS_USER::SetSaveDataSecureValue(Kernel::HLERequestContext& ctx) { | |||
| 
 | ||||
|     // TODO: Generate and Save the Secure Value
 | ||||
| 
 | ||||
|     LOG_WARNING(Service_FS, "(STUBBED) called, value=0x%016" PRIx64 " secure_value_slot=0x%08X " | ||||
|                             "unqiue_id=0x%08X title_variation=0x%02X", | ||||
|     LOG_WARNING(Service_FS, | ||||
|                 "(STUBBED) called, value=0x%016" PRIx64 " secure_value_slot=0x%08X " | ||||
|                 "unqiue_id=0x%08X title_variation=0x%02X", | ||||
|                 value, secure_value_slot, unique_id, title_variation); | ||||
| 
 | ||||
|     IPC::RequestBuilder rb = rp.MakeBuilder(1, 0); | ||||
|  |  | |||
|  | @ -261,31 +261,26 @@ ResultCode SetBufferSwap(u32 screen_id, const FrameBufferInfo& info) { | |||
|     PAddr phys_address_left = Memory::VirtualToPhysicalAddress(info.address_left); | ||||
|     PAddr phys_address_right = Memory::VirtualToPhysicalAddress(info.address_right); | ||||
|     if (info.active_fb == 0) { | ||||
|         WriteSingleHWReg( | ||||
|             base_address + | ||||
|                 4 * static_cast<u32>(GPU_REG_INDEX(framebuffer_config[screen_id].address_left1)), | ||||
|             phys_address_left); | ||||
|         WriteSingleHWReg( | ||||
|             base_address + | ||||
|                 4 * static_cast<u32>(GPU_REG_INDEX(framebuffer_config[screen_id].address_right1)), | ||||
|             phys_address_right); | ||||
|         WriteSingleHWReg(base_address + 4 * static_cast<u32>(GPU_REG_INDEX( | ||||
|                                                 framebuffer_config[screen_id].address_left1)), | ||||
|                          phys_address_left); | ||||
|         WriteSingleHWReg(base_address + 4 * static_cast<u32>(GPU_REG_INDEX( | ||||
|                                                 framebuffer_config[screen_id].address_right1)), | ||||
|                          phys_address_right); | ||||
|     } else { | ||||
|         WriteSingleHWReg( | ||||
|             base_address + | ||||
|                 4 * static_cast<u32>(GPU_REG_INDEX(framebuffer_config[screen_id].address_left2)), | ||||
|             phys_address_left); | ||||
|         WriteSingleHWReg( | ||||
|             base_address + | ||||
|                 4 * static_cast<u32>(GPU_REG_INDEX(framebuffer_config[screen_id].address_right2)), | ||||
|             phys_address_right); | ||||
|         WriteSingleHWReg(base_address + 4 * static_cast<u32>(GPU_REG_INDEX( | ||||
|                                                 framebuffer_config[screen_id].address_left2)), | ||||
|                          phys_address_left); | ||||
|         WriteSingleHWReg(base_address + 4 * static_cast<u32>(GPU_REG_INDEX( | ||||
|                                                 framebuffer_config[screen_id].address_right2)), | ||||
|                          phys_address_right); | ||||
|     } | ||||
|     WriteSingleHWReg(base_address + | ||||
|                          4 * static_cast<u32>(GPU_REG_INDEX(framebuffer_config[screen_id].stride)), | ||||
|                      info.stride); | ||||
|     WriteSingleHWReg( | ||||
|         base_address + | ||||
|             4 * static_cast<u32>(GPU_REG_INDEX(framebuffer_config[screen_id].color_format)), | ||||
|         info.format); | ||||
|     WriteSingleHWReg(base_address + 4 * static_cast<u32>(GPU_REG_INDEX( | ||||
|                                             framebuffer_config[screen_id].color_format)), | ||||
|                      info.format); | ||||
|     WriteSingleHWReg( | ||||
|         base_address + 4 * static_cast<u32>(GPU_REG_INDEX(framebuffer_config[screen_id].active_fb)), | ||||
|         info.shown_fb); | ||||
|  |  | |||
|  | @ -333,7 +333,9 @@ void Module::Interface::GetGyroscopeLowCalibrateParam(Kernel::HLERequestContext& | |||
| 
 | ||||
|     const s16 param_unit = 6700; // an approximate value taken from hw
 | ||||
|     GyroscopeCalibrateParam param = { | ||||
|         {0, param_unit, -param_unit}, {0, param_unit, -param_unit}, {0, param_unit, -param_unit}, | ||||
|         {0, param_unit, -param_unit}, | ||||
|         {0, param_unit, -param_unit}, | ||||
|         {0, param_unit, -param_unit}, | ||||
|     }; | ||||
|     rb.PushRaw(param); | ||||
| 
 | ||||
|  |  | |||
|  | @ -21,7 +21,7 @@ | |||
| namespace Kernel { | ||||
| class Event; | ||||
| class SharedMemory; | ||||
| } | ||||
| } // namespace Kernel
 | ||||
| 
 | ||||
| namespace CoreTiming { | ||||
| class EventType; | ||||
|  | @ -335,5 +335,5 @@ void InstallInterfaces(SM::ServiceManager& service_manager); | |||
| 
 | ||||
| /// Reload input devices. Used when input configuration changed
 | ||||
| void ReloadInputDevices(); | ||||
| } | ||||
| } | ||||
| } // namespace HID
 | ||||
| } // namespace Service
 | ||||
|  |  | |||
|  | @ -72,21 +72,77 @@ ExtraHID::ExtraHID(SendFunc send_func) : IRDevice(send_func) { | |||
|     // and loaded from somewhere.
 | ||||
|     calibration_data = std::array<u8, 0x40>{{ | ||||
|         // 0x00
 | ||||
|         0x00, 0x00, 0x08, 0x80, 0x85, 0xEB, 0x11, 0x3F, | ||||
|         0x00, | ||||
|         0x00, | ||||
|         0x08, | ||||
|         0x80, | ||||
|         0x85, | ||||
|         0xEB, | ||||
|         0x11, | ||||
|         0x3F, | ||||
|         // 0x08
 | ||||
|         0x85, 0xEB, 0x11, 0x3F, 0xFF, 0xFF, 0xFF, 0xF5, | ||||
|         0x85, | ||||
|         0xEB, | ||||
|         0x11, | ||||
|         0x3F, | ||||
|         0xFF, | ||||
|         0xFF, | ||||
|         0xFF, | ||||
|         0xF5, | ||||
|         // 0x10
 | ||||
|         0xFF, 0x00, 0x08, 0x80, 0x85, 0xEB, 0x11, 0x3F, | ||||
|         0xFF, | ||||
|         0x00, | ||||
|         0x08, | ||||
|         0x80, | ||||
|         0x85, | ||||
|         0xEB, | ||||
|         0x11, | ||||
|         0x3F, | ||||
|         // 0x18
 | ||||
|         0x85, 0xEB, 0x11, 0x3F, 0xFF, 0xFF, 0xFF, 0x65, | ||||
|         0x85, | ||||
|         0xEB, | ||||
|         0x11, | ||||
|         0x3F, | ||||
|         0xFF, | ||||
|         0xFF, | ||||
|         0xFF, | ||||
|         0x65, | ||||
|         // 0x20
 | ||||
|         0xFF, 0x00, 0x08, 0x80, 0x85, 0xEB, 0x11, 0x3F, | ||||
|         0xFF, | ||||
|         0x00, | ||||
|         0x08, | ||||
|         0x80, | ||||
|         0x85, | ||||
|         0xEB, | ||||
|         0x11, | ||||
|         0x3F, | ||||
|         // 0x28
 | ||||
|         0x85, 0xEB, 0x11, 0x3F, 0xFF, 0xFF, 0xFF, 0x65, | ||||
|         0x85, | ||||
|         0xEB, | ||||
|         0x11, | ||||
|         0x3F, | ||||
|         0xFF, | ||||
|         0xFF, | ||||
|         0xFF, | ||||
|         0x65, | ||||
|         // 0x30
 | ||||
|         0xFF, 0x00, 0x08, 0x80, 0x85, 0xEB, 0x11, 0x3F, | ||||
|         0xFF, | ||||
|         0x00, | ||||
|         0x08, | ||||
|         0x80, | ||||
|         0x85, | ||||
|         0xEB, | ||||
|         0x11, | ||||
|         0x3F, | ||||
|         // 0x38
 | ||||
|         0x85, 0xEB, 0x11, 0x3F, 0xFF, 0xFF, 0xFF, 0x65, | ||||
|         0x85, | ||||
|         0xEB, | ||||
|         0x11, | ||||
|         0x3F, | ||||
|         0xFF, | ||||
|         0xFF, | ||||
|         0xFF, | ||||
|         0x65, | ||||
|     }}; | ||||
| 
 | ||||
|     hid_polling_callback_id = | ||||
|  |  | |||
|  | @ -16,7 +16,7 @@ | |||
| namespace Kernel { | ||||
| class Event; | ||||
| class SharedMemory; | ||||
| } | ||||
| } // namespace Kernel
 | ||||
| 
 | ||||
| namespace CoreTiming { | ||||
| class EventType; | ||||
|  |  | |||
|  | @ -251,9 +251,10 @@ void IR_USER::InitializeIrNopShared(Kernel::HLERequestContext& ctx) { | |||
| 
 | ||||
|     rb.Push(RESULT_SUCCESS); | ||||
| 
 | ||||
|     LOG_INFO(Service_IR, "called, shared_buff_size=%u, recv_buff_size=%u, " | ||||
|                          "recv_buff_packet_count=%u, send_buff_size=%u, " | ||||
|                          "send_buff_packet_count=%u, baud_rate=%u", | ||||
|     LOG_INFO(Service_IR, | ||||
|              "called, shared_buff_size=%u, recv_buff_size=%u, " | ||||
|              "recv_buff_packet_count=%u, send_buff_size=%u, " | ||||
|              "send_buff_packet_count=%u, baud_rate=%u", | ||||
|              shared_buff_size, recv_buff_size, recv_buff_packet_count, send_buff_size, | ||||
|              send_buff_packet_count, baud_rate); | ||||
| } | ||||
|  |  | |||
|  | @ -12,7 +12,7 @@ | |||
| namespace Kernel { | ||||
| class Event; | ||||
| class SharedMemory; | ||||
| } | ||||
| } // namespace Kernel
 | ||||
| 
 | ||||
| namespace CoreTiming { | ||||
| class EventType; | ||||
|  |  | |||
|  | @ -25,18 +25,27 @@ const std::array<int, 17> CROHelper::ENTRY_SIZE{{ | |||
|     1, // code
 | ||||
|     1, // data
 | ||||
|     1, // module name
 | ||||
|     sizeof(SegmentEntry), sizeof(ExportNamedSymbolEntry), sizeof(ExportIndexedSymbolEntry), | ||||
|     sizeof(SegmentEntry), | ||||
|     sizeof(ExportNamedSymbolEntry), | ||||
|     sizeof(ExportIndexedSymbolEntry), | ||||
|     1, // export strings
 | ||||
|     sizeof(ExportTreeEntry), sizeof(ImportModuleEntry), sizeof(ExternalRelocationEntry), | ||||
|     sizeof(ImportNamedSymbolEntry), sizeof(ImportIndexedSymbolEntry), | ||||
|     sizeof(ExportTreeEntry), | ||||
|     sizeof(ImportModuleEntry), | ||||
|     sizeof(ExternalRelocationEntry), | ||||
|     sizeof(ImportNamedSymbolEntry), | ||||
|     sizeof(ImportIndexedSymbolEntry), | ||||
|     sizeof(ImportAnonymousSymbolEntry), | ||||
|     1, // import strings
 | ||||
|     sizeof(StaticAnonymousSymbolEntry), sizeof(InternalRelocationEntry), | ||||
|     sizeof(StaticAnonymousSymbolEntry), | ||||
|     sizeof(InternalRelocationEntry), | ||||
|     sizeof(StaticRelocationEntry), | ||||
| }}; | ||||
| 
 | ||||
| const std::array<CROHelper::HeaderField, 4> CROHelper::FIX_BARRIERS{{ | ||||
|     Fix0Barrier, Fix1Barrier, Fix2Barrier, Fix3Barrier, | ||||
|     Fix0Barrier, | ||||
|     Fix1Barrier, | ||||
|     Fix2Barrier, | ||||
|     Fix3Barrier, | ||||
| }}; | ||||
| 
 | ||||
| VAddr CROHelper::SegmentTagToAddress(SegmentTag segment_tag) const { | ||||
|  | @ -209,12 +218,24 @@ ResultCode CROHelper::RebaseHeader(u32 cro_size) { | |||
| 
 | ||||
|     // verifies that all offsets are in the correct order
 | ||||
|     constexpr std::array<HeaderField, 18> OFFSET_ORDER = {{ | ||||
|         CodeOffset, ModuleNameOffset, SegmentTableOffset, ExportNamedSymbolTableOffset, | ||||
|         ExportTreeTableOffset, ExportIndexedSymbolTableOffset, ExportStringsOffset, | ||||
|         ImportModuleTableOffset, ExternalRelocationTableOffset, ImportNamedSymbolTableOffset, | ||||
|         ImportIndexedSymbolTableOffset, ImportAnonymousSymbolTableOffset, ImportStringsOffset, | ||||
|         StaticAnonymousSymbolTableOffset, InternalRelocationTableOffset, | ||||
|         StaticRelocationTableOffset, DataOffset, FileSize, | ||||
|         CodeOffset, | ||||
|         ModuleNameOffset, | ||||
|         SegmentTableOffset, | ||||
|         ExportNamedSymbolTableOffset, | ||||
|         ExportTreeTableOffset, | ||||
|         ExportIndexedSymbolTableOffset, | ||||
|         ExportStringsOffset, | ||||
|         ImportModuleTableOffset, | ||||
|         ExternalRelocationTableOffset, | ||||
|         ImportNamedSymbolTableOffset, | ||||
|         ImportIndexedSymbolTableOffset, | ||||
|         ImportAnonymousSymbolTableOffset, | ||||
|         ImportStringsOffset, | ||||
|         StaticAnonymousSymbolTableOffset, | ||||
|         InternalRelocationTableOffset, | ||||
|         StaticRelocationTableOffset, | ||||
|         DataOffset, | ||||
|         FileSize, | ||||
|     }}; | ||||
| 
 | ||||
|     u32 prev_offset = GetField(OFFSET_ORDER[0]); | ||||
|  |  | |||
|  | @ -195,10 +195,11 @@ void RO::LoadCRO(Kernel::HLERequestContext& ctx, bool link_on_load_bug_fix) { | |||
|     VAddr crr_address = rp.Pop<u32>(); | ||||
|     auto process = rp.PopObject<Kernel::Process>(); | ||||
| 
 | ||||
|     LOG_DEBUG(Service_LDR, "called (%s), cro_buffer_ptr=0x%08X, cro_address=0x%08X, cro_size=0x%X, " | ||||
|                            "data_segment_address=0x%08X, zero=%d, data_segment_size=0x%X, " | ||||
|                            "bss_segment_address=0x%08X, bss_segment_size=0x%X, auto_link=%s, " | ||||
|                            "fix_level=%d, crr_address=0x%08X", | ||||
|     LOG_DEBUG(Service_LDR, | ||||
|               "called (%s), cro_buffer_ptr=0x%08X, cro_address=0x%08X, cro_size=0x%X, " | ||||
|               "data_segment_address=0x%08X, zero=%d, data_segment_size=0x%X, " | ||||
|               "bss_segment_address=0x%08X, bss_segment_size=0x%X, auto_link=%s, " | ||||
|               "fix_level=%d, crr_address=0x%08X", | ||||
|               link_on_load_bug_fix ? "new" : "old", cro_buffer_ptr, cro_address, cro_size, | ||||
|               data_segment_address, zero, data_segment_size, bss_segment_address, bss_segment_size, | ||||
|               auto_link ? "true" : "false", fix_level, crr_address); | ||||
|  |  | |||
|  | @ -21,7 +21,10 @@ enum : u32 { | |||
| static DaemonMask daemon_bit_mask = DaemonMask::Default; | ||||
| static DaemonMask default_daemon_bit_mask = DaemonMask::Default; | ||||
| static std::array<DaemonStatus, 4> daemon_status = { | ||||
|     DaemonStatus::Idle, DaemonStatus::Idle, DaemonStatus::Idle, DaemonStatus::Idle, | ||||
|     DaemonStatus::Idle, | ||||
|     DaemonStatus::Idle, | ||||
|     DaemonStatus::Idle, | ||||
|     DaemonStatus::Idle, | ||||
| }; | ||||
| static ExclusiveState exclusive_state = ExclusiveState::None; | ||||
| static u32 scan_interval = DEFAULT_SCAN_INTERVAL; | ||||
|  |  | |||
|  | @ -554,8 +554,9 @@ void NWM_UDS::RecvBeaconBroadcastData(Kernel::HLERequestContext& ctx) { | |||
|     rb.Push(RESULT_SUCCESS); | ||||
|     rb.PushMappedBuffer(out_buffer); | ||||
| 
 | ||||
|     LOG_DEBUG(Service_NWM, "called out_buffer_size=0x%08X, wlan_comm_id=0x%08X, id=0x%08X," | ||||
|                            "unk1=0x%08X, unk2=0x%08X, offset=%zu", | ||||
|     LOG_DEBUG(Service_NWM, | ||||
|               "called out_buffer_size=0x%08X, wlan_comm_id=0x%08X, id=0x%08X," | ||||
|               "unk1=0x%08X, unk2=0x%08X, offset=%zu", | ||||
|               out_buffer_size, wlan_comm_id, id, unk1, unk2, cur_buffer_size); | ||||
| } | ||||
| 
 | ||||
|  |  | |||
|  | @ -187,8 +187,9 @@ static std::vector<u8> DecryptDataFrame(const std::vector<u8>& encrypted_payload | |||
|         d.SpecifyDataLengths(aad.size(), encrypted_payload.size() - 8, 0); | ||||
| 
 | ||||
|         CryptoPP::AuthenticatedDecryptionFilter df( | ||||
|             d, nullptr, CryptoPP::AuthenticatedDecryptionFilter::MAC_AT_END | | ||||
|                             CryptoPP::AuthenticatedDecryptionFilter::THROW_EXCEPTION); | ||||
|             d, nullptr, | ||||
|             CryptoPP::AuthenticatedDecryptionFilter::MAC_AT_END | | ||||
|                 CryptoPP::AuthenticatedDecryptionFilter::THROW_EXCEPTION); | ||||
|         // put aad
 | ||||
|         df.ChannelPut(CryptoPP::AAD_CHANNEL, aad.data(), aad.size()); | ||||
| 
 | ||||
|  |  | |||
|  | @ -10,7 +10,7 @@ | |||
| namespace Kernel { | ||||
| class HLERequestContext; | ||||
| class Semaphore; | ||||
| } | ||||
| } // namespace Kernel
 | ||||
| 
 | ||||
| namespace Service { | ||||
| namespace SM { | ||||
|  |  | |||
|  | @ -88,5 +88,5 @@ SSL_C::SSL_C() { | |||
|     Register(FunctionTable); | ||||
| } | ||||
| 
 | ||||
| } // namespace SSL_C
 | ||||
| } // namespace SSL
 | ||||
| } // namespace Service
 | ||||
|  |  | |||
|  | @ -230,8 +230,9 @@ void Y2R_U::SetSendingY(Kernel::HLERequestContext& ctx) { | |||
|     IPC::RequestBuilder rb = rp.MakeBuilder(1, 0); | ||||
|     rb.Push(RESULT_SUCCESS); | ||||
| 
 | ||||
|     LOG_DEBUG(Service_Y2R, "called image_size=0x%08X, transfer_unit=%hu, transfer_stride=%hu, " | ||||
|                            "src_process_id=%u", | ||||
|     LOG_DEBUG(Service_Y2R, | ||||
|               "called image_size=0x%08X, transfer_unit=%hu, transfer_stride=%hu, " | ||||
|               "src_process_id=%u", | ||||
|               conversion.src_Y.image_size, conversion.src_Y.transfer_unit, conversion.src_Y.gap, | ||||
|               process->process_id); | ||||
| } | ||||
|  | @ -248,8 +249,9 @@ void Y2R_U::SetSendingU(Kernel::HLERequestContext& ctx) { | |||
|     IPC::RequestBuilder rb = rp.MakeBuilder(1, 0); | ||||
|     rb.Push(RESULT_SUCCESS); | ||||
| 
 | ||||
|     LOG_DEBUG(Service_Y2R, "called image_size=0x%08X, transfer_unit=%hu, transfer_stride=%hu, " | ||||
|                            "src_process_id=%u", | ||||
|     LOG_DEBUG(Service_Y2R, | ||||
|               "called image_size=0x%08X, transfer_unit=%hu, transfer_stride=%hu, " | ||||
|               "src_process_id=%u", | ||||
|               conversion.src_U.image_size, conversion.src_U.transfer_unit, conversion.src_U.gap, | ||||
|               process->process_id); | ||||
| } | ||||
|  | @ -267,8 +269,9 @@ void Y2R_U::SetSendingV(Kernel::HLERequestContext& ctx) { | |||
|     IPC::RequestBuilder rb = rp.MakeBuilder(1, 0); | ||||
|     rb.Push(RESULT_SUCCESS); | ||||
| 
 | ||||
|     LOG_DEBUG(Service_Y2R, "called image_size=0x%08X, transfer_unit=%hu, transfer_stride=%hu, " | ||||
|                            "src_process_id=%u", | ||||
|     LOG_DEBUG(Service_Y2R, | ||||
|               "called image_size=0x%08X, transfer_unit=%hu, transfer_stride=%hu, " | ||||
|               "src_process_id=%u", | ||||
|               conversion.src_V.image_size, conversion.src_V.transfer_unit, conversion.src_V.gap, | ||||
|               process->process_id); | ||||
| } | ||||
|  | @ -286,8 +289,9 @@ void Y2R_U::SetSendingYUYV(Kernel::HLERequestContext& ctx) { | |||
|     IPC::RequestBuilder rb = rp.MakeBuilder(1, 0); | ||||
|     rb.Push(RESULT_SUCCESS); | ||||
| 
 | ||||
|     LOG_DEBUG(Service_Y2R, "called image_size=0x%08X, transfer_unit=%hu, transfer_stride=%hu, " | ||||
|                            "src_process_id=%u", | ||||
|     LOG_DEBUG(Service_Y2R, | ||||
|               "called image_size=0x%08X, transfer_unit=%hu, transfer_stride=%hu, " | ||||
|               "src_process_id=%u", | ||||
|               conversion.src_YUYV.image_size, conversion.src_YUYV.transfer_unit, | ||||
|               conversion.src_YUYV.gap, process->process_id); | ||||
| } | ||||
|  | @ -345,8 +349,9 @@ void Y2R_U::SetReceiving(Kernel::HLERequestContext& ctx) { | |||
|     IPC::RequestBuilder rb = rp.MakeBuilder(1, 0); | ||||
|     rb.Push(RESULT_SUCCESS); | ||||
| 
 | ||||
|     LOG_DEBUG(Service_Y2R, "called image_size=0x%08X, transfer_unit=%hu, transfer_stride=%hu, " | ||||
|                            "dst_process_id=%u", | ||||
|     LOG_DEBUG(Service_Y2R, | ||||
|               "called image_size=0x%08X, transfer_unit=%hu, transfer_stride=%hu, " | ||||
|               "dst_process_id=%u", | ||||
|               conversion.dst.image_size, conversion.dst.transfer_unit, conversion.dst.gap, | ||||
|               static_cast<u32>(dst_process->process_id)); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue