27 lines
677 B
C#
27 lines
677 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace BizHawk.Emulation.Cores.Nintendo.GBA
|
|
{
|
|
public interface IGBAGPUViewable
|
|
{
|
|
GBAGPUMemoryAreas GetMemoryAreas();
|
|
/// <summary>
|
|
/// calls correspond to entering hblank (maybe) and in a regular frame, the sequence of calls will be 160, 161, ..., 227, 0, ..., 159
|
|
/// </summary>
|
|
/// <param name="callback"></param>
|
|
/// <param name="scanline"></param>
|
|
void SetScanlineCallback(Action callback, int scanline);
|
|
}
|
|
|
|
public class GBAGPUMemoryAreas
|
|
{
|
|
public IntPtr vram;
|
|
public IntPtr oam;
|
|
public IntPtr mmio;
|
|
public IntPtr palram;
|
|
}
|
|
}
|