1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-24 10:54:16 +00:00

Fix playback slot

This commit is contained in:
jugeeya 2023-08-05 03:05:38 -07:00 committed by GitHub
parent a2333da8cd
commit d15099dcf6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -316,8 +316,7 @@ pub unsafe fn playback(slot: usize) {
);
CURRENT_PLAYBACK_SLOT = slot;
CURRENT_FRAME_LENGTH = P1_FRAME_LENGTH_MAPPING.lock()[CURRENT_RECORD_SLOT];
CURRENT_FRAME_LENGTH = P1_FRAME_LENGTH_MAPPING.lock()[CURRENT_PLAYBACK_SLOT];
INPUT_RECORD = Playback;
POSSESSION = Player;
INPUT_RECORD_FRAME = 0;
@ -350,6 +349,8 @@ pub unsafe fn playback_ledge(slot: usize) {
);
CURRENT_PLAYBACK_SLOT = slot;
CURRENT_FRAME_LENGTH = P1_FRAME_LENGTH_MAPPING.lock()[CURRENT_PLAYBACK_SLOT];
INPUT_RECORD = Playback;
POSSESSION = Player;