Disable sound in record mode, for quick playbacks.

This commit is contained in:
Martin Haye 2021-10-18 06:08:32 -07:00
parent 60a7dfc129
commit 87ab80deb5

View File

@ -291,6 +291,13 @@ def _startup()#1
return 0
end
///////////////////////////////////////////////////////////////////////////////////////////////////
def disableSound()#0
// In record mode, disable sound for quick playback
^0 = $60
memcpy(0, soundCode, 1, 0)
end
///////////////////////////////////////////////////////////////////////////////////////////////////
def readDiskMarks()#1
word size
@ -688,6 +695,7 @@ def _newOrLoadGame(ask)#1
break
is 'R'
setRecordMode(1)
disableSound
displayMenu(existing)
break
wend