From 99cae5a5a37f41f878a84857361eda47910303ba Mon Sep 17 00:00:00 2001 From: crecher Date: Tue, 13 Oct 2026 01:13:13 +0200 Subject: sprites!!!!!! --- ppu/memory.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'ppu/memory.go') diff --git a/ppu/memory.go b/ppu/memory.go index 3379242..d2b0a54 100644 --- a/ppu/memory.go +++ b/ppu/memory.go @@ -2,12 +2,6 @@ package ppu import "crecher.net/gones/v2/cart" -// maps a $2000-$3EFF address onto an offset into the 2KB of nametable RAM, -// according to the cartridge's mirroring mode. four-screen carts will be -// expected to use their own extra 2KB of RAM via the mapper, but since no -// implemented mapper does that yet, four-screen just falls back to the vertical -// mirroring as a placeholder - func (p *PPU) nametableOffset(addr uint16) int { addr &= 0x0FFF table := addr / 0x400 -- cgit v1.2.3