Update player_test.c

This commit is contained in:
Cong
2023-03-17 12:39:29 +11:00
parent dc66a55d15
commit c68f5be26d

View File

@@ -19,6 +19,7 @@ FEATURE(assign_unused, "Assign unused input device")
// lets us easily assign different input devices to different players,
// regardless of the number and type of input devices and players.
PlayerDataInit(&gPlayerDatas);
gConfig = ConfigDefault();
NPlayerData pd = PlayerDataDefault(0);
PlayerDataAddOrUpdate(pd);
pd.UID = 1;