1 #ifndef __PCFX_TIMER_H 2 #define __PCFX_TIMER_H 3 4 void FXTIMER_Write16(uint32 A, uint16 V, const v810_timestamp_t timestamp); 5 uint16 FXTIMER_Read16(uint32 A, const v810_timestamp_t timestamp); 6 uint8 FXTIMER_Read8(uint32 A, const v810_timestamp_t timestamp); 7 v810_timestamp_t FXTIMER_Update(const v810_timestamp_t timestamp); 8 void FXTIMER_ResetTS(int32 ts_base); 9 void FXTIMER_Reset(void); 10 11 void FXTIMER_Init(void); 12 13 int FXTIMER_StateAction(StateMem *sm, int load, int data_only); 14 bool FXTIMER_GetRegister(const std::string &name, uint32 &value, std::string *special); 15 16 #endif 17