come on, halo

This commit is contained in:
Aaron Robinson 2003-09-06 02:50:43 +00:00
parent d947df741a
commit d444d51a41
5 changed files with 198 additions and 126 deletions

View File

@ -1329,6 +1329,47 @@ SOOVPA<11> IDirect3DCubeTexture8_LockRect_1_0_3925 =
}
};
// ******************************************************************
// * IDirect3DTexture8_GetSurfaceLevel
// ******************************************************************
SOOVPA<11> IDirect3DTexture8_GetSurfaceLevel_1_0_3925 =
{
0, // Large == 0
11, // Count == 11
-1, // XRef Not Saved
0, // XRef Not Used
{
// IDirect3DTexture8_GetSurfaceLevel+0x08 : lea [esp+0x14]
{ 0x08, 0x8D }, // (Offset,Value)-Pair #1
{ 0x0B, 0x14 }, // (Offset,Value)-Pair #2
// IDirect3DTexture8_GetSurfaceLevel+0x17 : mov edx, [esp+0x24]
{ 0x17, 0x8B }, // (Offset,Value)-Pair #3
{ 0x1A, 0x24 }, // (Offset,Value)-Pair #4
// IDirect3DTexture8_GetSurfaceLevel+0x20 : lea ecx, [esp+0x28]
{ 0x23, 0x28 }, // (Offset,Value)-Pair #4
// IDirect3DTexture8_GetSurfaceLevel+0x24 : push ecx
{ 0x24, 0x51 }, // (Offset,Value)-Pair #6
// IDirect3DTexture8_GetSurfaceLevel+0x25 : push edx
{ 0x25, 0x52 }, // (Offset,Value)-Pair #7
// IDirect3DTexture8_GetSurfaceLevel+0x26 : push 0
{ 0x26, 0x6A }, // (Offset,Value)-Pair #8
// IDirect3DTexture8_GetSurfaceLevel+0x43 : call [abs]
{ 0x43, 0xE8 }, // (Offset,Value)-Pair #9
// IDirect3DTexture8_GetSurfaceLevel+0x4C : retn 0x0C
{ 0x4C, 0xC2 }, // (Offset,Value)-Pair #10
{ 0x4D, 0x0C }, // (Offset,Value)-Pair #11
}
};
// ******************************************************************
// * D3D8_1_0_3925
// ******************************************************************
@ -1714,6 +1755,16 @@ OOVPATable D3D8_1_0_3925[] =
"EmuIDirect3DCubeTexture8_LockRect"
#endif
},
// IDirect3DTexture8::GetSurfaceLevel
{
(OOVPA*)&IDirect3DTexture8_GetSurfaceLevel_1_0_3925,
XTL::EmuIDirect3DTexture8_GetSurfaceLevel,
#ifdef _DEBUG_TRACE
"EmuIDirect3DTexture8_GetSurfaceLevel"
#endif
},
};
// ******************************************************************

View File

@ -1757,47 +1757,6 @@ SOOVPA<10> Get2DSurfaceDesc_1_0_4361 =
}
};
// ******************************************************************
// * IDirect3DTexture8_GetSurfaceLevel
// ******************************************************************
SOOVPA<11> IDirect3DTexture8_GetSurfaceLevel_1_0_4361 =
{
0, // Large == 0
11, // Count == 11
-1, // XRef Not Saved
0, // XRef Not Used
{
// IDirect3DTexture8_GetSurfaceLevel+0x08 : lea [esp+0x14]
{ 0x08, 0x8D }, // (Offset,Value)-Pair #1
{ 0x0B, 0x14 }, // (Offset,Value)-Pair #2
// IDirect3DTexture8_GetSurfaceLevel+0x17 : mov edx, [esp+0x24]
{ 0x17, 0x8B }, // (Offset,Value)-Pair #3
{ 0x1A, 0x24 }, // (Offset,Value)-Pair #4
// IDirect3DTexture8_GetSurfaceLevel+0x20 : lea ecx, [esp+0x28]
{ 0x23, 0x28 }, // (Offset,Value)-Pair #4
// IDirect3DTexture8_GetSurfaceLevel+0x24 : push ecx
{ 0x24, 0x51 }, // (Offset,Value)-Pair #6
// IDirect3DTexture8_GetSurfaceLevel+0x25 : push edx
{ 0x25, 0x52 }, // (Offset,Value)-Pair #7
// IDirect3DTexture8_GetSurfaceLevel+0x26 : push 0
{ 0x26, 0x6A }, // (Offset,Value)-Pair #8
// IDirect3DTexture8_GetSurfaceLevel+0x43 : call [abs]
{ 0x43, 0xE8 }, // (Offset,Value)-Pair #9
// IDirect3DTexture8_GetSurfaceLevel+0x4C : retn 0x0C
{ 0x4C, 0xC2 }, // (Offset,Value)-Pair #10
{ 0x4D, 0x0C }, // (Offset,Value)-Pair #11
}
};
// ******************************************************************
// * D3D8_1_0_4361
// ******************************************************************
@ -2399,16 +2358,6 @@ OOVPATable D3D8_1_0_4361[] =
"EmuIDirect3DBaseTexture8_GetLevelCount"
#endif
},
// IDirect3DTexture8::GetSurfaceLevel
{
(OOVPA*)&IDirect3DTexture8_GetSurfaceLevel_1_0_4361,
XTL::EmuIDirect3DTexture8_GetSurfaceLevel,
#ifdef _DEBUG_TRACE
"EmuIDirect3DTexture8_GetSurfaceLevel"
#endif
},
// IDirect3DTexture8::LockRect (* unchanged since 3925 *)
{
(OOVPA*)&IDirect3DTexture8_LockRect_1_0_3925,
@ -2419,6 +2368,16 @@ OOVPATable D3D8_1_0_4361[] =
"EmuIDirect3DTexture8_LockRect"
#endif
},
// IDirect3DTexture8::GetSurfaceLevel (* unchanged since 3925 *)
{
(OOVPA*)&IDirect3DTexture8_GetSurfaceLevel_1_0_3925,
XTL::EmuIDirect3DTexture8_GetSurfaceLevel,
#ifdef _DEBUG_TRACE
"EmuIDirect3DTexture8_GetSurfaceLevel"
#endif
},
};
// ******************************************************************

View File

@ -32,6 +32,107 @@
// *
// ******************************************************************
// ******************************************************************
// * RtlCreateHeap
// ******************************************************************
SOOVPA<10> RtlCreateHeap_1_0_3911 =
{
0, // Large == 0
10, // Count == 10
-1, // XRef Not Saved
0, // XRef Not Used
{
// RtlCreateHeap+0x13 : push 0x0C
{ 0x13, 0x6A }, // (Offset,Value)-Pair #1
{ 0x14, 0x0C }, // (Offset,Value)-Pair #2
// RtlCreateHeap+0x1B : rep stosd
{ 0x1B, 0xF3 }, // (Offset,Value)-Pair #3
{ 0x1C, 0xAB }, // (Offset,Value)-Pair #4
// RtlCreateHeap+0x4E : retn
{ 0x4E, 0xC3 }, // (Offset,Value)-Pair #5
// RtlCreateHeap+0x8D : jnz +0x08
{ 0x8D, 0x75 }, // (Offset,Value)-Pair #6
{ 0x8E, 0x08 }, // (Offset,Value)-Pair #7
// RtlCreateHeap+0xA4 : cmp [ebp-38h], esi
{ 0xA4, 0x39 }, // (Offset,Value)-Pair #8
{ 0xA5, 0x75 }, // (Offset,Value)-Pair #9
{ 0xA6, 0xC8 }, // (Offset,Value)-Pair #10
}
};
// ******************************************************************
// * RtlAllocateHeap
// ******************************************************************
SOOVPA<11> RtlAllocateHeap_1_0_3911 =
{
0, // Large == 0
11, // Count == 11
-1, // XRef Not Saved
0, // XRef Not Used
{
// RtlAllocateHeap+0x1E : or ecx, [esi+0x18]
{ 0x1E, 0x0B }, // (Offset,Value)-Pair #1
{ 0x1F, 0x4E }, // (Offset,Value)-Pair #2
{ 0x20, 0x18 }, // (Offset,Value)-Pair #3
// RtlAllocateHeap+0x29 : jnz +0x01
{ 0x29, 0x75 }, // (Offset,Value)-Pair #4
{ 0x2A, 0x01 }, // (Offset,Value)-Pair #5
// RtlAllocateHeap+0x2B : inc eax
{ 0x2B, 0x40 }, // (Offset,Value)-Pair #6
// RtlAllocateHeap+0x73 : sub eax, 0x08
{ 0x73, 0x83 }, // (Offset,Value)-Pair #7
{ 0x74, 0xE8 }, // (Offset,Value)-Pair #8
{ 0x75, 0x08 }, // (Offset,Value)-Pair #9
// RtlAllocateHeap+0xA5 : shl edi, cl
{ 0xA5, 0xD3 }, // (Offset,Value)-Pair #10
{ 0xA6, 0xE7 }, // (Offset,Value)-Pair #11
}
};
// ******************************************************************
// * RtlFreeHeap
// ******************************************************************
SOOVPA<10> RtlFreeHeap_1_0_3911 =
{
0, // Large == 0
10, // Count == 10
-1, // XRef Not Saved
0, // XRef Not Used
{
// RtlFreeHeap+0x1F : test ecx, ecx
{ 0x1F, 0x85 }, // (Offset,Value)-Pair #1
{ 0x20, 0xC9 }, // (Offset,Value)-Pair #2
// RtlFreeHeap+0x23 : mov al, 1
{ 0x23, 0xB0 }, // (Offset,Value)-Pair #3
{ 0x24, 0x01 }, // (Offset,Value)-Pair #4
// RtlFreeHeap+0x30 : lea edi, [ecx-0x10]
{ 0x30, 0x8D }, // (Offset,Value)-Pair #5
{ 0x31, 0x79 }, // (Offset,Value)-Pair #6
{ 0x32, 0xF0 }, // (Offset,Value)-Pair #7
// RtlFreeHeap+0x7B : and ecx, 0x10
{ 0x7B, 0x83 }, // (Offset,Value)-Pair #8
{ 0x7C, 0xE1 }, // (Offset,Value)-Pair #9
{ 0x7D, 0x10 }, // (Offset,Value)-Pair #10
}
};
// ******************************************************************
// * XInitDevices
// ******************************************************************
@ -396,6 +497,36 @@ SOOVPA<13> XInputGetState_1_0_3911 =
// ******************************************************************
OOVPATable XAPI_1_0_3911[] =
{
// RtlCreateHeap
{
(OOVPA*)&RtlCreateHeap_1_0_3911,
XTL::EmuRtlCreateHeap,
#ifdef _DEBUG_TRACE
"EmuRtlCreateHeap"
#endif
},
// RtlAllocateHeap
{
(OOVPA*)&RtlAllocateHeap_1_0_3911,
XTL::EmuRtlAllocateHeap,
#ifdef _DEBUG_TRACE
"EmuRtlAllocateHeap"
#endif
},
// RtlFreeHeap
{
(OOVPA*)&RtlFreeHeap_1_0_3911,
XTL::EmuRtlFreeHeap,
#ifdef _DEBUG_TRACE
"EmuRtlFreeHeap"
#endif
},
// XInitDevices
{
(OOVPA*)&XInitDevices_1_0_3911,

View File

@ -32,75 +32,6 @@
// *
// ******************************************************************
// ******************************************************************
// * RtlCreateHeap
// ******************************************************************
SOOVPA<10> RtlCreateHeap_1_0_4361 =
{
0, // Large == 0
10, // Count == 10
-1, // XRef Not Saved
0, // XRef Not Used
{
// RtlCreateHeap+0x13 : push 0x0C
{ 0x13, 0x6A }, // (Offset,Value)-Pair #1
{ 0x14, 0x0C }, // (Offset,Value)-Pair #2
// RtlCreateHeap+0x1B : rep stosd
{ 0x1B, 0xF3 }, // (Offset,Value)-Pair #3
{ 0x1C, 0xAB }, // (Offset,Value)-Pair #4
// RtlCreateHeap+0x4E : retn
{ 0x4E, 0xC3 }, // (Offset,Value)-Pair #5
// RtlCreateHeap+0x8D : jnz +0x08
{ 0x8D, 0x75 }, // (Offset,Value)-Pair #6
{ 0x8E, 0x08 }, // (Offset,Value)-Pair #7
// RtlCreateHeap+0xA4 : cmp [ebp-38h], esi
{ 0xA4, 0x39 }, // (Offset,Value)-Pair #8
{ 0xA5, 0x75 }, // (Offset,Value)-Pair #9
{ 0xA6, 0xC8 }, // (Offset,Value)-Pair #10
}
};
// ******************************************************************
// * RtlAllocateHeap
// ******************************************************************
SOOVPA<11> RtlAllocateHeap_1_0_4361 =
{
0, // Large == 0
11, // Count == 11
-1, // XRef Not Saved
0, // XRef Not Used
{
// RtlAllocateHeap+0x1E : or ecx, [esi+0x18]
{ 0x1E, 0x0B }, // (Offset,Value)-Pair #1
{ 0x1F, 0x4E }, // (Offset,Value)-Pair #2
{ 0x20, 0x18 }, // (Offset,Value)-Pair #3
// RtlAllocateHeap+0x29 : jnz +0x01
{ 0x29, 0x75 }, // (Offset,Value)-Pair #4
{ 0x2A, 0x01 }, // (Offset,Value)-Pair #5
// RtlAllocateHeap+0x2B : inc eax
{ 0x2B, 0x40 }, // (Offset,Value)-Pair #6
// RtlAllocateHeap+0x73 : sub eax, 0x08
{ 0x73, 0x83 }, // (Offset,Value)-Pair #7
{ 0x74, 0xE8 }, // (Offset,Value)-Pair #8
{ 0x75, 0x08 }, // (Offset,Value)-Pair #9
// RtlAllocateHeap+0xA5 : shl edi, cl
{ 0xA5, 0xD3 }, // (Offset,Value)-Pair #10
{ 0xA6, 0xE7 }, // (Offset,Value)-Pair #11
}
};
// ******************************************************************
// * RtlFreeHeap
// ******************************************************************
@ -586,9 +517,9 @@ SOOVPA<10> XapiSetupPerTitleDriveLetters_1_0_4361 =
// ******************************************************************
OOVPATable XAPI_1_0_4361[] =
{
// RtlCreateHeap
// RtlCreateHeap (* unchanged since 3911 *)
{
(OOVPA*)&RtlCreateHeap_1_0_4361,
(OOVPA*)&RtlCreateHeap_1_0_3911,
XTL::EmuRtlCreateHeap,
@ -596,9 +527,9 @@ OOVPATable XAPI_1_0_4361[] =
"EmuRtlCreateHeap"
#endif
},
// RtlAllocateHeap
// RtlAllocateHeap (* unchanged since 3911 *)
{
(OOVPA*)&RtlAllocateHeap_1_0_4361,
(OOVPA*)&RtlAllocateHeap_1_0_3911,
XTL::EmuRtlAllocateHeap,

View File

@ -133,7 +133,7 @@ OOVPATable XAPI_1_0_4627[] =
{
// RtlCreateHeap (* unchanged since 1.0.4361 *) (* OR FARTHER *)
{
(OOVPA*)&RtlCreateHeap_1_0_4361,
(OOVPA*)&RtlCreateHeap_1_0_3911,
XTL::EmuRtlCreateHeap,
@ -143,7 +143,7 @@ OOVPATable XAPI_1_0_4627[] =
},
// RtlAllocateHeap (* unchanged since 1.0.4361 *) (* OR FARTHER *)
{
(OOVPA*)&RtlAllocateHeap_1_0_4361,
(OOVPA*)&RtlAllocateHeap_1_0_3911,
XTL::EmuRtlAllocateHeap,