Renamed InitDisasm to InitInstructionDecoder

This commit is contained in:
Will Angenent 2018-05-09 19:32:38 +01:00
parent d89c7babf0
commit a5acfb9140
3 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ func main() {
disableBell = flag.Bool("disable-bell", false, "Disable bell")
flag.Parse()
cpu.InitDisasm()
cpu.InitInstructionDecoder()
mmu.InitRAM()
mmu.InitApple2eROM()

View File

@ -18,7 +18,7 @@ func main() {
breakAddressString := flag.String("break", "", "Break on address")
flag.Parse()
cpu.InitDisasm()
cpu.InitInstructionDecoder()
mmu.InitRAM()

View File

@ -309,7 +309,7 @@ func InitOpCodes() {
OpCodes[0xFF] = OpCode{Mnemonic: "???", AddressingMode: AddressingModes[AmExpansion]}
}
func InitDisasm() {
func InitInstructionDecoder() {
InitAddressingModes()
InitOpCodes()
}