Files @ r4352:460a517b040f
Branch filter:

Location: cpp/openttd-patchpack/source/win64.asm

truelight
(svn r6053) -Codechange: renamed all IsXXXIndex to IsValidXXXID
-Codechange: IsValidXXXID now also checks if XXX is really valid, not if the number is within range
Both changes again in preperation of the new mem-pool system, which requires this.
IsValidXXXID is not a bit less pretty, but that will be cleaned up after the new mem-pool system
		.CODE

PUBLIC	_get_save_esp
_get_save_esp:
		MOV	RAX,RSP
		RET

PUBLIC	_rdtsc
_rdtsc:
		RDTSC
		MOV RCX,RDX
		SHL RCX,32
		AND RAX,0FFFFFFFFh
		OR  RAX,RCX
		RET

		END