mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-23 04:12:02 +00:00
Correct some occurrences of "occured" (#1213)
* Correct all occurrences of "occured" * Correct some occurrences of "occured"
This commit is contained in:
parent
ee9585dd57
commit
77d7e6b121
4 changed files with 4 additions and 4 deletions
|
@ -89,7 +89,7 @@ void exception_handler_main(uint32_t *registers, unsigned int exception_type) {
|
||||||
uint32_t cpsr = registers[16];
|
uint32_t cpsr = registers[16];
|
||||||
uint32_t instr_addr = pc + ((cpsr & 0x20) ? 2 : 4) - CODE_DUMP_SIZE;
|
uint32_t instr_addr = pc + ((cpsr & 0x20) ? 2 : 4) - CODE_DUMP_SIZE;
|
||||||
|
|
||||||
sprintf(exception_log, "An exception occured!\n");
|
sprintf(exception_log, "An exception occurred!\n");
|
||||||
|
|
||||||
code_dump_size = safecpy(code_dump, (const void *)instr_addr, CODE_DUMP_SIZE);
|
code_dump_size = safecpy(code_dump, (const void *)instr_addr, CODE_DUMP_SIZE);
|
||||||
stack_dump_size = safecpy(stack_dump, (const void *)registers[13], STACK_DUMP_SIZE);
|
stack_dump_size = safecpy(stack_dump, (const void *)registers[13], STACK_DUMP_SIZE);
|
||||||
|
|
|
@ -90,7 +90,7 @@ void exception_handler_main(uint32_t *registers, unsigned int exception_type) {
|
||||||
uint32_t cpsr = registers[16];
|
uint32_t cpsr = registers[16];
|
||||||
uint32_t instr_addr = pc + ((cpsr & 0x20) ? 2 : 4) - CODE_DUMP_SIZE;
|
uint32_t instr_addr = pc + ((cpsr & 0x20) ? 2 : 4) - CODE_DUMP_SIZE;
|
||||||
|
|
||||||
sprintf(exception_log, "An exception occured!\n");
|
sprintf(exception_log, "An exception occurred!\n");
|
||||||
|
|
||||||
code_dump_size = safecpy(code_dump, (const void *)instr_addr, CODE_DUMP_SIZE);
|
code_dump_size = safecpy(code_dump, (const void *)instr_addr, CODE_DUMP_SIZE);
|
||||||
stack_dump_size = safecpy(stack_dump, (const void *)registers[13], STACK_DUMP_SIZE);
|
stack_dump_size = safecpy(stack_dump, (const void *)registers[13], STACK_DUMP_SIZE);
|
||||||
|
|
|
@ -89,7 +89,7 @@ void exception_handler_main(uint32_t *registers, unsigned int exception_type) {
|
||||||
uint32_t cpsr = registers[16];
|
uint32_t cpsr = registers[16];
|
||||||
uint32_t instr_addr = pc + ((cpsr & 0x20) ? 2 : 4) - CODE_DUMP_SIZE;
|
uint32_t instr_addr = pc + ((cpsr & 0x20) ? 2 : 4) - CODE_DUMP_SIZE;
|
||||||
|
|
||||||
sprintf(exception_log, "An exception occured!\n");
|
sprintf(exception_log, "An exception occurred!\n");
|
||||||
|
|
||||||
code_dump_size = safecpy(code_dump, (const void *)instr_addr, CODE_DUMP_SIZE);
|
code_dump_size = safecpy(code_dump, (const void *)instr_addr, CODE_DUMP_SIZE);
|
||||||
stack_dump_size = safecpy(stack_dump, (const void *)registers[13], STACK_DUMP_SIZE);
|
stack_dump_size = safecpy(stack_dump, (const void *)registers[13], STACK_DUMP_SIZE);
|
||||||
|
|
|
@ -82,7 +82,7 @@ namespace ams::fatal::srv {
|
||||||
{
|
{
|
||||||
this->error_msg = "Error Code: 2%03d-%04d (0x%x)\n";
|
this->error_msg = "Error Code: 2%03d-%04d (0x%x)\n";
|
||||||
|
|
||||||
this->error_desc = "An error has occured.\n\n"
|
this->error_desc = "An error has occurred.\n\n"
|
||||||
"Please press the POWER Button to restart the console normally, or a VOL button\n"
|
"Please press the POWER Button to restart the console normally, or a VOL button\n"
|
||||||
"to reboot to a payload (or RCM, if none is present). If you are unable to\n"
|
"to reboot to a payload (or RCM, if none is present). If you are unable to\n"
|
||||||
"restart the console, hold the POWER Button for 12 seconds to turn the console off.\n\n"
|
"restart the console, hold the POWER Button for 12 seconds to turn the console off.\n\n"
|
||||||
|
|
Loading…
Reference in a new issue