-
Notifications
You must be signed in to change notification settings - Fork 2
/
SnesGFX.cs
36 lines (33 loc) · 874 Bytes
/
SnesGFX.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using System;
using System.Collections.Generic;
using System.Text;
namespace SnesGFX
{
class SnesGFX
{
static IBitformat[] formats;
public static IBitformat[] AvaiableFormats
{
get
{
return formats;
}
}
public static void Init()
{
if (formats != null) { return; }
formats = new IBitformat[] {
new SNES._2BPP(), // 0
new SNES._3BPP(), // 1
new SNES._4BPP(), // 2
new SNES._8BPP(), // 3
new Linear._2BPP(), // 4
new Linear._4BPP(), // 5
new Linear._8BPP(), // 6
new Packed._2BPP(), // 7
new Packed._4BPP(), // 8
new SNES.Mode7(), // 9
};
}
}
}