This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xvs.1.1 | |
add r2.x, c32.z, -v1.x | |
dph r3.x, v0, c0 | |
dph r3.y, v0, c1 | |
dph r3.z, v0, c2 | |
dph r4.x, v0, c3 | |
dph r4.y, v0, c4 | |
dph r4.z, v0, c5 | |
mul r5.xyz, r3.xyz, v1.x | |
mad r6.xyz, r4.xyz, r2.x, r5.xyz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Windows.h> | |
#include <iostream> | |
// exception handler | |
int EmuException(LPEXCEPTION_POINTERS e) | |
{ | |
// Increment EIP to skip the faulting instruction | |
e->ContextRecord->Eip += 1; | |
return EXCEPTION_CONTINUE_EXECUTION; | |
} |