CMake: Fix incorrect library for HTTPDownloaderCurl

This commit is contained in:
Stenzek 2023-11-18 14:58:42 +10:00
parent ad1716e376
commit bee1f986a9
No known key found for this signature in database
4 changed files with 6 additions and 4 deletions

View file

@ -224,7 +224,7 @@ void CPU::NewRec::AArch64Compiler::GenerateBlockProtectCheck(const u8* ram_ptr,
armAsm->ldr(vtmp, MemOperand(RXARG2, offset));
armAsm->cmeq(dst, dst, vtmp);
if (!first)
armAsm->and_(dst.V16B(), dst.V16B(), vtmp.V16B());
armAsm->and_(v0.V16B(), v0.V16B(), dst.V16B());
else
first = false;
@ -1967,6 +1967,7 @@ void CPU::NewRec::AArch64Compiler::TestInterrupts(const vixl::aarch64::WRegister
(inst + 1)->cop.cop_n));
EmitMov(RWARG2, m_compiler_pc);
EmitCall(reinterpret_cast<const void*>(static_cast<void (*)(u32, u32)>(&CPU::RaiseException)));
m_dirty_pc = false;
EndAndLinkBlock(std::nullopt, true, false);
}
else

View file

@ -2223,6 +2223,7 @@ void CPU::NewRec::RISCV64Compiler::TestInterrupts(const biscuit::GPR& sr)
(inst + 1)->cop.cop_n));
EmitMov(RARG2, m_compiler_pc);
EmitCall(reinterpret_cast<const void*>(static_cast<void (*)(u32, u32)>(&CPU::RaiseException)));
m_dirty_pc = false;
EndAndLinkBlock(std::nullopt, true, false);
}
else

View file

@ -2270,7 +2270,7 @@ void CodeGenerator::EmitBlockProtectCheck(const u8* ram_ptr, const u8* shadow_pt
m_emit->ldr(vtmp, a64::MemOperand(RXARG2, offset));
m_emit->cmeq(dst, dst, vtmp);
if (!first)
m_emit->and_(dst.V16B(), dst.V16B(), vtmp.V16B());
m_emit->and_(a64::v0.V16B(), a64::v0.V16B(), dst.V16B());
else
first = false;

View file

@ -284,11 +284,11 @@ elseif(NOT ANDROID)
endif()
if(NOT WIN32 AND NOT ANDROID)
target_sources(common PRIVATE
target_sources(util PRIVATE
http_downloader_curl.cpp
http_downloader_curl.h
)
target_link_libraries(common PRIVATE
target_link_libraries(util PRIVATE
CURL::libcurl
)
endif()