#ifndef MS_MULTIPLAYER_CONTROLLER #define MS_MULTIPLAYER_CONTROLLER #include #include #include #include #ifdef M_CORE_GBA #include #endif #ifdef M_CORE_GB #include #endif #include #include #include struct msMultiplayerController { struct msPlayer *players; pthread_mutex_t lock; union { struct mLockstep m_lockstep; #ifdef M_CORE_GB struct GBSIOLockstep m_gbLockstep; #endif #ifdef M_CORE_GBA struct GBASIOLockstep m_gbaLockstep; #endif }; }; #endif