Skip to content

Commit

Permalink
prepped for 2.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkite committed May 28, 2016
1 parent 00339d6 commit 2ba2464
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions chunkcache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ uint qHash(const ChunkID &c) {
}

ChunkCache::ChunkCache() {
size_t chunks = 10000; // 10% more than 1920x1200 blocks
int chunks = 10000; // 10% more than 1920x1200 blocks
#if defined(__unix__) || defined(__unix) || defined(unix)
auto pages = sysconf(_SC_AVPHYS_PAGES);
auto page_size = sysconf(_SC_PAGE_SIZE);
Expand All @@ -29,7 +29,7 @@ ChunkCache::ChunkCache() {
MEMORYSTATUSEX status;
status.dwLength = sizeof(status);
GlobalMemoryStatusEx(&status);
DWORDLONG available = qmin(status.ullAvailPhys, status.ullAvailVirtual);
DWORDLONG available = qMin(status.ullAvailPhys, status.ullAvailVirtual);
chunks = available / (sizeof(Chunk) + 16 * sizeof(ChunkSection));
#endif
cache.setMaxCost(chunks);
Expand Down
2 changes: 1 addition & 1 deletion minutor.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<DirectoryRef Id="INSTALLDIR">
<Component Id="minutor.exe" Guid="670f74ff-eb96-4003-828a-2f24e5a42539">
<File Id="minutor.exe" Source="Release\Minutor.exe" KeyPath="yes" Checksum="yes">
<File Id="minutor.exe" Source="minutor.exe" KeyPath="yes" Checksum="yes">
<Shortcut Id="ApplicationShortcut" Directory="ApplicationProgramsFolder" Advertise="yes" Name="Minutor"
WorkingDirectory="INSTALLDIR" Icon="icon.exe">
<Icon Id="icon.exe" SourceFile="icon.ico" />
Expand Down

0 comments on commit 2ba2464

Please sign in to comment.