Merge branch 'master' into vulkan
This commit is contained in:
@@ -40,9 +40,10 @@ void DiscordPresence::NotPlaying() {
|
||||
}
|
||||
|
||||
void DiscordPresence::PlayingTitle(const std::string_view game_title) {
|
||||
auto details = std::string(game_title);
|
||||
DiscordRichPresence discordPresence = {};
|
||||
discordPresence.state = "In Game";
|
||||
discordPresence.details = std::string(game_title).c_str();
|
||||
discordPresence.details = details.c_str();
|
||||
// TODO(gibbed): we don't have state icons yet.
|
||||
// discordPresence.smallImageKey = "app";
|
||||
// discordPresence.largeImageKey = "state_ingame";
|
||||
|
||||
@@ -65,8 +65,8 @@ std::unique_ptr<EmulatorWindow> EmulatorWindow::Create(Emulator* emulator) {
|
||||
std::unique_ptr<EmulatorWindow> emulator_window(new EmulatorWindow(emulator));
|
||||
|
||||
emulator_window->loop()->PostSynchronous([&emulator_window]() {
|
||||
xe::threading::set_name("Win32 Loop");
|
||||
xe::Profiler::ThreadEnter("Win32 Loop");
|
||||
xe::threading::set_name("Windowing Loop");
|
||||
xe::Profiler::ThreadEnter("Windowing Loop");
|
||||
|
||||
if (!emulator_window->Initialize()) {
|
||||
xe::FatalError("Failed to initialize main window");
|
||||
|
||||
Reference in New Issue
Block a user