From 298842bd615bed1fce14799902bf61460fc713ab Mon Sep 17 00:00:00 2001 From: CrazyRedMachine Date: Sat, 20 Apr 2024 15:17:22 +0200 Subject: [PATCH] wip, event function copy works --- popnhax/custom_categs.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/popnhax/custom_categs.cc b/popnhax/custom_categs.cc index ce0a824..5889d41 100644 --- a/popnhax/custom_categs.cc +++ b/popnhax/custom_categs.cc @@ -85,7 +85,7 @@ void categ_inject_songlist_reimpl() __asm("push eax\n"); __asm("lea eax, dword ptr [esp+0x24]\n"); __asm("mov dword ptr fs:[0], eax\n"); - __asm("lea ebp, dword ptr [esp+0x34]\n"); + __asm("mov ebp, dword ptr [esp+0x34]\n"); __asm("xor ebx, ebx\n"); __asm("mov dword ptr ss:[esp+0x34], ebx\n"); __asm("subcateg_loop:\n");