Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Stormrider on October 28, 2009, 07:04:43 pm

Title: Does MAME use profiler.c?
Post by: Stormrider on October 28, 2009, 07:04:43 pm
I'm compiling and no matter if I make changes to compiler.c it is ignored and actually mingw says there's nothing to be done. I was trying to change the behaviour of the performance counter to the old style: 60/60. I've noticied there's a change from 113 to 114 in the line:

if (computed) showdelay = SUBSECONDS_TO_HZ(Machine->screen[0].refresh);

to

if (computed) showdelay = Machine->screen[0].refresh;

This is also in 118, which is the version I was compiling. I wonder if this is possible. To put things worse, this file in 134 is completetelly different. Should I keep on trying or is this new profiler a complex change that cannot be converted into a fps counter without a lot of modifications?
Title: Re: Does MAME use profiler.c?
Post by: Cakemeister on October 28, 2009, 11:16:10 pm
In the makefile;

Code: [Select]
# uncomment next line to include the internal profiler
# PROFILER = 1