mirror of
https://github.com/LNH-team/pico-loader.git
synced 2026-01-10 08:29:29 +01:00
19 lines
626 B
C++
19 lines
626 B
C++
#pragma once
|
|
|
|
/// @brief Class handling switching from DSi to DS mode.
|
|
class DSMode
|
|
{
|
|
public:
|
|
/// @brief Switches to DS mode for the game with the given \p gameCode.
|
|
/// @param gameCode The game code of the game to switch to DS mode for.
|
|
void SwitchToDSMode(u32 gameCode) const;
|
|
|
|
/// @brief Switches CODEC to DS mode for the game with the given \p gameCode.
|
|
/// @param gameCode The game code of the game to switch CODEC to DS mode for.
|
|
void SwitchToDSTouchAndSoundMode(u32 gameCode) const;
|
|
|
|
private:
|
|
void SwitchCodecToDSMode(u32 gameCode) const;
|
|
bool ShouldUseVolumeFix(u32 gameCode) const;
|
|
};
|