proof of concept

This commit is contained in:
goeiecool9999 2023-12-17 02:50:00 +01:00
parent bab1616565
commit a7a116a6f1
9 changed files with 138 additions and 110 deletions

View file

@ -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);