diff --git a/ZuneShell/Microsoft/Zune/Shell/ZuneApplication.cs b/ZuneShell/Microsoft/Zune/Shell/ZuneApplication.cs index c848480..47e04a8 100644 --- a/ZuneShell/Microsoft/Zune/Shell/ZuneApplication.cs +++ b/ZuneShell/Microsoft/Zune/Shell/ZuneApplication.cs @@ -484,9 +484,13 @@ namespace Microsoft.Zune.Shell string source = "res://ZuneShellResources!Frame.uix#Frame"; _hWndSplashScreen = hWndSplashScreen; _initializationFailsafe = new InitializationFailsafe(); + + Iris.Markup.MarkupSystem.NewMarkupLoaded += MarkupSystem_NewMarkupLoaded; + PerfTrace.PerfTrace.PERFTRACE_LAUNCHEVENT(PerfTrace.PerfTrace.LAUNCH_EVENT.REQUEST_UI_LOAD, 0U); Application.Window.RequestLoad(source); PerfTrace.PerfTrace.PERFTRACE_LAUNCHEVENT(PerfTrace.PerfTrace.LAUNCH_EVENT.REQUEST_UI_LOAD_COMPLETE, 0U); + CallbackOnUIThread callbackOnUiThread = new CallbackOnUIThread(); _appInitializationSequencer = new AppInitializationSequencer(new CorePhase2ReadyCallback(CorePhase3Ready)); _zuneLibrary = new ZuneLibrary(); @@ -531,6 +535,15 @@ namespace Microsoft.Zune.Shell return num.Int; } + private static void MarkupSystem_NewMarkupLoaded(object sender, Iris.Markup.LoadResult e) + { + if (e is not Iris.Markup.MarkupLoadResult loadResult) + return; + + var dis = Iris.Asm.Disassembler.Load(loadResult); + var source = dis.Write(); + } + private static void ErrorReportHandler(Error[] errors) { int num = 0; diff --git a/ZuneShell/ZuneShell.csproj b/ZuneShell/ZuneShell.csproj index bfc5368..51c3173 100644 --- a/ZuneShell/ZuneShell.csproj +++ b/ZuneShell/ZuneShell.csproj @@ -33,6 +33,8 @@ C:\Program Files\Zune\ZuneDBApi.dll + + ..\libs\nuget\StrixMusic.Cores.Storage\StrixMusic.Cores.Storage.dll diff --git a/libs/MicrosoftIris b/libs/MicrosoftIris index be78b55..e9859b3 160000 --- a/libs/MicrosoftIris +++ b/libs/MicrosoftIris @@ -1 +1 @@ -Subproject commit be78b55a303fe9e6fdaea7197db3add0f17277f3 +Subproject commit e9859b350a53a6d6be23ec2f732d6aab4debc515