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