Join Helbreath
Would you like to react to this message? Create an account in a few clicks or log in to continue.


A site run by veteran gamers with the aim of sharing discussions and content exclusively related to the development of Helbreath and its gameplay.
 
HomeUseful information for Helbreath beginnersPlay, discover, and broadcast your Helbreath moments for free.Statistics overviewSearchMemberlistRulesRegisterLog in

We depend on Ads revenue to keep our site running. Please consider disabling your Ad Blocker so that we can continue to create the content you come to enjoy.
Thank you for your continued cooperation and understanding.


 

 [CODE] FPS Improvement

Go down 
AuthorMessage
sleeq

sleeq

Posts : 22
Since : 2019-09-24

[CODE] FPS Improvement Empty
PostSubject: [CODE] FPS Improvement   [CODE] FPS Improvement 999104/9/2020, 9:12 am

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

Posts : 252
Since : 2014-11-15

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

Thank you brother for sharing. Guess Centuu already implement on the sources.


LifeX

Helbreath Crusade << Click
Back to top Go down
sleeq

sleeq

Posts : 22
Since : 2019-09-24

[CODE] FPS Improvement Empty
PostSubject: Re: [CODE] FPS Improvement   [CODE] FPS Improvement 999104/9/2020, 10:48 pm

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

Posts : 1
Since : 2020-12-01

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

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




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

Back to top Go down
 
[CODE] FPS Improvement
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Join Helbreath :: Open Source / Development Corner :: C++-
Jump to: