Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
akatsuki105 committed Apr 10, 2021
1 parent ba03c6c commit 76a5e7a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions pkg/gba/apu.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package gba

const (
PSG_MAX = 0x7f
PSG_MIN = -0x80
)

const (
SAMP_MAX = 0x1ff
SAMP_MIN = -0x200
)

var dutyLookUp = [4]float64{0.125, 0.25, 0.5, 0.75}
var dutyLookUpi = [4]float64{0.875, 0.75, 0.5, 0.25}

func (g *GBA) squareSample(ch int) {
// cntx := g._getRAM()
}

0 comments on commit 76a5e7a

Please sign in to comment.