summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/deprecat.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-03-12 05:13:03 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-03-12 05:13:03 +0000
commitd5561a8e755069f8d7b33e4597787c142ab9d06b (patch)
tree4ef36d5e2936f4b2b355012aee321848f2b12b25 /src/emu/deprecat.h
parent61b009597e9083f88940b42bbce2a24faa2a2ca3 (diff)
Removed cpu_scalebyfcount().
Changed input ports to register a frame callback, which is called immediately after throttling and updating. This is the proper "sync point" between emulated time and real time. Moved all analog and digital port processing into a central place here. Added tracking of time since the previous frame update and use that as an estimate for the time of the current frame. This is used to scale analog ports without the use of cpu_scalebyfcount(). This is not perfect in the case where frame rates are dynamic (vector games), but works well for other cases. Further cleanup of memory header and code.
Diffstat (limited to 'src/emu/deprecat.h')
-rw-r--r--src/emu/deprecat.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/emu/deprecat.h b/src/emu/deprecat.h
index 9f25f95ae21..e01b74676ad 100644
--- a/src/emu/deprecat.h
+++ b/src/emu/deprecat.h
@@ -65,8 +65,5 @@ extern running_machine *Machine;
that the interrupt handler will be called once. */
int cpu_getiloops(void);
-/* Scales a given value by the ratio of fcount / fperiod */
-int cpu_scalebyfcount(int value);
-
#endif /* __DEPRECAT_H__ */