Commit 40f58c0

Nick Faro committed on
Use timer values in GBS file
commit 40f58c002d7c59dbd05f0df4269fb5d74f780c10 parent 3b8c28b
2 changed files +4−2
Modifiedsrc/codegen.pas +3−1
@@ -692,7 +692,9 @@ begin
692 ['SONG_DESCRIPTOR=song', 692 ['SONG_DESCRIPTOR=song',
693 'GBS_TITLE="'+PadRight(LeftStr(Song.Name, 32), 32)+'"', 693 'GBS_TITLE="'+PadRight(LeftStr(Song.Name, 32), 32)+'"',
694 'GBS_AUTHOR="'+PadRight(LeftStr(Song.Artist, 32), 32)+'"', 694 'GBS_AUTHOR="'+PadRight(LeftStr(Song.Artist, 32), 32)+'"',
695 'GBS_COPYRIGHT="'+PadRight(IntToStr(CurrentYear), 32)+'"']) <> 0 then Die; 695 'GBS_COPYRIGHT="'+PadRight(IntToStr(CurrentYear), 32)+'"',
696 'TIMER_MODULO='+IntToStr(IfThen(Song.TimerEnabled, Song.TimerDivider, 0)),
697 'TIMER_CONTROL='+IntToStr(IfThen(Song.TimerEnabled, 4, 0))]) <> 0 then Die;
696 end 698 end
697 else if Assemble(ConcatPaths([CacheDir, Filename + '_player.obj']), 699 else if Assemble(ConcatPaths([CacheDir, Filename + '_player.obj']),
698 ConcatPaths([RuntimeDir, 'hUGEDriver', 'player.asm']), 700 ConcatPaths([RuntimeDir, 'hUGEDriver', 'player.asm']),
Modifiedsrc/hUGEDriver +1−1
@@ -1 +1 @@
1 Subproject commit ea2161fae768b5cfebee086b0227df86517bf17f 1 Subproject commit 3eec4bde11292d398fd60fdf78ce75743ced1373