Skip to content

Commit

Permalink
web: build fix (bad global search/replace)
Browse files Browse the repository at this point in the history
  • Loading branch information
evmar committed Feb 25, 2025
1 parent ae1b26d commit 0a85738
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/debugger/debugger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ export class Debugger extends preact.Component<Debugger.Props, Debugger.State> {

memory: () => (
<Memory
mem={emulator.memory()}
mem={emulator.emu.memory()}
base={this.state.memBase}
highlight={this.state.memHighlight}
jumpTo={(addr) => this.setState({ memBase: Math.max(0, addr) })}
Expand Down
2 changes: 1 addition & 1 deletion web/debugger/stack.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class Stack extends preact.Component<Stack.Props> {
render() {
const { emu } = this.props;
const esp = emu.esp;
const memory = memory();
const memory = emu.memory();
const rows = [];
for (let addr = esp - 0x10; addr < esp + 0x20; addr += 4) {
const value = memory.getUint32(addr, true);
Expand Down

0 comments on commit 0a85738

Please sign in to comment.