From 162bc17addeba2b620057aaa9ecf607f8eeb9fe1 Mon Sep 17 00:00:00 2001 From: Corwin Date: Fri, 19 Apr 2024 23:55:41 +0100 Subject: [PATCH] shift content around to make backtrace more apparent --- website/agb/src/app/crash/backtrace.tsx | 4 ++-- website/agb/src/app/crash/debug.tsx | 24 ++++++++++++------------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/website/agb/src/app/crash/backtrace.tsx b/website/agb/src/app/crash/backtrace.tsx index 1d436348..051c1606 100644 --- a/website/agb/src/app/crash/backtrace.tsx +++ b/website/agb/src/app/crash/backtrace.tsx @@ -31,6 +31,8 @@ export function BacktracePage() { game you are playing.

+

Backtrace

+ {backtrace && }

For game developers

If you don't want players to be sent to this page, you can:

    @@ -38,8 +40,6 @@ export function BacktracePage() {
  1. Configure the backtrace page to not point to a site at all
  2. Not use the backtrace feature
-

Backtrace

- {backtrace && } ); } diff --git a/website/agb/src/app/crash/debug.tsx b/website/agb/src/app/crash/debug.tsx index a403f431..27366b2d 100644 --- a/website/agb/src/app/crash/debug.tsx +++ b/website/agb/src/app/crash/debug.tsx @@ -51,6 +51,18 @@ function DebugBacktraceDecode({ return ( <> + + + {backtraceAddresses.map((x, idx) => ( +
  • + +
  • + ))} +
    +

    If you add the elf file used to make the GBA file, or the GBA file itself if it was made with agb-gbafix --debug @@ -72,18 +84,6 @@ function DebugBacktraceDecode({ }} /> - - - {backtraceAddresses.map((x, idx) => ( -

  • - -
  • - ))} - - ); }