HomeUseful information for Helbreath beginnersStatistics overviewSearchMemberlistGalleryRulesRegisterLog in

 

 [CODE] FPS Improvement

Go down 
3 posters
AuthorMessage
sleeq


sleeq

Silver 4
Earned by having 12 posts & comments.

Likes : 2

[CODE] FPS Improvement Empty
#1PostSubject: [CODE] FPS Improvement   [CODE] FPS Improvement 999104/9/2020, 12:12 pm

Creates DDraw in emulation mode (Forces HEL)

DXC_ddraw.cpp (Client)

Find in DXC_ddraw::bInit(HWND hWnd)
Code:
ddVal = DirectDrawCreateEx(NULL, (VOID**)&m_lpDD4, IID_IDirectDraw7, NULL);

Replace with this
Code:
ddVal = DirectDrawCreateEx((GUID*)DDCREATE_EMULATIONONLY, (VOID**)&m_lpDD4, IID_IDirectDraw7, NULL); // sleeq - creates ddraw in emulation mode (forces HEL)



This has proven to improve fps on Windows 7 and 10.
Back to top Go down
LifeX


LifeX

Diamond 1
Earned by having 144 posts & comments.
Civilian
Granted to members for high engagement.
Great Mentor
Granted to veteran members who exhibit helpful and sportsmanlike behavior.
Moderator
Earned by becoming a board moderator.

Likes : 26

[CODE] FPS Improvement Empty
#2PostSubject: Re: [CODE] FPS Improvement   [CODE] FPS Improvement 999104/9/2020, 4:33 pm

Thank you brother for sharing. Guess Centuu already implement on the sources.
Back to top Go down
sleeq


sleeq

Silver 4
Earned by having 12 posts & comments.

Likes : 2

[CODE] FPS Improvement Empty
#3PostSubject: Re: [CODE] FPS Improvement   [CODE] FPS Improvement 999104/10/2020, 1:48 am

You're welcome mate. Stay tune for a few more fps tweaks I am working on. There is not much to do in ddraw.cpp.
Back to top Go down
melvin93


melvin93

Silver
Earned after your first post and comment.

Likes : 0

[CODE] FPS Improvement Empty
#4PostSubject: Re: [CODE] FPS Improvement   [CODE] FPS Improvement 9991012/1/2020, 4:56 am

how is this procedure ?
Back to top Go down
Sponsored content






[CODE] FPS Improvement Empty
#5PostSubject: Re: [CODE] FPS Improvement   [CODE] FPS Improvement 99910

Back to top Go down
 
[CODE] FPS Improvement
Back to top 
Page 1 of 1
 Similar topics
-
» Get IP code
» [CODE] MP,HP,SP, EN COLORES
» [CODE] /dkset
» [CODE] Admins on-line
» [CODE] New Status

Permissions in this forum:You cannot reply to topics in this forum
Join Helbreath :: Development :: Code Posting-
Jump to: