mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-09-10 12:02:53 +02:00
fix inappropriate if statement
This commit is contained in:
parent
1614eb0b4a
commit
55b9ee85a4
2 changed files with 4 additions and 3 deletions
|
@ -60,10 +60,11 @@ mffi_value miniffi_call_intern(MINIFFI_FUNC target, MiniFFIFuncArgs *p, int npar
|
|||
"test rax, rax\n"
|
||||
"jz mffi_call_void\n"
|
||||
|
||||
"shl rax, 3\n"
|
||||
"cmp rax, 32\n"
|
||||
"cmp rax, 4\n"
|
||||
"jle mffi_call_low\n"
|
||||
|
||||
"shl rax, 3\n"
|
||||
|
||||
"mffi_call_loop:\n"
|
||||
"sub rax, 8\n"
|
||||
"mov rbx, [rsi+rax]\n"
|
||||
|
|
|
@ -78,7 +78,7 @@ std::string filesystemImpl::normalizePath(const char *path, bool preferred, bool
|
|||
char sep;
|
||||
char sep_alt;
|
||||
#ifdef __WINDOWS__
|
||||
if (!preferred) {
|
||||
if (preferred) {
|
||||
sep = '\\';
|
||||
sep_alt = '/';
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue