mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-13 18:28:28 +12:00
proof of concept
This commit is contained in:
parent
bab1616565
commit
a7a116a6f1
9 changed files with 138 additions and 110 deletions
|
@ -507,6 +507,19 @@ struct CemuConfig
|
|||
bool GetGameListCustomName(uint64 titleId, std::string& customName);
|
||||
void SetGameListCustomName(uint64 titleId, std::string customName);
|
||||
|
||||
static int AudioChannelsToNChannels(AudioChannels kStereo)
|
||||
{
|
||||
switch (kStereo)
|
||||
{
|
||||
case 0:
|
||||
return 1; // will mix mono sound on both output channels
|
||||
case 2:
|
||||
return 6;
|
||||
default: // stereo
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
||||
private:
|
||||
GameEntry* GetGameEntryByTitleId(uint64 titleId);
|
||||
GameEntry* CreateGameEntry(uint64 titleId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue