mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2025-01-31 06:57:28 +05:00
Full precision D3D hidden under a define
This commit is contained in:
parent
80242b42f7
commit
43501aa161
1 changed files with 9 additions and 0 deletions
|
@ -3748,6 +3748,15 @@ void Patch_SA_10()
|
||||||
|
|
||||||
// Don't clean the car BEFORE Pay 'n Spray doors close, as it gets cleaned later again anyway!
|
// Don't clean the car BEFORE Pay 'n Spray doors close, as it gets cleaned later again anyway!
|
||||||
Nop( 0x44ACDC, 6 );
|
Nop( 0x44ACDC, 6 );
|
||||||
|
|
||||||
|
|
||||||
|
#if FULL_PRECISION_D3D
|
||||||
|
// Test - full precision D3D device
|
||||||
|
Patch<uint8_t>( 0x7F672B+1, *(uint8_t*)(0x7F672B+1) | D3DCREATE_FPU_PRESERVE );
|
||||||
|
Patch<uint8_t>( 0x7F6751+1, *(uint8_t*)(0x7F6751+1) | D3DCREATE_FPU_PRESERVE );
|
||||||
|
Patch<uint8_t>( 0x7F6755+1, *(uint8_t*)(0x7F6755+1) | D3DCREATE_FPU_PRESERVE );
|
||||||
|
Patch<uint8_t>( 0x7F6759+1, *(uint8_t*)(0x7F6759+1) | D3DCREATE_FPU_PRESERVE );
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void Patch_SA_11()
|
void Patch_SA_11()
|
||||||
|
|
Loading…
Reference in a new issue