AshitaXI / Ashita

Issue tracker and wiki for the Ashita project.
https://ashitaxi.com/
7 stars 1 forks source link

[BUG] IDirect3DDevice8:CreatePixelShader Does not work #39

Closed Jyouya closed 1 year ago

Jyouya commented 1 year ago

Ashita Version (Type /ashita in-game to get this.) 4.0.0.6

FFXI Version (Type /version in-game to get this.) unknown

Windows Version (ie. Start > About Your PC) 19044.2846

Describe The Bug The function IDirect3DDevice8:CreatePixelShader() does not work. It is not passing the handle outarg to the C function.

Additional Information Line 604 of idirect3ddevice8.lua should be changed from

local res       = self.lpVtbl.CreatePixelShader(self, pFunction);

to

local res       = self.lpVtbl.CreatePixelShader(self, pFunction, handle);
atom0s commented 1 year ago

Thanks for the report, will fix this when I have the time in the near future.

atom0s commented 1 year ago

This is now fixed in the latest beta repo updates.