PowerNoise: prepare to split ins type into two
This commit is contained in:
parent
c098e0bcd1
commit
4f7dff1feb
4 changed files with 7 additions and 3 deletions
|
|
@ -1045,6 +1045,8 @@ void DivInstrument::putInsData2(SafeWriter* w, bool fui, const DivSong* song, bo
|
|||
break;
|
||||
case DIV_INS_POWERNOISE:
|
||||
break;
|
||||
case DIV_INS_POWERNOISE_SLOPE:
|
||||
break;
|
||||
case DIV_INS_MAX:
|
||||
break;
|
||||
case DIV_INS_NULL:
|
||||
|
|
|
|||
|
|
@ -87,6 +87,7 @@ enum DivInstrumentType: unsigned short {
|
|||
DIV_INS_C219=54,
|
||||
DIV_INS_ESFM=55,
|
||||
DIV_INS_POWERNOISE=56,
|
||||
DIV_INS_POWERNOISE_SLOPE=57,
|
||||
DIV_INS_MAX,
|
||||
DIV_INS_NULL
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1990,8 +1990,8 @@ void DivEngine::registerSystems() {
|
|||
"a fantasy sound chip designed by jvsTSX and The Beesh-Spweesh!\nused in the Hexheld fantasy console.",
|
||||
{"Noise 1", "Noise 2", "Noise 3", "Slope"},
|
||||
{"N1", "N2", "N3", "SL"},
|
||||
{DIV_CH_NOISE, DIV_CH_NOISE, DIV_CH_NOISE, DIV_CH_PULSE},
|
||||
{DIV_INS_POWERNOISE, DIV_INS_POWERNOISE, DIV_INS_POWERNOISE, DIV_INS_POWERNOISE},
|
||||
{DIV_CH_NOISE, DIV_CH_NOISE, DIV_CH_NOISE, DIV_CH_WAVE},
|
||||
{DIV_INS_POWERNOISE, DIV_INS_POWERNOISE, DIV_INS_POWERNOISE, DIV_INS_POWERNOISE_SLOPE},
|
||||
{},
|
||||
{
|
||||
{0x20, {DIV_CMD_POWERNOISE_COUNTER_LOAD, "20xx: Load low byte of noise channel LFSR (00 to FF) or slope channel accumulator (00 to 7F)", constVal<0>, effectVal}},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue