diff --git a/pico/state.c b/pico/state.c index 14e37e6e..af2d4cc0 100644 --- a/pico/state.c +++ b/pico/state.c @@ -541,7 +541,7 @@ static int state_load(void *file) break; #endif default: - if (len|chunk == 0) + if (!len && !chunk) goto readend; if (carthw_chunks != NULL) {