X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=retrace%2Fd3dcommonretrace.py;h=bef1d0993f1454b361a1c5a679fd5baaa7569cea;hb=e381485454721e6e714784c43df21e8205d3d3ad;hp=75262c2c62a1457db7dbb677d82a8cf7be640c6a;hpb=8512a4b2ec582407bbfe743772af506c4133e34f;p=apitrace diff --git a/retrace/d3dcommonretrace.py b/retrace/d3dcommonretrace.py index 75262c2..bef1d09 100644 --- a/retrace/d3dcommonretrace.py +++ b/retrace/d3dcommonretrace.py @@ -33,14 +33,28 @@ import specs.stdapi as stdapi class D3DRetracer(Retracer): - def retraceModule(self, api): + def retraceApi(self, api): + print ''' +image::Image * +retrace::getSnapshot(void) { + return NULL; +} + + +bool +retrace::dumpState(std::ostream &os) +{ + return false; +} +''' + print '// Swizzling mapping for lock addresses' print 'static std::map _maps;' print self.table_name = 'd3dretrace::d3d_callbacks' - Retracer.retraceModule(self, api) + Retracer.retraceApi(self, api) def invokeFunction(self, function): # create windows as neccessary