mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-17 12:55:47 -04:00
System: Add path/image to game change notification
This commit is contained in:
@ -812,9 +812,10 @@ void CommonHostInterface::OnSystemDestroyed()
|
||||
StopControllerRumble();
|
||||
}
|
||||
|
||||
void CommonHostInterface::OnRunningGameChanged()
|
||||
void CommonHostInterface::OnRunningGameChanged(const std::string& path, CDImage* image, const std::string& game_code,
|
||||
const std::string& game_title)
|
||||
{
|
||||
HostInterface::OnRunningGameChanged();
|
||||
HostInterface::OnRunningGameChanged(path, image, game_code, game_title);
|
||||
|
||||
if (!System::IsShutdown())
|
||||
{
|
||||
|
@ -309,7 +309,8 @@ protected:
|
||||
virtual void OnSystemCreated() override;
|
||||
virtual void OnSystemPaused(bool paused) override;
|
||||
virtual void OnSystemDestroyed() override;
|
||||
virtual void OnRunningGameChanged() override;
|
||||
virtual void OnRunningGameChanged(const std::string& path, CDImage* image, const std::string& game_code,
|
||||
const std::string& game_title) override;
|
||||
virtual void OnControllerTypeChanged(u32 slot) override;
|
||||
|
||||
virtual std::optional<HostKeyCode> GetHostKeyCode(const std::string_view key_code) const;
|
||||
|
Reference in New Issue
Block a user