Skip to content

Commit

Permalink
get render time as a 64 bit float
Browse files Browse the repository at this point in the history
  • Loading branch information
Berthalamew committed Dec 27, 2023
1 parent b5b6f41 commit 6f04349
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions xlive/Blam/Engine/render/render.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "stdafx.h"
#include "render.h"

real32 get_current_render_time()
real64 get_current_render_time(void)
{
return *Memory::GetAddress<real32*>(0x4E6968);
return *Memory::GetAddress<real64*>(0x4E6968);
}
2 changes: 1 addition & 1 deletion xlive/Blam/Engine/render/render.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#pragma once

real32 get_current_render_time();
real64 get_current_render_time(void);

0 comments on commit 6f04349

Please sign in to comment.