0

Resolved

Awesome Golf crashes with Owner.PreviousTimer not set on linked timer

description

public bool UpdateCurrentValue(ulong currentCycleCount)
    {
        // TODO: Find out what last link carrying is meant for
        LastLinkCarry = Owner.PreviousTimer.DynamicControlBits.BorrowOut;
System.NullReferenceException was unhandled
  Message=Object reference not set to an instance of an object.
  Source=KillerApps.Emulation.Atari.Lynx
  StackTrace:
       at KillerApps.Emulation.Atari.Lynx.LinkingTimerLogic.UpdateCurrentValue(UInt64 currentCycleCount) in D:\Sources\LynxEmulator\Source\AtariLynxEmulator\Atari\AtariLynx\Mikey\LinkingTimerLogic.cs:line 22
       at KillerApps.Emulation.Atari.Lynx.Timer.Update(UInt64 currentCycleCount) in D:\Sources\LynxEmulator\Source\AtariLynxEmulator\Atari\AtariLynx\Mikey\Timer.cs:line 62
       at KillerApps.Emulation.Atari.Lynx.Mikey.Update() in D:\Sources\LynxEmulator\Source\AtariLynxEmulator\Atari\AtariLynx\Mikey\Mikey.cs:line 203
       at KillerApps.Emulation.Atari.Lynx.LynxHandheld.GenerateInterrupts() in D:\Sources\LynxEmulator\Source\AtariLynxEmulator\Atari\AtariLynx\LynxHandheld.cs:line 86
       at KillerApps.Emulation.Atari.Lynx.LynxHandheld.Update(UInt64 cyclesToExecute) in D:\Sources\LynxEmulator\Source\AtariLynxEmulator\Atari\AtariLynx\LynxHandheld.cs:line 69
       at PaceWindows.PaceGame.Update(GameTime gameTime) in D:\Sources\LynxEmulator\Source\AtariLynxEmulator\Clients\PaceWindows\PaceWindows\PaceGame.cs:line 123
       at Microsoft.Xna.Framework.Game.Tick()
       at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
       at Microsoft.Xna.Framework.GameHost.OnIdle()
       at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
       at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
       at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)
       at Microsoft.Xna.Framework.WindowsGameHost.Run()
       at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
       at Microsoft.Xna.Framework.Game.Run()
       at PaceWindows.Program.Main(String[] args) in D:\Sources\LynxEmulator\Source\AtariLynxEmulator\Clients\PaceWindows\PaceWindows\Program.cs:line 15
  InnerException:

comments