Changeset c93e44d in buchla-68k for ram/msm.c


Ignore:
Timestamp:
11/12/2017 06:14:21 PM (6 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
fa50076
Parents:
3f2d518
Message:

Fixed msm.c.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/msm.c

    r3f2d518 rc93e44d  
    277277                                                                                        ep->e_time = t_cur;
    278278                                                                                        ep->e_type = EV_ANVL;
    279                                                                                         ep->e_data1 = 0x0050 | i;
     279                                                                                        ep->e_data1 = (int8_t)(0x0050 | i);
    280280                                                                                        ep->e_dn = (struct s_entry *)((int32_t)mdb1 << 16);
    281281                                                                                        p_cur = e_ins(ep, ep_adj(p_cur, 0, t_cur))->e_fwd;
     
    515515                                                        prstab[t1] = 0;
    516516
    517                                                         stmproc(t1);    /* process as a patch stimulus */
     517                                                        stmproc((uint16_t)t1);  /* process as a patch stimulus */
    518518
    519519                                                        if (editsw) {   /* edit mode */
     
    570570                                                        }
    571571
    572                                                         stmproc(0x8000 | t1);   /* process as a patch stimulus */
     572                                                        stmproc((uint16_t)0x8000 | (uint16_t)t1);       /* process as a patch stimulus */
    573573                                                }
    574574
Note: See TracChangeset for help on using the changeset viewer.