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