summaryrefslogtreecommitdiffstats
path: root/loader/win32.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-27 16:17:29 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-27 16:17:29 +0000
commit8a0d93d89e70ba12a393276d9652e821e830f9fd (patch)
tree7d83bfbbb3e038bea267fa8277a0f6a89918e5d1 /loader/win32.c
parentc846ef4a98c60654062e1d183e0ec0c04d70cf19 (diff)
downloadmpv-8a0d93d89e70ba12a393276d9652e821e830f9fd.tar.bz2
mpv-8a0d93d89e70ba12a393276d9652e821e830f9fd.tar.xz
Remove unused unk_exp1 loader asm code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21329 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/win32.c')
-rw-r--r--loader/win32.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/loader/win32.c b/loader/win32.c
index 183b9db2c8..58086ea53d 100644
--- a/loader/win32.c
+++ b/loader/win32.c
@@ -5316,7 +5316,6 @@ static void ext_stubs(void)
//static void add_stub(int pos)
-extern int unk_exp1;
static int pos=0;
static char extcode[20000];// place for 200 unresolved exports
static const char* called_unk = "Called unk_%s\n";
@@ -5325,11 +5324,6 @@ static void* add_stub(void)
{
// generated code in runtime!
char* answ = (char*)extcode+pos*0x30;
-#if 0
- memcpy(answ, &unk_exp1, 0x64);
- *(int*)(answ+9)=pos;
- *(int*)(answ+47)-=((int)answ-(int)&unk_exp1);
-#endif
memcpy(answ, ext_stubs, 0x2f); // 0x2c is current size
//answ[4] = 0xb8; // movl $0, eax (0xb8 0x00000000)
*((int*) (answ + 5)) = pos;