If you are having problems with rdtsc.cpp compiling in the zone source I suggest using this assembly instead
Edit: read below, you need to change the variables high and low if you are using VC.
This goes in rdtsc.cpp below sint64 RDTSC_Timer::rdtsc() for the WIN32 ifdef
__asm
{
push eax
push edx
rdtsc
mov high, eax
mov low, edx
pop edx
pop eax
}
__________________
www.eq2emu.com
EQ2Emu Developer
Former EQEMu Developer / GuildWars / Zek Seasons Servers
Member of the "I hate devn00b" club.
Last edited by image; 11-08-2005 at 12:43 AM..
|