early-access version 1910

This commit is contained in:
pineappleEA 2021-07-24 04:47:24 +02:00
parent 0231219b26
commit ed2b2790d5
3 changed files with 3 additions and 2 deletions

View file

@ -1,7 +1,7 @@
yuzu emulator early access
=============
This is the source code for early-access 1909.
This is the source code for early-access 1910.
## Legal Notice

View file

@ -334,6 +334,7 @@ void RendererOpenGL::DrawScreen(const Layout::FramebufferLayout& layout) {
Settings::values.bg_green.GetValue() / 255.0f,
Settings::values.bg_blue.GetValue() / 255.0f, 1.0f);
}
// Set projection matrix
const std::array ortho_matrix =
MakeOrthographicMatrix(static_cast<float>(layout.width), static_cast<float>(layout.height));

View file

@ -371,7 +371,7 @@ void QtNXWebEngineView::FocusFirstLinkElement() {
QWebEngineScript focus_link_element;
constexpr char FOCUS_LINK_ELEMENT_SCRIPT[] =
R"(document.getElementsByTagName("a")[0].focus();)";
R"(if(document.getElementsByTagName("a").length > 0) document.getElementsByTagName("a")[0].focus();)";
focus_link_element.setName(QStringLiteral("focus_link_element.js"));
focus_link_element.setSourceCode(QString::fromStdString(FOCUS_LINK_ELEMENT_SCRIPT));