diff options
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | compiler_and_linker/unsorted/Switch.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 356c252..b39958c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ include_directories(.) include_directories(includes) include_directories(sdk_hdrs) -add_compile_definitions(CW_PATCH_DEBUG) +# add_compile_definitions(CW_PATCH_DEBUG) add_executable(mwcc command_line/CmdLine/Src/Clients/CLStaticMain.c diff --git a/compiler_and_linker/unsorted/Switch.c b/compiler_and_linker/unsorted/Switch.c index e0c99a0..23cc02b 100644 --- a/compiler_and_linker/unsorted/Switch.c +++ b/compiler_and_linker/unsorted/Switch.c @@ -297,7 +297,7 @@ static void I8_treecompare(SInt32 start, SInt32 end) { d = b; } emitpcode(PC_SUBFC, a, a, selector_gpr); - emitpcode(PC_SUBFE, b, d, b); + emitpcode(PC_SUBFE, b, d, c); emitpcode(PC_SUBFE, b, a, a); emitpcode(PC_NEG, b, b); emitpcode(PC_CMPI, 0, b, 0); |