mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-03-06 14:27:44 +00:00
CMake: Fix incorrect library for HTTPDownloaderCurl
This commit is contained in:
parent
ad1716e376
commit
bee1f986a9
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue