diff --git a/sm.ini b/sm.ini index 58cee75..3b22797 100644 --- a/sm.ini +++ b/sm.ini @@ -64,7 +64,7 @@ Controls = Up, Down, Left, Right, Right Shift, Return, x, z, s, a, c, v #Controls = Up, Down, Left, Right, Right Shift, Return, x, w, s, q, c, v CheatLife = w -CheatJump = o +CheatJump = Ctrl+q ClearKeyLog = k StopReplay = l Fullscreen = Alt+Return diff --git a/src/config.c b/src/config.c index 6c92daa..24df47c 100644 --- a/src/config.c +++ b/src/config.c @@ -39,6 +39,8 @@ static const uint16 kDefaultKbdControls[kKeys_Total] = { _(SDLK_w), _(SDLK_q), S(SDLK_r), // ClearKeyLog, StopReplay, Fullscreen, Reset, Pause, PauseDimmed, Turbo, ReplayTurbo, WindowBigger, WindowSmaller, DisplayPerf, ToggleRenderer _(SDLK_k), _(SDLK_l), A(SDLK_RETURN), C(SDLK_r), S(SDLK_p), _(SDLK_p), _(SDLK_TAB), _(SDLK_t), N, N, _(SDLK_f), _(SDLK_r), + // VolumeUp VolumeDown + 0, 0, }; #undef _ #undef A diff --git a/src/sm_rtl.c b/src/sm_rtl.c index 50c7de7..88f3660 100644 --- a/src/sm_rtl.c +++ b/src/sm_rtl.c @@ -682,9 +682,9 @@ void RtlCheat(char c) { if (c == 'w') { samus_health = samus_max_health; StateRecorder_RecordPatchByte(&state_recorder, 0x9C2, (uint8 *)&samus_health, 2); - } else if (c == 'q' && 0) { - samus_y_pos -= 32; - samus_y_speed = 0; + } else if (c == 'q') { + samus_y_pos -= 4; + samus_y_speed = -8; StateRecorder_RecordPatchByte(&state_recorder, 0xafa, (uint8 *)&samus_y_pos, 2); StateRecorder_RecordPatchByte(&state_recorder, 0xb2e, (uint8 *)&samus_y_speed, 2); menu_index = 0;