mirror of https://github.com/nmlgc/ReC98.git
[Maintenance] Rename master.lib's speed parameter to avoid an upcoming conflict
TASM crashes if you try to define a structure member with the same name as an existing numeric equate. And yes, we should have solved this by finally librarifying master.lib, but that'll be a rather involved subtask as well.
This commit is contained in:
parent
dca8770533
commit
6b0d0c6940
|
@ -45,8 +45,8 @@ func PALETTE_BLACK_IN ; palette_black_in() {
|
|||
push SI
|
||||
push DI
|
||||
; 引数
|
||||
speed = (RETSIZE+0)*2
|
||||
mov SI,SS:[BX+speed]
|
||||
@@speed = (RETSIZE+0)*2
|
||||
mov SI,SS:[BX+@@speed]
|
||||
|
||||
mov PaletteTone,0
|
||||
nopcall VSYNC_WAIT ; 表示タイミングあわせ
|
||||
|
|
|
@ -43,8 +43,8 @@ func PALETTE_BLACK_OUT ; palette_black_out() {
|
|||
push SI
|
||||
push DI
|
||||
; 引数
|
||||
speed = (RETSIZE+0)*2
|
||||
mov SI,SS:[BX+speed]
|
||||
@@speed = (RETSIZE+0)*2
|
||||
mov SI,SS:[BX+@@speed]
|
||||
|
||||
mov PaletteTone,100
|
||||
nopcall VSYNC_WAIT ; 表示タイミングあわせ
|
||||
|
|
|
@ -45,8 +45,8 @@ func PALETTE_WHITE_IN ; palette_white_in() {
|
|||
push SI
|
||||
push DI
|
||||
; 引数
|
||||
speed = (RETSIZE+0)*2
|
||||
mov SI,SS:[BX+speed]
|
||||
@@speed = (RETSIZE+0)*2
|
||||
mov SI,SS:[BX+@@speed]
|
||||
|
||||
mov PaletteTone,200
|
||||
call VSYNC_WAIT ; 表示タイミングあわせ
|
||||
|
|
|
@ -45,8 +45,8 @@ func PALETTE_WHITE_OUT ; palette_white_out {
|
|||
push SI
|
||||
push DI
|
||||
; 引数
|
||||
speed = (RETSIZE+0)*2
|
||||
mov SI,SS:[BX+speed]
|
||||
@@speed = (RETSIZE+0)*2
|
||||
mov SI,SS:[BX+@@speed]
|
||||
|
||||
mov PaletteTone,100
|
||||
call VSYNC_WAIT ; 表示タイミングあわせ
|
||||
|
|
Loading…
Reference in New Issue