From 6448d788c56ed22acb1c175b8292be578e1eb850 Mon Sep 17 00:00:00 2001 From: JamePeng Date: Thu, 11 Feb 2016 03:47:47 +0800 Subject: [PATCH] fixed ListDataTitleTicketInfos Signed-off-by: JamePeng --- src/core/hle/service/am/am.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index 90fdde6c7..71f639b06 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp @@ -47,14 +47,13 @@ void GetNumContentInfos(Service::Interface* self) { void ListDataTitleTicketInfos(Service::Interface* self) { u32* cmd_buff = Kernel::GetCommandBuffer(); u32 ticket_count = cmd_buff[1]; - u64 title_id = cmd_buff[2]; - title_id = (title_id << 32) | cmd_buff[3]; + u64 title_id = (title_id << 32) | cmd_buff[3]; u32 start_index = cmd_buff[4]; u32 tipointer = cmd_buff[6]; cmd_buff[1] = RESULT_SUCCESS.raw; cmd_buff[2] = 0x18; - LOG_WARNING(Service_AM, "(STUBBED) TicketCount=0x%08X TitleID==0x%16X StartIndex=0x%08X", + LOG_WARNING(Service_AM, "(STUBBED) TicketCount=0x%08X TitleID==0x%I64x StartIndex=0x%08X", "TicketInfosPointer=0x%08X",ticket_count, title_id, start_index, tipointer); }