mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-22 14:09:16 +01:00
5 second limit
This commit is contained in:
parent
3c1e4e5b42
commit
e88531c5a2
@ -1,7 +1,7 @@
|
|||||||
#include "vr4300.h"
|
#include "vr4300.h"
|
||||||
|
|
||||||
|
|
||||||
#define WATCHDOG_TIMEOUT (3 * (93750000UL / 2))
|
#define WATCHDOG_TIMEOUT (5 * (93750000UL / 2))
|
||||||
|
|
||||||
#define VECTOR_LOCATION (0xA0000000UL)
|
#define VECTOR_LOCATION (0xA0000000UL)
|
||||||
#define VECTOR_SIZE (0x80)
|
#define VECTOR_SIZE (0x80)
|
||||||
|
@ -66,7 +66,7 @@ void exception_fatal_handler (uint32_t exception_code, uint32_t interrupt_mask,
|
|||||||
if (exception_code == EXCEPTION_INTERRUPT) {
|
if (exception_code == EXCEPTION_INTERRUPT) {
|
||||||
if (interrupt_mask & INTERRUPT_MASK_TIMER) {
|
if (interrupt_mask & INTERRUPT_MASK_TIMER) {
|
||||||
exception_disable_watchdog();
|
exception_disable_watchdog();
|
||||||
display_printf("Still loading after 3 second limit...\n\n");
|
display_printf("Still loading after 5 second limit...\n\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else if (exception_code == EXCEPTION_SYSCALL) {
|
} else if (exception_code == EXCEPTION_SYSCALL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user