mirror of
https://github.com/LNH-team/pico-loader.git
synced 2026-06-02 09:16:49 +02:00
Initial commit
This commit is contained in:
18
arm7/source/loader/DSMode.h
Normal file
18
arm7/source/loader/DSMode.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#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;
|
||||
};
|
||||
Reference in New Issue
Block a user