Fixed VCS init function: used tsx instead of txs.

This commit is contained in:
g012 2017-10-22 09:49:53 +02:00
parent 3db7a48f48
commit f589f55961
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ set(L65_BINARY_DIR ${PROJECT_BINARY_DIR})
set(L65_VERSION_MAJOR "1")
set(L65_VERSION_MINOR "2")
set(L65_VERSION_REVISION "0")
set(L65_VERSION_REVISION "1")
set(L65_VERSION "${L65_VERSION_MAJOR}.${L65_VERSION_MINOR}.${L65_VERSION_REVISION}")
configure_file("${L65_SOURCE_DIR}/l65cfg.lua.in" "${L65_BINARY_DIR}/l65cfg.lua")

View File

@ -167,7 +167,7 @@ PAL = {
}
TV = PAL
init = function() cld ldx#0 txa local l=label() dex tsx pha bne l end
init = function() cld ldx#0 txa local l=label() dex txs pha bne l end
wait = function() local l=label() lda INTIM bne l end
overscan_begin = function() sta WSYNC lda#2 sta VBLANK lda#TV.TIM_OVERSCAN sta TIM64T end
overscan_end = wait