bypass window’s min macro

This commit is contained in:
dcvz 2024-05-24 23:00:30 +02:00
parent f9b3c21ffd
commit e67fe70f99

View file

@ -105,7 +105,7 @@ extern "C" void osContGetQuery_recomp(uint8_t * rdram, recomp_context * ctx) {
}
extern "C" void osContSetCh_recomp(uint8_t* rdram, recomp_context* ctx) {
max_controllers = std::min(_arg<0, u8>(rdram, ctx), u8(4));
max_controllers = (std::min)(_arg<0, u8>(rdram, ctx), u8(4));
_return<s32>(ctx, 0);
}