mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-04-22 04:16:47 +00:00
Add an initial stab at LR35902 (aka GameBoy) support. Untested and no disassembler though...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// <copyright file="AbstractColourPalette.cs" company="Adrian Conlon">
|
||||
// Copyright (c) Adrian Conlon. All rights reserved.
|
||||
// </copyright>
|
||||
namespace EightBit
|
||||
{
|
||||
namespace GameBoy
|
||||
{
|
||||
public class AbstractColourPalette
|
||||
{
|
||||
private readonly uint[] colours = new uint[4];
|
||||
|
||||
protected AbstractColourPalette()
|
||||
{ }
|
||||
|
||||
public uint Colour(int index) => this.colours[index];
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user