fix: use correct vfuncs

This commit is contained in:
Anna 2022-05-12 22:32:01 -04:00
parent ff355b1fbd
commit 4ad48da7b9
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0

View File

@ -185,10 +185,10 @@ internal sealed unsafe class Chat : IDisposable {
*(int*) (uiModule + this._linkshellCycleOffset.Value) = -1; *(int*) (uiModule + this._linkshellCycleOffset.Value) = -1;
} }
return RotateLinkshellHistoryInternal(189, mode); return RotateLinkshellHistoryInternal(201, mode);
} }
internal ulong RotateCrossLinkshellHistory(RotateMode mode) => RotateLinkshellHistoryInternal(191, mode); internal ulong RotateCrossLinkshellHistory(RotateMode mode) => RotateLinkshellHistoryInternal(203, mode);
private static ulong RotateLinkshellHistoryInternal(int vfunc, RotateMode mode) { private static ulong RotateLinkshellHistoryInternal(int vfunc, RotateMode mode) {
var idx = mode switch { var idx = mode switch {