mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-06-11 04:29:37 +00:00
viacuda: Further fixing set real time
This commit is contained in:
parent
0ff4fe3cd6
commit
a5a2a12df4
|
@ -329,10 +329,10 @@ void ViaCuda::pseudo_command(int cmd, int data_count) {
|
|||
break;
|
||||
case CUDA_SET_REAL_TIME:
|
||||
response_header(CUDA_PKT_PSEUDO, 0);
|
||||
this->real_time = in_buf[2] >> 24;
|
||||
this->real_time += in_buf[3] >> 16;
|
||||
this->real_time += in_buf[4] >> 8;
|
||||
this->real_time += in_buf[5];
|
||||
this->real_time = ((uint32_t)in_buf[2]) >> 24;
|
||||
this->real_time += ((uint32_t)in_buf[3]) >> 16;
|
||||
this->real_time += ((uint32_t)in_buf[4]) >> 8;
|
||||
this->real_time += ((uint32_t)in_buf[5]);
|
||||
break;
|
||||
case CUDA_WRITE_PRAM:
|
||||
response_header(CUDA_PKT_PSEUDO, 0);
|
||||
|
|
|
@ -135,7 +135,7 @@ private:
|
|||
int32_t out_count;
|
||||
int32_t out_pos;
|
||||
uint8_t poll_rate;
|
||||
int32_t real_time;
|
||||
int32_t real_time = 0;
|
||||
bool file_server;
|
||||
|
||||
bool is_open_ended;
|
||||
|
|
Loading…
Reference in New Issue
Block a user