mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 14:31:17 +12:00
parent
88f63ca373
commit
76c75f767b
4 changed files with 12 additions and 7 deletions
|
@ -21,6 +21,8 @@
|
|||
#include "GX2_Surface_Copy.h"
|
||||
#include "GX2_Texture.h"
|
||||
|
||||
#include <cinttypes>
|
||||
|
||||
#define GX2_TV_RENDER_NONE 0
|
||||
#define GX2_TV_RENDER_480 1
|
||||
#define GX2_TV_RENDER_480_WIDE 2
|
||||
|
@ -343,7 +345,7 @@ void _GX2SubmitToTCL()
|
|||
// update last submitted CB timestamp
|
||||
uint64 commandBufferTimestamp = Latte_GetTime();
|
||||
LatteGPUState.lastSubmittedCommandBufferTimestamp.store(commandBufferTimestamp);
|
||||
gx2Log_printf("Submitting GX2 command buffer with timestamp %016I64x", commandBufferTimestamp);
|
||||
gx2Log_printf("Submitting GX2 command buffer with timestamp %016" PRIx64, commandBufferTimestamp);
|
||||
// submit HLE packet to write retirement timestamp
|
||||
gx2WriteGather_submitU32AsBE(pm4HeaderType3(IT_HLE_SET_CB_RETIREMENT_TIMESTAMP, 2));
|
||||
gx2WriteGather_submitU32AsBE((uint32)(commandBufferTimestamp>>32ULL));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue