Commit f81f7321 authored by mntmn's avatar mntmn
Browse files

ZZ9000OS: fix missing hsync setup

parent d2f71c5f
......@@ -448,6 +448,7 @@ void video_formatter_write(uint32_t data, uint16_t op) {
void video_formatter_init(int scalemode, int colormode, int width, int height, int htotal, int vtotal, int hss, int hse, int vss, int vse, int polarity) {
video_formatter_write((vtotal<<16)|htotal, MNTVF_OP_MAX);
video_formatter_write((height<<16)|width, MNTVF_OP_DIMENSIONS);
video_formatter_write((hss<<16)|hse, MNTVF_OP_HS);
video_formatter_write((vss<<16)|vse, MNTVF_OP_VS);
video_formatter_write(polarity, MNTVF_OP_POLARITY);
video_formatter_write(scalemode, MNTVF_OP_SCALE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment