early-access version 4003
This commit is contained in:
parent
a4d9fcd7ce
commit
82946e3f3d
@ -1,7 +1,7 @@
|
|||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 4002.
|
This is the source code for early-access 4003.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
@ -438,16 +438,16 @@ Result NfcDevice::Mount(NFP::ModelType model_type, NFP::MountTarget mount_target
|
|||||||
is_corrupted = true;
|
is_corrupted = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_corrupted) {
|
device_state = DeviceState::TagMounted;
|
||||||
|
mount_target = mount_target_;
|
||||||
|
|
||||||
|
if (!is_corrupted && mount_target != NFP::MountTarget::Rom) {
|
||||||
std::vector<u8> data(sizeof(NFP::EncryptedNTAG215File));
|
std::vector<u8> data(sizeof(NFP::EncryptedNTAG215File));
|
||||||
memcpy(data.data(), &encrypted_tag_data, sizeof(encrypted_tag_data));
|
memcpy(data.data(), &encrypted_tag_data, sizeof(encrypted_tag_data));
|
||||||
WriteBackupData(encrypted_tag_data.uuid, data);
|
WriteBackupData(encrypted_tag_data.uuid, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
device_state = DeviceState::TagMounted;
|
if (is_corrupted && mount_target != NFP::MountTarget::Rom) {
|
||||||
mount_target = mount_target_;
|
|
||||||
|
|
||||||
if (is_corrupted) {
|
|
||||||
bool has_backup = HasBackup(encrypted_tag_data.uuid).IsSuccess();
|
bool has_backup = HasBackup(encrypted_tag_data.uuid).IsSuccess();
|
||||||
return has_backup ? ResultCorruptedDataWithBackup : ResultCorruptedData;
|
return has_backup ? ResultCorruptedDataWithBackup : ResultCorruptedData;
|
||||||
}
|
}
|
||||||
|
@ -1211,7 +1211,7 @@ void BlitScreen::CreateRawImages(const Tegra::FramebufferConfig& framebuffer) {
|
|||||||
aa_framebuffer = CreateFramebuffer(*aa_image_view, size, aa_renderpass);
|
aa_framebuffer = CreateFramebuffer(*aa_image_view, size, aa_renderpass);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
aa_renderpass = CreateRenderPassImpl(GetFormat(framebuffer));
|
aa_renderpass = CreateRenderPassImpl(VK_FORMAT_R16G16B16A16_SFLOAT);
|
||||||
aa_framebuffer = CreateFramebuffer(*aa_image_view, size, aa_renderpass);
|
aa_framebuffer = CreateFramebuffer(*aa_image_view, size, aa_renderpass);
|
||||||
|
|
||||||
const std::array<VkPipelineShaderStageCreateInfo, 2> fxaa_shader_stages{{
|
const std::array<VkPipelineShaderStageCreateInfo, 2> fxaa_shader_stages{{
|
||||||
|
Loading…
Reference in New Issue
Block a user