[A10]Fix commit 9f73448
g_refreshRate must be global