Duckstation/src/core/sio.h

20 lines
380 B
C
Raw Normal View History

// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once
#include "types.h"
class StateWrapper;
2023-01-11 09:03:07 +00:00
namespace SIO {
2023-01-11 09:03:07 +00:00
void Initialize();
void Shutdown();
void Reset();
bool DoState(StateWrapper& sw);
2023-01-11 09:03:07 +00:00
u32 ReadRegister(u32 offset);
void WriteRegister(u32 offset, u32 value);
2023-01-11 09:03:07 +00:00
} // namespace SIO