tridoraemu: update framebuffer image on palette change
This commit is contained in:
parent
3c8525dcca
commit
b0c4b664f2
2 changed files with 23 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue