Skip to content

MAME core fails to run Taito Air System games (Top Landing 1988, Air Inferno 1990) #4563

@foggystyleut

Description

@foggystyleut

Summary

When attempting to run Top Landing (1988) and Air Inferno (1990) in BizHawk’s MAME core, the emulator throws an error and fails to start the game. These titles run correctly in standalone MAME, but not in BizHawk. This issue has been present since BizHawk 2.9.0 (the first release with MAME core support) and persists in the latest version (tested on v2.11).

Repro

  1. Launch BizHawk v2.11 (64‑bit).
  2. Select the MAME core.
  3. Load Top Landing (1988) or Air Inferno (1990).
  4. Launch BizHawk v2.11 (64‑bit).

Select the MAME core.

Load Top Landing (1988) or Air Inferno (1990).

Observe the error message

Output

A core accepted the rom, but threw an exception while loading it:
System.ArgumentOutOfRangeException: range end < start
Parameter name: endInclusive
Actual value was 2047.
   at BizHawk.Common.MutableRange`1.Overwrite(T start, T endInclusive) in /src/BizHawk.Common/Ranges.cs:line 51
   at BizHawk.Emulation.Cores.Arcades.MAME.MAME.GetInputFields() in /src/BizHawk.Emulation.Cores/Arcades/MAME/MAME.IInputPollable.cs:line 77
   at BizHawk.Emulation.Cores.Arcades.MAME.MAME.StartMAME(List`1 roms) in /src/BizHawk.Emulation.Cores/Arcades/MAME/MAME.cs:line 235
   at BizHawk.Emulation.Cores.Arcades.MAME.MAME..ctor(CoreLoadParameters`2 lp) in /src/BizHawk.Emulation.Cores/Arcades/MAME/MAME.cs:line 72
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at BizHawk.Emulation.Cores.CoreInventory.Core.Create(ICoreInventoryParameters cip) in /src/BizHawk.Emulation.Cores/CoreInventory.cs:line 144
   at BizHawk.Client.Common.RomLoader.MakeCoreFromCoreInventory(CoreInventoryParameters cip, String forcedCoreName) in /src/BizHawk.Client.Common/RomLoader.cs:line 433

Host env.

BizHawk 2.11; Windows 11 Home; Intel CPU / NVIDIA GPU

Also tested starting from BizHawk 2.9.0 onward (issue present in all versions with MAME core).

Screenshots

Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions