Files @ r5298:8fdd01992c6e
Branch filter:

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

rubidium
(svn r7451) -Fix (7372): GetNum(Towns|Industries) should return the actual number of towns and industries.
-Fix (6055): GetMax(Town|Industry)Index should not return the number of towns or industries - 1, but the size of the pool - 1.
		.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