mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
fix: xor -> mov to be "identical"
This commit is contained in:
parent
1558de3a7b
commit
9ffd437a4b
11
.vscode/settings.json
vendored
Normal file
11
.vscode/settings.json
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"cmake.configureArgs": [
|
||||
"-DCMAKE_TOOLCHAIN_FILE=${workspaceFolder}/cmake/LinuxCrosscompile.cmake"
|
||||
],
|
||||
"cmake.configureEnvironment": {
|
||||
"CC": "cl",
|
||||
"CXX": "cl"
|
||||
},
|
||||
"cmake.generator": "Ninja",
|
||||
"cmake.buildDirectory": "${workspaceFolder}/build"
|
||||
}
|
||||
|
|
@ -21,7 +21,7 @@ extern "C" FILE* __cdecl __acrt_iob_func(unsigned index);
|
|||
extern "C" __attribute__((naked)) FILE* __cdecl __iob_func(void) {
|
||||
__asm__(
|
||||
".intel_syntax noprefix\n\t"
|
||||
"xor ecx, ecx\n\t"
|
||||
"mov ecx, 0\n\t"
|
||||
"jmp __acrt_iob_func\n\t"
|
||||
".att_syntax prefix"
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue