mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-12-25 03:29:38 +00:00
videoctrl: remove unnecessary delay.
This commit is contained in:
parent
cd1d0031e6
commit
a0e660f6b4
@ -119,8 +119,6 @@ void VideoCtrlBase::update_screen()
|
|||||||
//auto end_time = std::chrono::steady_clock::now();
|
//auto end_time = std::chrono::steady_clock::now();
|
||||||
//auto time_elapsed = std::chrono::duration_cast<std::chrono::nanoseconds>(end_time - start_time);
|
//auto time_elapsed = std::chrono::duration_cast<std::chrono::nanoseconds>(end_time - start_time);
|
||||||
//LOG_F(INFO, "Display uodate took: %lld ns", time_elapsed.count());
|
//LOG_F(INFO, "Display uodate took: %lld ns", time_elapsed.count());
|
||||||
|
|
||||||
SDL_Delay(15);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void VideoCtrlBase::convert_frame_1bpp(uint8_t *dst_buf, int dst_pitch)
|
void VideoCtrlBase::convert_frame_1bpp(uint8_t *dst_buf, int dst_pitch)
|
||||||
|
Loading…
Reference in New Issue
Block a user