sio.h (388B)
1 // SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com> 2 // SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0) 3 4 #pragma once 5 6 #include "common/types.h" 7 8 class StateWrapper; 9 10 namespace SIO { 11 12 void Initialize(); 13 void Shutdown(); 14 void Reset(); 15 bool DoState(StateWrapper& sw); 16 17 u32 ReadRegister(u32 offset); 18 void WriteRegister(u32 offset, u32 value); 19 20 } // namespace SIO