feat: Add global access for selected Game object
> separated commit in case this functionality is already provided through other means and needs to be reverted > probably target for rehaul in the future for better/less invasive approach
This commit is contained in:
@@ -34,7 +34,7 @@ HRESULT PipewireBackend::on_initialize(
|
||||
if (!bmsw_) log_fatal("audio::pipewire", "Library not found: '{}'", (MODULE_PATH / "bmsound-wine.dll").string());
|
||||
auto pipewireinit = (BmswClientInit_t)GetProcAddress(bmsw_, "BmswClientInit");
|
||||
if (!pipewireinit) log_fatal("audio::pipewire", "Library invalid: '{}'", (MODULE_PATH / "bmsound-wine.dll").string());
|
||||
internal_ = std::thread(pipewireinit,"GAME TITLE");
|
||||
internal_ = std::thread(pipewireinit,GAME_INSTANCE->title());
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user