From 80a82acf5587b395dd29fe7b1e9eed94e16c70be Mon Sep 17 00:00:00 2001 From: JamePeng Date: Thu, 11 Feb 2016 05:12:52 +0800 Subject: [PATCH] Align the code in am.cpp! Signed-off-by: JamePeng --- src/core/hle/service/am/am.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index bef5136a2..53ee01b39 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp @@ -1,6 +1,7 @@ // Copyright 2015 Citra Emulator Project // Licensed under GPLv2 or any later version // Refer to the license.txt file included. + #include #include "common/logging/log.h" @@ -47,14 +48,15 @@ void GetNumContentInfos(Service::Interface* self) { void ListDataTitleTicketInfos(Service::Interface* self) { u32* cmd_buff = Kernel::GetCommandBuffer(); - u32 ticket_count = cmd_buff[1]; - u64 title_id = static_cast(cmd_buff[2]) << 32 | cmd_buff[3]; - u32 start_index = cmd_buff[4]; - u32 tipointer = cmd_buff[6]; + u32 ticket_count = cmd_buff[1]; + u64 title_id = static_cast(cmd_buff[2]) << 32 | cmd_buff[3]; + u32 start_index = cmd_buff[4]; + u32 ticket_info_pointer = cmd_buff[6]; cmd_buff[1] = RESULT_SUCCESS.raw; cmd_buff[2] = 0x18; - LOG_WARNING(Service_AM, "(STUBBED) TicketCount=0x%08X TitleID=0x%016" PRIx64 " StartIndex=0x%08X TicketInfosPointer=0x%08X",ticket_count, title_id, start_index, tipointer); + LOG_WARNING(Service_AM, "(STUBBED) TicketCount=0x%08X TitleID=0x%016" PRIx64 " StartIndex=0x%08X TicketInfosPointer=0x%08X", + ticket_count, title_id, start_index, ticket_info_pointer); } void Init() {