mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-24 14:55:46 +00:00
gl_decompiler: min/max op not implement yet
This commit is contained in:
parent
fd7fb7c1b7
commit
39880b6fcb
1 changed files with 4 additions and 0 deletions
|
@ -2114,6 +2114,10 @@ private:
|
|||
|
||||
template <const std::string_view& opname, Type type>
|
||||
Expression Atomic(Operation operation) {
|
||||
if ((opname == Func::Min || opname == Func::Max) && type == Type::Int) {
|
||||
UNIMPLEMENTED_MSG("Unimplemented Min & Max for atomic operations");
|
||||
return {};
|
||||
}
|
||||
return {fmt::format("atomic{}({}, {})", opname, Visit(operation[0]).GetCode(),
|
||||
Visit(operation[1]).As(type)),
|
||||
type};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue