Class MaxROMBanksAttribute
- Namespace
- GB
- Assembly
- GBSharp.Framework.dll
The most 16 KB ROM banks this game may occupy, counting bank 0.
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
public sealed class MaxROMBanksAttribute : Attribute
- Inheritance
-
MaxROMBanksAttribute
- Inherited Members
Remarks
Useful where the cartridge size is a cost rather than a limit: a smaller mapper, or a flash cart with a fixed budget.
Constructors
MaxROMBanksAttribute(int)
public MaxROMBanksAttribute(int banks)
Parameters
banksint
Properties
Banks
public int Banks { get; }