This commit is contained in:
tildearrow 2022-08-21 16:34:43 -05:00
parent f2950fa1d6
commit 96feeced86
2 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,7 @@ the coding style is described here:
- indent switch cases - indent switch cases
- preprocessor directives not intended - preprocessor directives not intended
- if macro comprises more than one line, indent - if macro comprises more than one line, indent
- no new line after `template<>`
- prefer built-in types: - prefer built-in types:
- `bool` - `bool`
- `signed char` or `unsigned char` are 8-bit - `signed char` or `unsigned char` are 8-bit
@ -81,6 +82,7 @@ just put your demo song in `demos/`! be noted there are some guidelines:
- avoid Nintendo song covers. - avoid Nintendo song covers.
- avoid big label song covers. - avoid big label song covers.
- avoid poor quality songs.
# Finishing # Finishing

View File

@ -118,6 +118,7 @@ void DivPlatformTIA::tick(bool sysTick) {
} }
if (chan[i].freqChanged || chan[i].keyOn || chan[i].keyOff) { if (chan[i].freqChanged || chan[i].keyOn || chan[i].keyOff) {
if (chan[i].insChanged) { if (chan[i].insChanged) {
// TODO: fix 10xx bug here
if (!chan[i].std.wave.will) { if (!chan[i].std.wave.will) {
chan[i].shape=4; chan[i].shape=4;
rWrite(0x15+i,chan[i].shape); rWrite(0x15+i,chan[i].shape);