mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-08 06:15:31 +00:00
Fix uint to be uint8 since otherwise it's undefined on a lot of platforms.
This commit is contained in:
parent
213d98f985
commit
8f748ce070
|
@ -108,7 +108,7 @@ static inline void clamp(ty &x, const ty &min, const ty &max) {
|
||||||
// absolute distance. It turns out the compiler does a much
|
// absolute distance. It turns out the compiler does a much
|
||||||
// better job of optimizing this than we can, since we can't
|
// better job of optimizing this than we can, since we can't
|
||||||
// translate the values to/from registers
|
// translate the values to/from registers
|
||||||
static uint sad(uint8 a, uint8 b) {
|
static uint8 sad(uint8 a, uint8 b) {
|
||||||
#if 0
|
#if 0
|
||||||
__asm
|
__asm
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue