mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-17 22:30:59 +00:00
Lunatic: build fix on Windows and translator fix with 32-bit archs?
erratum in r2844 commit message: ydim vs. bytesperline --> xdim vs. bytesperline git-svn-id: https://svn.eduke32.com/eduke32@2849 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
568f213de8
commit
0e6c83bb1b
3 changed files with 4 additions and 2 deletions
|
@ -38,7 +38,8 @@ actor;
|
|||
ud;
|
||||
g_player;
|
||||
|
||||
luaJIT_BC_*;
|
||||
luaJIT_BC_lunacon;
|
||||
luaJIT_BC_con_lang;
|
||||
|
||||
gethitickms;
|
||||
};
|
||||
|
|
|
@ -129,7 +129,7 @@ local function parse_number(pos, numstr)
|
|||
num = NaN
|
||||
elseif (num >= 0x80000000 and numstr:sub(1,2):lower()~="0x") then
|
||||
pwarnprintf(pos, "number %s converted to a negative one", numstr)
|
||||
num = num-0x100000000
|
||||
num = num-(0xffffffff+1)
|
||||
end
|
||||
|
||||
return num
|
||||
|
|
|
@ -204,6 +204,7 @@ gameevent(gv.EVENT_ENTERLEVEL,
|
|||
t = gv.gethitickms()-t
|
||||
|
||||
-- x86_64: 40ns/call, x86: 290 ns/call
|
||||
-- Windows 32-bit: about 1 us/call
|
||||
printf("%d gethitickms() calls took %.03f ms (%.03f us/call)",
|
||||
N, t, (t*1000)/N)
|
||||
|
||||
|
|
Loading…
Reference in a new issue