early-access version 2498
This commit is contained in:
parent
22b34028f8
commit
cc3c4e6389
@ -1,7 +1,7 @@
|
|||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 2496.
|
This is the source code for early-access 2498.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
@ -171,6 +171,9 @@ struct VisitorInterface {
|
|||||||
struct NullVisitor final : public VisitorInterface {
|
struct NullVisitor final : public VisitorInterface {
|
||||||
YUZU_NON_COPYABLE(NullVisitor);
|
YUZU_NON_COPYABLE(NullVisitor);
|
||||||
|
|
||||||
|
NullVisitor() = default;
|
||||||
|
~NullVisitor() override = default;
|
||||||
|
|
||||||
void Visit(const Field<bool>& /*field*/) override {}
|
void Visit(const Field<bool>& /*field*/) override {}
|
||||||
void Visit(const Field<double>& /*field*/) override {}
|
void Visit(const Field<double>& /*field*/) override {}
|
||||||
void Visit(const Field<float>& /*field*/) override {}
|
void Visit(const Field<float>& /*field*/) override {}
|
||||||
|
@ -41,6 +41,14 @@ constexpr std::array DEPTH16_UNORM_STENCIL8_UINT{
|
|||||||
VK_FORMAT_D32_SFLOAT_S8_UINT,
|
VK_FORMAT_D32_SFLOAT_S8_UINT,
|
||||||
VK_FORMAT_UNDEFINED,
|
VK_FORMAT_UNDEFINED,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
constexpr std::array B5G6R5_UNORM_PACK16{
|
||||||
|
VK_FORMAT_R5G6B5_UNORM_PACK16,
|
||||||
|
VK_FORMAT_R5G5B5A1_UNORM_PACK16,
|
||||||
|
VK_FORMAT_A1R5G5B5_UNORM_PACK16,
|
||||||
|
VK_FORMAT_R4G4B4A4_UNORM_PACK16,
|
||||||
|
VK_FORMAT_UNDEFINED,
|
||||||
|
};
|
||||||
} // namespace Alternatives
|
} // namespace Alternatives
|
||||||
|
|
||||||
enum class NvidiaArchitecture {
|
enum class NvidiaArchitecture {
|
||||||
@ -89,6 +97,8 @@ constexpr const VkFormat* GetFormatAlternatives(VkFormat format) {
|
|||||||
return Alternatives::DEPTH24_UNORM_STENCIL8_UINT.data();
|
return Alternatives::DEPTH24_UNORM_STENCIL8_UINT.data();
|
||||||
case VK_FORMAT_D16_UNORM_S8_UINT:
|
case VK_FORMAT_D16_UNORM_S8_UINT:
|
||||||
return Alternatives::DEPTH16_UNORM_STENCIL8_UINT.data();
|
return Alternatives::DEPTH16_UNORM_STENCIL8_UINT.data();
|
||||||
|
case VK_FORMAT_B5G6R5_UNORM_PACK16:
|
||||||
|
return Alternatives::B5G6R5_UNORM_PACK16.data();
|
||||||
default:
|
default:
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
@ -1332,6 +1332,9 @@ void ConfigureInputPlayer::HandleClick(
|
|||||||
QPushButton* button, std::size_t button_id,
|
QPushButton* button, std::size_t button_id,
|
||||||
std::function<void(const Common::ParamPackage&)> new_input_setter,
|
std::function<void(const Common::ParamPackage&)> new_input_setter,
|
||||||
InputCommon::Polling::InputType type) {
|
InputCommon::Polling::InputType type) {
|
||||||
|
if (timeout_timer->isActive()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (button == ui->buttonMotionLeft || button == ui->buttonMotionRight) {
|
if (button == ui->buttonMotionLeft || button == ui->buttonMotionRight) {
|
||||||
button->setText(tr("Shake!"));
|
button->setText(tr("Shake!"));
|
||||||
} else {
|
} else {
|
||||||
|
@ -227,6 +227,9 @@ void ConfigureTouchFromButton::RenameMapping() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void ConfigureTouchFromButton::GetButtonInput(const int row_index, const bool is_new) {
|
void ConfigureTouchFromButton::GetButtonInput(const int row_index, const bool is_new) {
|
||||||
|
if (timeout_timer->isActive()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
binding_list_model->item(row_index, 0)->setText(tr("[press key]"));
|
binding_list_model->item(row_index, 0)->setText(tr("[press key]"));
|
||||||
|
|
||||||
input_setter = [this, row_index, is_new](const Common::ParamPackage& params,
|
input_setter = [this, row_index, is_new](const Common::ParamPackage& params,
|
||||||
|
Loading…
Reference in New Issue
Block a user