mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-14 07:15:46 -04:00
System: Add path/image to game change notification
This commit is contained in:
@ -597,9 +597,10 @@ void AndroidHostInterface::OnSystemDestroyed()
|
||||
SetVibration(false);
|
||||
}
|
||||
|
||||
void AndroidHostInterface::OnRunningGameChanged()
|
||||
void AndroidHostInterface::OnRunningGameChanged(const std::string& path, CDImage* image, const std::string& game_code,
|
||||
const std::string& game_title)
|
||||
{
|
||||
CommonHostInterface::OnRunningGameChanged();
|
||||
CommonHostInterface::OnRunningGameChanged(path, image, game_code, game_title);
|
||||
ApplySettings(true);
|
||||
|
||||
if (m_emulation_activity_object)
|
||||
|
@ -85,7 +85,8 @@ protected:
|
||||
|
||||
void OnSystemPaused(bool paused) override;
|
||||
void OnSystemDestroyed() override;
|
||||
void OnRunningGameChanged() override;
|
||||
void OnRunningGameChanged(const std::string& path, CDImage* image, const std::string& game_code,
|
||||
const std::string& game_title) override;
|
||||
|
||||
private:
|
||||
void EmulationThreadLoop(JNIEnv* env);
|
||||
|
Reference in New Issue
Block a user