TempleOSCDV4.02.ISO
This commit is contained in:
1 parent
fedf66361e
commit
1541d7328d
171 files changed
+5326
-5237
No files matched your search
@@ -1,7 +1,7 @@
|
||||
/*lock{} is a compiler statement
|
||||
/*lock{} is a compiler stmt
|
||||
which places asm LOCK instruction
|
||||
prefixes on code. Only use it on
|
||||
read-modify-write statements.
|
||||
read-modify-write stmts.
|
||||
It will generate invalid instructions
|
||||
if you misuse it and it will crash.
|
||||
$LK,"U",A="MN:U"$() to see what code was generated.
|
||||
|
||||
@@ -36,7 +36,7 @@ U0 QSortU32(I32 *base,I64 num)
|
||||
}
|
||||
}
|
||||
i=less-base;
|
||||
if (i==num) {//All less or equal to pivot
|
||||
if (i==num) {//All less or equ to pivot
|
||||
|
||||
//Point greater to first less
|
||||
do greater--;
|
||||
@@ -47,7 +47,7 @@ U0 QSortU32(I32 *base,I64 num)
|
||||
if (less<greater)
|
||||
SwapU32(less,greater);
|
||||
num=i;
|
||||
} else //All equal
|
||||
} else //All equ
|
||||
break;
|
||||
} else if (i<num/2) {
|
||||
QSortU32(base,i);
|
||||
|
||||
Reference in new issue
Block a user