Changeset 3f2d518 in buchla-68k for ram/sqdkey.c
- Timestamp:
- 11/12/2017 06:03:56 PM (7 years ago)
- Branches:
- master
- Children:
- c93e44d
- Parents:
- 19caa64
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/sqdkey.c
r19caa64 r3f2d518 81 81 return; 82 82 83 buf[0] = key + '0';83 buf[0] = (int8_t)(key + '0'); 84 84 85 85 } else if (col EQ 7) { /* port */ … … 87 87 if ((key EQ 1) OR (key EQ 2)) { /* MIDI */ 88 88 89 buf[0] = key + '0';89 buf[0] = (int8_t)(key + '0'); 90 90 91 91 UpdVid(7, stccol + 1, " 01", PTDATR); … … 109 109 return; 110 110 111 buf[0] = key + '0';111 buf[0] = (int8_t)(key + '0'); 112 112 } 113 113 … … 142 142 } 143 143 144 buf[0] = key + '0';144 buf[0] = (int8_t)(key + '0'); 145 145 buf[1] = '\0'; 146 sqdebuf[stccol] = key + '0';146 sqdebuf[stccol] = (int8_t)(key + '0'); 147 147 148 148 UpdVid(7, stccol, buf, PTDATR); … … 187 187 } 188 188 189 buf[0] = key + '0';189 buf[0] = (int8_t)(key + '0'); 190 190 buf[1] = '\0'; 191 sqdebuf[stccol] = key + '0';191 sqdebuf[stccol] = (int8_t)(key + '0'); 192 192 193 193 UpdVid(7, stccol, buf, PTDATR); … … 218 218 } 219 219 220 buf[0] = key + '0';220 buf[0] = (int8_t)(key + '0'); 221 221 buf[1] = '\0'; 222 sqdebuf[stccol] = key + '0';222 sqdebuf[stccol] = (int8_t)(key + '0'); 223 223 224 224 UpdVid(7, stccol, buf, PTDATR); … … 251 251 } 252 252 253 buf[0] = key + '0';253 buf[0] = (int8_t)(key + '0'); 254 254 buf[1] = '\0'; 255 sqdebuf[stccol] = key + '0';255 sqdebuf[stccol] = (int8_t)(key + '0'); 256 256 257 257 UpdVid(7, stccol, buf, PTDATR); … … 285 285 } 286 286 287 buf[0] = key + '0';287 buf[0] = (int8_t)(key + '0'); 288 288 buf[1] = '\0'; 289 sqdebuf[stccol] = key + '0';289 sqdebuf[stccol] = (int8_t)(key + '0'); 290 290 291 291 UpdVid(7, stccol, buf, PTDATR); … … 310 310 return; 311 311 312 buf[0] = key + '0';312 buf[0] = (int8_t)(key + '0'); 313 313 buf[1] = '\0'; 314 sqdebuf[stccol] = key + '0';314 sqdebuf[stccol] = (int8_t)(key + '0'); 315 315 316 316 UpdVid(7, stccol, buf, PTDATR); … … 353 353 if (inrange(stccol, 2, 4)) { /* line */ 354 354 355 buf[0] = key + '0';355 buf[0] = (int8_t)(key + '0'); 356 356 buf[1] = '\0'; 357 357 358 sqdebuf[stccol] = key + '0';358 sqdebuf[stccol] = (int8_t)(key + '0'); 359 359 360 360 UpdVid(7, stccol, buf, PTDATR); … … 372 372 return; 373 373 374 buf[0] = key + '0';374 buf[0] = (int8_t)(key + '0'); 375 375 buf[1] = '\0'; 376 376 377 sqdebuf[stccol] = key + '0';377 sqdebuf[stccol] = (int8_t)(key + '0'); 378 378 379 379 UpdVid(7, stccol, buf, PTDATR);
Note:
See TracChangeset
for help on using the changeset viewer.