Changeset 54735 in vbox for trunk/src/VBox
- Timestamp:
- Mar 12, 2015 8:41:54 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 98904
- Location:
- trunk/src/VBox/Devices/Input
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Input/DevPS2.cpp
r54247 r54735 1207 1207 SSMR3GetS32(pSSM, &i32Dummy); 1208 1208 } 1209 SSMR3GetU8(pSSM, &u8Dummy);1209 rc = SSMR3GetU8(pSSM, &u8Dummy); 1210 1210 if (version_id == 4) 1211 1211 { 1212 1212 SSMR3GetU32(pSSM, &u32Dummy); 1213 SSMR3GetU32(pSSM, &u32Dummy);1213 rc = SSMR3GetU32(pSSM, &u32Dummy); 1214 1214 } 1215 1215 if (version_id > 3) 1216 SSMR3GetU8(pSSM, &u8Dummy);1216 rc = SSMR3GetU8(pSSM, &u8Dummy); 1217 1217 if (version_id == 4) 1218 SSMR3GetU8(pSSM, &u8Dummy); 1218 rc = SSMR3GetU8(pSSM, &u8Dummy); 1219 AssertLogRelRCReturn(rc, rc); 1219 1220 1220 1221 PS2MFixupState(&s->Aux, u8State, u8Rate, u8Proto); -
trunk/src/VBox/Devices/Input/PS2M.cpp
r54289 r54735 441 441 static void ps2mSetRate(PPS2M pThis, uint8_t rate) 442 442 { 443 pThis->uThrottleDelay = 1000 / rate;443 pThis->uThrottleDelay = rate ? 1000 / rate : 0; 444 444 pThis->u8SampleRate = rate; 445 445 LogFlowFunc(("Sampling rate %u, throttle delay %u ms\n", pThis->u8SampleRate, pThis->uThrottleDelay));
Note:
See TracChangeset
for help on using the changeset viewer.