1
0
mirror of https://git.code.sf.net/p/fuse-emulator/fuse synced 2026-01-27 01:41:34 +03:00
Files
fuse/timer/timer.h
Fredrick Meunier c616e7dd8e Accelerate reset when phantom typist is enabled
and a file is loaded from the menu.
2018-03-05 22:55:05 +11:00

47 lines
1.3 KiB
C

/* timer.h: Speed routines for Fuse
Copyright (c) 1999-2017 Philip Kendall
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Author contact information:
E-mail: philip-fuse@shadowmagic.org.uk
*/
#ifndef FUSE_TIMER_H
#define FUSE_TIMER_H
#include <libspectrum.h>
int timer_estimate_reset( void );
int timer_estimate_speed( void );
void timer_register_startup( void );
extern float current_speed;
extern int timer_event;
void timer_start_fastloading( void );
void timer_stop_fastloading( void );
int timer_fastloading_active( void );
/* Internal routines */
double timer_get_time( void );
void timer_sleep( int ms );
#endif /* #ifndef FUSE_TIMER_H */