@@ -1550,7 +1550,7 @@ void program_view(GfxDomain *dest_surface, const SDL_Rect *dest, const SDL_Event
1550
1550
{
1551
1551
if (mused .channel [c ].instrument == inst && ((mused .cyd .channel [c ].flags & CYD_CHN_ENABLE_GATE ) || ((mused .cyd .channel [c ].flags & CYD_CHN_ENABLE_FM ) && (mused .cyd .channel [c ].fm .adsr .envelope != 0 ) && !(mused .cyd .channel [c ].flags & CYD_CHN_ENABLE_GATE ))) && (mused .channel [c ].program_flags & (1 << mused .current_instrument_program )) && mused .channel [c ].program_tick [mused .current_instrument_program ] == i )
1552
1552
{
1553
- cur = '� ' ; //where arrow pointing at current instrument program step is drawn
1553
+ cur = '½ ' ; //where arrow pointing at current instrument program step is drawn
1554
1554
pointing_at_command = true;
1555
1555
}
1556
1556
}
@@ -1622,20 +1622,18 @@ void program_view(GfxDomain *dest_surface, const SDL_Rect *dest, const SDL_Event
1622
1622
{
1623
1623
if (mused .jump_in_program )
1624
1624
{
1625
- check_event_mousebuttonup (event , console_write_args (mused .console , "%c " , (!(inst -> program_unite_bits [mused .current_instrument_program ][i / 8 ] & (1 << (i & 7 )))) ? '�' : '|' ), //old command check_event(event, console_write_args(mused.console, "%c ", (!(inst->program[i] & 0x8000) || (inst->program[i] & 0xf000) == 0xf000) ? '�' : '|'),
1626
- select_program_step , MAKEPTR (i ), 0 , 0 );
1625
+ check_event_mousebuttonup (event , console_write_args (mused .console , "%c " , (!(inst -> program_unite_bits [mused .current_instrument_program ][i / 8 ] & (1 << (i & 7 )))) ? '\xd' : '|' ), select_program_step , MAKEPTR (i ), 0 , 0 );
1627
1626
}
1628
1627
1629
1628
else
1630
1629
{
1631
- check_event_mousebuttonup (event , console_write_args (mused .console , "%c " , (!(inst -> program_unite_bits [mused .current_instrument_program ][i / 8 ] & (1 << (i & 7 )))) ? '� ' : '|' ), NULL , NULL , NULL , NULL );
1630
+ check_event_mousebuttonup (event , console_write_args (mused .console , "%c " , (!(inst -> program_unite_bits [mused .current_instrument_program ][i / 8 ] & (1 << (i & 7 )))) ? '\xd ' : '|' ), NULL , NULL , NULL , NULL );
1632
1631
}
1633
1632
}
1634
1633
1635
1634
else
1636
1635
{
1637
- check_event (event , console_write_args (mused .console , "%c " , (!(inst -> program_unite_bits [mused .current_instrument_program ][i / 8 ] & (1 << (i & 7 )))) ? '�' : '|' ), //old command check_event(event, console_write_args(mused.console, "%c ", (!(inst->program[i] & 0x8000) || (inst->program[i] & 0xf000) == 0xf000) ? '�' : '|'),
1638
- select_program_step , MAKEPTR (i ), 0 , 0 );
1636
+ check_event (event , console_write_args (mused .console , "%c " , (!(inst -> program_unite_bits [mused .current_instrument_program ][i / 8 ] & (1 << (i & 7 )))) ? '\xd' : '|' ), select_program_step , MAKEPTR (i ), 0 , 0 );
1639
1637
}
1640
1638
}
1641
1639
@@ -1931,7 +1929,7 @@ void inst_field(const SDL_Event *e, const SDL_Rect *area, int p, int length, cha
1931
1929
1932
1930
for (; text [i ] && c < my_min (length , field .w / mused .console -> font .w ); ++ i , ++ c )
1933
1931
{
1934
- const SDL_Rect * r = console_write_args (mused .console , "%c" , mused .editpos == i ? '� ' : text [i ]);
1932
+ const SDL_Rect * r = console_write_args (mused .console , "%c" , mused .editpos == i ? '½ ' : text [i ]);
1935
1933
1936
1934
if (check_event (e , r , NULL , NULL , NULL , NULL ))
1937
1935
{
@@ -3405,7 +3403,7 @@ void four_op_program_view(GfxDomain *dest_surface, const SDL_Rect *dest, const S
3405
3403
if (mused .channel [c ].instrument == inst && ((mused .cyd .channel [c ].fm .ops [mused .selected_operator - 1 ].adsr .envelope > 0 || (mused .cyd .channel [c ].fm .ops [mused .selected_operator - 1 ].flags & CYD_FM_OP_ENABLE_GATE ) /* so arrow does not blink when CSM timer is used */ ) && (mused .channel [c ].ops [mused .selected_operator - 1 ].program_flags & (1 << (mused .current_fourop_program [mused .selected_operator - 1 ]))) && mused .channel [c ].ops [mused .selected_operator - 1 ].program_tick [mused .current_fourop_program [mused .selected_operator - 1 ]] == i ))
3406
3404
//if (mused.channel[c].instrument == inst && ((mused.cyd.channel[c].fm.ops[mused.selected_operator - 1].flags & CYD_FM_OP_ENABLE_GATE) && (mused.channel[c].ops[mused.selected_operator - 1].flags & MUS_FM_OP_PROGRAM_RUNNING) && mused.channel[c].ops[mused.selected_operator - 1].program_tick == i) && !(inst->fm_flags & CYD_FM_FOUROP_USE_MAIN_INST_PROG))
3407
3405
{
3408
- cur = '� ' ; //where arrow pointing at current instrument (operator) program step is drawn
3406
+ cur = '½ ' ; //where arrow pointing at current instrument (operator) program step is drawn
3409
3407
pointing_at_command = true;
3410
3408
}
3411
3409
}
@@ -3477,20 +3475,20 @@ void four_op_program_view(GfxDomain *dest_surface, const SDL_Rect *dest, const S
3477
3475
{
3478
3476
if (mused .jump_in_program_4op )
3479
3477
{
3480
- check_event_mousebuttonup (event , console_write_args (mused .console , "%c " , (!(inst -> ops [mused .selected_operator - 1 ].program_unite_bits [mused .current_fourop_program [mused .selected_operator - 1 ]][i / 8 ] & (1 << (i & 7 )))) ? '� ' : '|' ), //old command check_event(event, console_write_args(mused.console, "%c ", (!(inst->program[i] & 0x8000) || (inst->program[i] & 0xf000) == 0xf000) ? '�' : '|'),
3478
+ check_event_mousebuttonup (event , console_write_args (mused .console , "%c " , (!(inst -> ops [mused .selected_operator - 1 ].program_unite_bits [mused .current_fourop_program [mused .selected_operator - 1 ]][i / 8 ] & (1 << (i & 7 )))) ? '\xd ' : '|' ), //old command check_event(event, console_write_args(mused.console, "%c ", (!(inst->program[i] & 0x8000) || (inst->program[i] & 0xf000) == 0xf000) ? '�' : '|'),
3481
3479
select_program_step , MAKEPTR (i ), 0 , 0 );
3482
3480
}
3483
3481
3484
3482
else
3485
3483
{
3486
- check_event_mousebuttonup (event , console_write_args (mused .console , "%c " , (!(inst -> ops [mused .selected_operator - 1 ].program_unite_bits [mused .current_fourop_program [mused .selected_operator - 1 ]][i / 8 ] & (1 << (i & 7 )))) ? '� ' : '|' ), //old command check_event(event, console_write_args(mused.console, "%c ", (!(inst->program[i] & 0x8000) || (inst->program[i] & 0xf000) == 0xf000) ? '�' : '|'),
3484
+ check_event_mousebuttonup (event , console_write_args (mused .console , "%c " , (!(inst -> ops [mused .selected_operator - 1 ].program_unite_bits [mused .current_fourop_program [mused .selected_operator - 1 ]][i / 8 ] & (1 << (i & 7 )))) ? '\xd ' : '|' ), //old command check_event(event, console_write_args(mused.console, "%c ", (!(inst->program[i] & 0x8000) || (inst->program[i] & 0xf000) == 0xf000) ? '�' : '|'),
3487
3485
NULL , 0 , 0 , 0 );
3488
3486
}
3489
3487
}
3490
3488
3491
3489
else
3492
3490
{
3493
- check_event (event , console_write_args (mused .console , "%c " , (!(inst -> ops [mused .selected_operator - 1 ].program_unite_bits [mused .current_fourop_program [mused .selected_operator - 1 ]][i / 8 ] & (1 << (i & 7 )))) ? '� ' : '|' ), //old command check_event(event, console_write_args(mused.console, "%c ", (!(inst->program[i] & 0x8000) || (inst->program[i] & 0xf000) == 0xf000) ? '�' : '|'),
3491
+ check_event (event , console_write_args (mused .console , "%c " , (!(inst -> ops [mused .selected_operator - 1 ].program_unite_bits [mused .current_fourop_program [mused .selected_operator - 1 ]][i / 8 ] & (1 << (i & 7 )))) ? '\xd ' : '|' ), //old command check_event(event, console_write_args(mused.console, "%c ", (!(inst->program[i] & 0x8000) || (inst->program[i] & 0xf000) == 0xf000) ? '�' : '|'),
3494
3492
select_program_step , MAKEPTR (i ), 0 , 0 );
3495
3493
}
3496
3494
}
0 commit comments