Render emulator output on main window

Introduce hardware renderer
This commit is contained in:
Cacodemon345
2021-11-30 16:26:49 +06:00
parent 668887a30a
commit 0108c93e2d
9 changed files with 888 additions and 163 deletions

View File

@@ -36,6 +36,11 @@ wchar_t* ui_window_title(wchar_t* str)
return str;
}
extern "C" void qt_blit(int x, int y, int w, int h)
{
main_window->blitToWidget(x, y, w, h);
}
void mouse_poll() {
main_window->pollMouse();
}