project-navigation
Personal tools

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Berserker

Pages: [1]
1
Feature Requests / Sluggish FPS on WinXP
« on: August 15, 2007, 04:48:09 am »
I'm not test Vista, may be this OS have not this bug.
I have Windows XP SP2 + standart tweaks for dual core CPU

2
Feature Requests / Sluggish FPS on WinXP
« on: August 14, 2007, 01:25:55 pm »
Quote from: "JPC28"
Problem solved! Switching to just 1 cpu solved the problem, game runs smoothly now. Must be a problem with dual core cpu's.

Windows Task Manager >Processes > right click UFO.exe click on set affinity and uncheck one of the cpu's. the game should run fine now :)

For automatic select CPU core, use this code:
SetThreadAffinityMask(GetCurrentThread(), mask);
For example:
mask=1 - use core #0
mask=2 - use core #1
mask=3 - use cores #0 and #1
For default I recomended :
SetThreadAffinityMask(GetCurrentThread(), 1);

More simple way to solve this problem:
SetPriorityClass (GetCurrentProcess(), HIGH_PRIORITY_CLASS);
or
SetPriorityClass (GetCurrentProcess(), REALTIME_PRIORITY_CLASS);

Regards
Berserker

Pages: [1]