Commit Graph
91 Commits
Author SHA1 Message Date
Henrik Rydgård 5e976ff842 Buildfixes 2020-09-29 19:33:18 +02:00
Henrik Rydgård 11ab77b995 Remove some TLS. 2020-09-29 15:51:51 +02:00
Unknown W. Brackets 667a8522cc Global: Cut down on file/string includes. 2020-08-10 08:03:44 +00:00
Unknown W. Brackets 46464d2722 Windows: Resolve module/full paths for long paths. 2020-01-04 09:02:10 -08:00
Unknown W. Brackets 78571b8e37 http: Don't treat http:// as a relative path. 2019-10-06 08:30:39 -07:00
Antx64 c398da48ac Fixes delete button for downloaded games from homebrew store in UWP 2019-08-19 23:37:14 -04:00
Silent abdf685ac9 Simplify openIniFile to use ShellExecute so .ini files get opened in an associated text editor
This is safe, because by default .ini files are associated with Notepad
2019-08-15 16:25:16 +02:00
Unknown W. Brackets 816abce8fc Windows: Fix some warnings.
Also one in armjit.
2019-06-02 09:30:38 -07:00
Unknown W. Brackets d533c3c08e Windows: Add ResolvePath fallback if symlink fails.
Seeing this on some of my paths, which started creating duplicate recent
entries because the fallback path did no normalization at all.
2019-05-26 18:32:42 -07:00
Henrik Rydgård bd71af24db Fix some minor things found looking at Valgrind output 2019-02-27 13:42:00 +01:00
Henrik Rydgård cb25354dce Better place for CloseHandle 2019-02-25 21:48:56 +01:00
Henrik Rydgård ff2c540e51 Found the handle leak! Doh. 2019-02-25 21:35:56 +01:00
Henrik Rydgard add5e3c1fa DeleteDirRecursively: Don't leak the find handle on failure (win32)
Don't close invalid handles.
2019-01-25 20:18:53 +01:00
Henrik Rydgård b572dc52a5 Remove usage of deprecated function readdir_r (and ugly Blackberry hack diren_large) 2019-01-08 12:29:59 +01:00
pent0 4a53853f79 Update UWP port 2018-12-10 20:55:07 +07:00
Unknown W. Brackets 2201c65b00 Core: Fix spurious error on Linux/Unix paths.
CreateFullPath with an absolute path would try to create ''.
2018-11-17 08:55:00 -08:00
Unknown W. Brackets 9351146a28 x86: Use OS to detect core count.
On Windows and Linux, at least.  This should be more reliable than what we
used before.
2018-09-13 19:51:47 -07:00
Unknown W. Brackets d715ed8fba Core: More consistently use directory constants. 2018-09-02 10:27:11 -07:00
Unknown W. Brackets e9bc6b159d UI: Use a larger buffer for realpath().
Hopefully will prevent crashes on Mac.
2018-08-26 11:38:19 -07:00
Unknown W. Brackets 8a154dab70 Windows: Correctly buildfix Windows XP.
Should run properly now - dumb mistake.
2018-08-18 10:22:55 -07:00
Unknown W. Brackets a2530be18d Io: Fallback to long/full path on Windows XP. 2018-08-13 07:32:53 -07:00
Unknown W. Brackets 048afb6d24 UI: Resolve symlinks when adding things to recent.
See #11131.  This also normalizes paths, captialization, etc. as
necessary.
2018-08-12 08:25:10 -07:00
Henrik Rydgård eb73cc23cd Some log level changes. 2018-02-26 10:48:29 +01:00
Henrik Rydgård e488227398 Just some log cleanup 2017-12-15 16:33:49 +01:00
Jan Beich 7a16cff6de Common: implement GetExeDirectory on NetBSD 2017-11-24 14:46:07 +00:00
Henrik Rydgård 22e65ba80d Get rid of ugly alignment macros and some other cruft, we now have alignas(16) from C++11 2017-08-31 01:14:51 +02:00
twinaphex db404adb95 More mingw patches 2017-08-29 22:24:20 +02:00
Henrik Rydgård e6e96c0d89 Fix build with NDK 15. This does force us to make do with 32-bit file sizes... 2017-07-03 16:25:12 +02:00
Henrik Rydgård 7da5dfcdd7 Don't use stat64 unless we need to 2017-07-03 16:14:41 +02:00
Henrik Rydgard ff2b6b3fca Assorted cleanup, UWP memory map fixes. PSPFlower runs in both 32-bit and 64-bit. 2017-03-23 10:02:28 +01:00
Henrik Rydgard 03dab0fdbd More UWP prep 2017-02-25 09:57:22 +01:00
Henrik Rydgard fcbc20f240 Small changes to make Common and Core build under my preliminary UWP setup. 2017-02-24 18:59:41 +01:00
Henrik Rydgard 5df4bac6d2 Delete some left behind unused code 2017-01-25 10:05:39 +01:00
Florent Castelli 4145b60a0e symbian: Remove! 2016-10-11 18:49:08 +02:00
Florent Castelli 373db56a16 blackberry: Remove! 2016-10-11 17:40:32 +02:00
LunaMoo 24fd336e60 Create openIniFile function in FileUtil to avoid duplicates
+ correction
2016-06-22 05:55:45 +02:00
Henrik Rydgard 3ba911bf07 Replace some calls to fopen with File::OpenCFile (utf8). 2016-01-17 15:59:20 +01:00
Henrik Rydgard 8996f58693 Generate save state IDs for homebrew using the elf or directory name where applicable. 2015-09-25 19:27:40 +02:00
Henrik Rydgard 6fcbfabdd2 Rename fields to avoid some gross #define hack that linux is doing 2015-09-23 12:10:23 +02:00
Henrik Rydgard 77e9ea38aa Get rid of remaining uses of stat() on Windows 2015-09-23 11:34:22 +02:00
Henrik Rydgard 51a5adfff2 More buildfixes 2015-09-23 10:59:12 +02:00
Henrik Rydgard 58d3137b10 Get rid of a bunch of more uses of stat64 on Windows. 2015-09-23 09:48:55 +02:00
Henrik Rydgard 0084b2ac30 Simplify FileUtil::Exists. Minor cleanups.
Might possibly help #7967 (XP) by avoiding _wstat64? That would be a libc bug though.
2015-09-22 22:50:29 +02:00
Henrik Rydgard 351baa101c Some Android warning fixes 2015-09-22 18:30:57 +02:00
Henrik Rydgard 3232e46c36 Make debug build nearly warning free in MSVC 2015 2015-09-17 22:02:15 +02:00
Jan Beich d0c5c1e659 Common: also use sysctl(3) code on GNU/kFreeBSD 2015-05-26 14:11:23 +00:00
Jan Beich 9887244759 Common: implement GetExeDirectory on some BSDs 2015-05-26 15:20:12 +03:00
Henrik Rydgard 55c5215881 Add error checking when getting the modification time of a file 2015-02-01 19:54:07 +01:00
Unknown W. Brackets 1ec19310cd Fix a Symbian compile issue. 2014-12-28 20:54:29 -08:00
Unknown W. Brackets a581720a59 Correct File::Rename() with Unicode paths.
Fixes savestates in e.g. Chinese folder paths, #7235.
2014-12-28 20:05:07 -08:00