Optimize for performance and percision

This commit is contained in:
Tomislav Kopić 2024-06-16 10:36:28 +02:00
parent 3eac4d03fa
commit 7b96ba2d19

View File

@ -13,7 +13,7 @@
/****************************************/
/***** Tama Setting and Features *****/
#define TAMA_DISPLAY_FRAMERATE 10
#define TAMA_DISPLAY_FRAMERATE 12
#define ENABLE_TAMA_SOUND
#define ENABLE_REAL_TIME
#define ENABLE_SAVE_STATUS
@ -30,11 +30,11 @@
// it also seems that the temperature also effects the clock frequency so time keeps on drifting and it get's noticable after some time.
// You can play around with these 2 to try and reduce the drift:
#define EMULATOR_CLOCK_SPEED 1002700 // this values seems to be around 1002700(+-5)
#define EMULATOR_CLOCK_SPEED 1000000
// If game time is going faster than it should, increase this value by 1 to slow it down.
// fixed microsecond sleep between each cycle used to fine tune the emulator time drift even more
#define FINE_TUNING_DELAY 16
#define FINE_TUNING_DELAY 1
// If game time is going faster than it should, increase this value
/**************************************************************************/