MCPcopy Create free account
hub / github.com/N64Recomp/N64Recomp / emit_pause_self

Method emit_pause_self

LiveRecomp/live_generator.cpp:1929–1934  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1927}
1928
1929void N64Recomp::LiveGenerator::emit_pause_self() const {
1930 // Load rdram into R0.
1931 sljit_emit_op2(compiler, SLJIT_ADD, SLJIT_R0, 0, Registers::rdram, 0, SLJIT_IMM, rdram_offset);
1932 // Call pause_self.
1933 sljit_emit_icall(compiler, SLJIT_CALL, SLJIT_ARGS1V(P), SLJIT_IMM, sljit_sw(inputs.pause_self));
1934}
1935
1936void N64Recomp::LiveGenerator::emit_trigger_event(uint32_t event_index) const {
1937 // Load rdram and ctx into R0 and R1.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected