tridoraemu: update framebuffer image on palette change

This commit is contained in:
slederer 2025-02-02 01:13:49 +01:00
parent 3c8525dcca
commit b0c4b664f2
2 changed files with 23 additions and 0 deletions

View file

@ -43,6 +43,7 @@ type Game struct{
func (g *Game) Update() error {
startTime := time.Now()
framebuffer.startFrame()
for i := 0; i < g.stepsPerFrame; i++ {
err := cpu.step()
if err != nil {