Added ROM name in title bar

This commit is contained in:
Souryo 2015-08-23 10:05:00 -04:00
parent 76f80183d7
commit 12c76168e8

View file

@ -87,6 +87,7 @@ namespace Mesen.GUI.Forms
void _notifListener_OnNotification(InteropEmu.NotificationEventArgs e)
{
if(e.NotificationType == InteropEmu.ConsoleNotificationType.GameLoaded) {
this.Text = "Mesen - " + System.IO.Path.GetFileNameWithoutExtension(InteropEmu.GetROMPath());
CheatInfo.ApplyCheats();
InitializeStateMenu(mnuSaveState, true);
InitializeStateMenu(mnuLoadState, false);