Skip to content

Commit

Permalink
Clarify the meaning of PULSE_OFFSET
Browse files Browse the repository at this point in the history
Quite obvious, if you look at the code, that this
is not a used value. Not sure why it exists like
that, which doesn't match other reserved
ranges. But eh, gotta live with it now.
  • Loading branch information
YuriSizov committed Oct 24, 2024
1 parent ab5139a commit 9789273
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc_classes/SiONDriver.xml
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@
High frequency pseudo sync pulse generator.
</constant>
<constant name="PULSE_OFFSET" value="10" enum="SiONPulseGeneratorType">
Offset pulse generator.
Reserved value.
</constant>
<constant name="PULSE_SAW_VC6" value="11" enum="SiONPulseGeneratorType">
VC6 saw pulse generator (32-sample saw).
Expand Down
2 changes: 1 addition & 1 deletion src/sion_enums.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ enum SiONPulseGeneratorType : int {
PULSE_KNM_BUBBLE = 7, // Konami bubble system wave.
PULSE_SYNC_LOW = 8, // pseudo sync (low frequency).
PULSE_SYNC_HIGH = 9, // pseudo sync (high frequency).
PULSE_OFFSET = 10, // offset.
PULSE_OFFSET = 10, // reserved value, unused.
PULSE_SAW_VC6 = 11, // VC6 saw (32-sample saw).
// ( 12- 15) reserved.

Expand Down

0 comments on commit 9789273

Please sign in to comment.