Handmade Hero»Forums»Code
1 posts
Debug Graph
Long time Youtube lurker here, so firstly, thanks for the great series, keep 'em coming.

Since the implementation of the 'blue' debug graph I have noticed what I believe to be a minor bug that has been 'bugging' me :)

The very first bar upon loading compares the RDTSC to zero, which makes the value of the bar meaningless (pretty much). It would, I assume be better to set the 'last RDTSC value' to the RDTSC, rather than 0.

Sorry I can't be more specific, but I have not preordered the game so do not have access to the code.

Best regards
Casey Muratori
801 posts / 1 project
Casey Muratori is a programmer at Molly Rocket on the game 1935 and is the host of the educational programming series Handmade Hero.
Debug Graph
Yes, that would be fine... although this is, of course, going to be deleted tomorrow so it won't really help us. We will need to figure out how we're going to deal with the timers "wrapping around", so to speak, in the general case.

- Casey