mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
shift content around to make backtrace more apparent
This commit is contained in:
parent
853c008ff7
commit
162bc17add
|
@ -31,6 +31,8 @@ export function BacktracePage() {
|
|||
game you are playing.
|
||||
</em>
|
||||
</p>
|
||||
<h2>Backtrace</h2>
|
||||
{backtrace && <Debug encodedBacktrace={backtrace} />}
|
||||
<h2>For game developers</h2>
|
||||
<p>If you don't want players to be sent to this page, you can:</p>
|
||||
<ol>
|
||||
|
@ -38,8 +40,6 @@ export function BacktracePage() {
|
|||
<li>Configure the backtrace page to not point to a site at all</li>
|
||||
<li>Not use the backtrace feature</li>
|
||||
</ol>
|
||||
<h2>Backtrace</h2>
|
||||
{backtrace && <Debug encodedBacktrace={backtrace} />}
|
||||
</ContentBlock>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -51,6 +51,18 @@ function DebugBacktraceDecode({
|
|||
|
||||
return (
|
||||
<>
|
||||
<BacktraceListWrapper>
|
||||
<BacktraceList>
|
||||
{backtraceAddresses.map((x, idx) => (
|
||||
<li key={x}>
|
||||
<BacktraceAddressInfo
|
||||
address={x}
|
||||
info={backtraceLocations[idx]}
|
||||
/>
|
||||
</li>
|
||||
))}
|
||||
</BacktraceList>
|
||||
</BacktraceListWrapper>
|
||||
<p>
|
||||
If you add the elf file used to make the GBA file, or the GBA file
|
||||
itself if it was made with <NonWrapCode>agb-gbafix --debug</NonWrapCode>
|
||||
|
@ -72,18 +84,6 @@ function DebugBacktraceDecode({
|
|||
}}
|
||||
/>
|
||||
</label>
|
||||
<BacktraceListWrapper>
|
||||
<BacktraceList>
|
||||
{backtraceAddresses.map((x, idx) => (
|
||||
<li key={x}>
|
||||
<BacktraceAddressInfo
|
||||
address={x}
|
||||
info={backtraceLocations[idx]}
|
||||
/>
|
||||
</li>
|
||||
))}
|
||||
</BacktraceList>
|
||||
</BacktraceListWrapper>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue