summaryrefslogtreecommitdiff
path: root/src/berry_crush.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/berry_crush.c')
-rwxr-xr-xsrc/berry_crush.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/berry_crush.c b/src/berry_crush.c
index 3a9adfcd0..aff8d28d2 100755
--- a/src/berry_crush.c
+++ b/src/berry_crush.c
@@ -984,12 +984,12 @@ static u32 QuitBerryCrush(MainCallback exitCallback)
return 0;
}
-#define ERROR_EXIT(exitCallback) \
- { \
- SetMainCallback2(exitCallback); \
- gRfu.errorParam0 = 0; \
- gRfu.errorParam1 = 0; \
- gRfu.errorState = RFU_ERROR_STATE_1; \
+#define ERROR_EXIT(exitCallback) \
+ { \
+ SetMainCallback2(exitCallback); \
+ gRfu.errorParam0 = 0; \
+ gRfu.errorParam1 = 0; \
+ gRfu.errorState = RFU_ERROR_STATE_OCCURRED; \
}
void StartBerryCrush(MainCallback exitCallback)