early-access version 3325

This commit is contained in:
pineappleEA 2023-01-24 00:01:56 +01:00
parent 13810b8a83
commit c99dcbc427
5 changed files with 10 additions and 8 deletions

View File

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

View File

@ -121,6 +121,8 @@ void Impl(TranslatorVisitor& v, u64 insn, bool is_bindless) {
} }
if (tld.lod != 0) { if (tld.lod != 0) {
lod = v.X(meta_reg++); lod = v.X(meta_reg++);
} else {
lod = v.ir.Imm32(0U);
} }
if (tld.aoffi != 0) { if (tld.aoffi != 0) {
offset = MakeOffset(v, meta_reg, tld.type); offset = MakeOffset(v, meta_reg, tld.type);

View File

@ -73,7 +73,7 @@ IR::Value Sample(TranslatorVisitor& v, u64 insn) {
const IR::Reg reg_a{tlds.src_reg_a}; const IR::Reg reg_a{tlds.src_reg_a};
const IR::Reg reg_b{tlds.src_reg_b}; const IR::Reg reg_b{tlds.src_reg_b};
IR::Value coords; IR::Value coords;
IR::U32 lod; IR::U32 lod{v.ir.Imm32(0U)};
IR::Value offsets; IR::Value offsets;
IR::U32 multisample; IR::U32 multisample;
Shader::TextureType texture_type{}; Shader::TextureType texture_type{};

View File

@ -60,10 +60,10 @@
<item> <item>
<widget class="QLineEdit" name="ip"> <widget class="QLineEdit" name="ip">
<property name="toolTip"> <property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;IPv4 address of the host&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;IP address of the host&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
<property name="maxLength"> <property name="maxLength">
<number>16</number> <number>253</number>
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -38,11 +38,11 @@ private:
QRegularExpression(QStringLiteral("^[a-zA-Z0-9._ -]{4,20}")); QRegularExpression(QStringLiteral("^[a-zA-Z0-9._ -]{4,20}"));
QRegularExpressionValidator nickname; QRegularExpressionValidator nickname;
/// ipv4 address only /// ipv4 / ipv6 / hostnames
// TODO remove this when we support hostnames in direct connect
QRegularExpression ip_regex = QRegularExpression(QStringLiteral( QRegularExpression ip_regex = QRegularExpression(QStringLiteral(
"(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|" "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$|"
"2[0-4][0-9]|25[0-5])")); "^([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}$|"
"^([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\\.)+[a-zA-Z]{2,}$"));
QRegularExpressionValidator ip; QRegularExpressionValidator ip;
/// port must be between 0 and 65535 /// port must be between 0 and 65535