8 Commits

Author SHA1 Message Date
Michał Janiszewski
2af5adca3d Use simpler version of GetModuleFileNameW
As per
https://msdn.microsoft.com/en-us/library/windows/desktop/ms683198(v=vs.85).aspx,
the advised use for getting the file name of a module from `<current
process>` is to use the simplified version. Additionally, this clears
the confusion introduced in Win7's PSAPI which moved
`GetModuleFileNameExW` into the kernel, changing its signature to
`K32GetModuleFileNameExW`, effectively breaking pre-Win7 uses unless
actively mitigated with `#define PSAPI_VERSION 1`
2017-11-29 08:08:47 -08:00
Michał Janiszewski
cfd6470946 Add a comment explaining WINVER macros for MinGW 2017-11-15 08:20:48 -08:00
Michał Janiszewski
f22f299330 Fix mingw builds 2017-11-15 08:20:48 -08:00
Chris Marsh
2f54e62c23 fix include order 2017-11-10 13:14:00 -08:00
Ivan Molodetskikh
c5d70514ac Use steam://rungameid/ 2017-11-10 09:59:51 -08:00
Ivan Molodetskikh
57316cbaee clang-format I suppose 2017-11-10 09:59:51 -08:00
Chris Marsh
6fa00223ad Enable all warnings, turn the noisy ones back off, fix the others. 2017-10-12 15:39:31 -07:00
Chris Marsh
a5a56bcf68 Also do registering on OSX and Linux. 2017-09-14 08:59:32 -07:00