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
Unknown W. Brackets
dd497e5a02
Show an error when savedata can't be written.
...
Normally we'll log when the disk is full for files, but if we can't even
create the folder, we'll get errors trying to write into a non-existing
directory.
2014-11-02 13:30:00 -08:00
Sacha
ed96d73187
Use OpenCPPFile for iostream open without the ifdef's.
2014-06-06 00:22:43 +10:00
Ced2911
418d2ac8ce
[xbox] 360 support for common
2014-03-02 12:15:10 -08:00
Henrik Rydgard
d49cffe3f5
Buildfix
2014-02-15 20:14:40 +01:00
chinhodado
f02ea25ea6
fix the "No disk" dialog when starting up ppsspp
2014-02-15 14:01:47 -05:00
Henrik Rydgard
32f479b0a6
Assorted log spam reductions.
...
Also let Java know of some important events. Not used for anything yet.
2013-12-04 17:43:00 +01:00
Henrik Rydgård
a45d50bcd2
MacOSX buildfix
2013-11-18 14:05:56 +01:00
Unknown W. Brackets
fa7467f03d
Try to find the flash0 directory in headless.
2013-11-17 10:15:49 -08:00
Sacha
8de3d882a1
Buildfix for Qt, Qt5, Windows on Qt.
2013-10-19 05:22:32 +10:00
The Dax
c955e07712
Clean up FileUtil.h. Remove GetBundleDirectory(I searched master and nothing uses it either).
2013-10-18 10:35:28 -04:00
The Dax
26e17e0e7f
Disable default logging(--log still works fine), delete CommonPaths.h, and remove unused funcs in FileUtil.
2013-10-18 10:35:28 -04:00
The Dax
54de8739f1
Fix critical bug with GetSysDirectories.
2013-10-13 19:30:07 -04:00
adrian17
58d8bc86c5
Removed two functions as they are also in Native/file.
...
Also, removed TabsToSpaces() from the header as it no longer exists.
2013-09-28 23:05:36 +02:00
adrian17
6fc2ad56a4
Cleaned up CommonPaths some more and removed BuildCompleteFilename()
2013-09-28 00:21:44 +02:00
adrian17
5f86bc44d4
Deleted some doubled #includes.
2013-09-27 21:38:07 +02:00
The Dax
1350236f4f
Win32: Update some funcs in FileUtil.cpp for Unicode.
2013-08-28 10:28:25 -04:00
Unknown W. Brackets
8ccd3773d9
Open files using wide functions on win32.
...
Fixes #3432 .
2013-08-27 00:28:46 -07:00
Henrik Rydgard
55aa3d13c7
Win32: Switch to a UNICODE build. This took quite a bit of fixing.
2013-08-26 19:00:16 +02:00
Unknown W. Brackets
7b7801d59a
Switch to including Windows.h from an intermediate.
...
This makes it easier for Xbox which uses a separate header.
2013-07-28 21:04:19 -07:00
Unknown W. Brackets
a9e7a9ce3d
Improve performance of File::GetSize().
2013-07-28 13:16:03 -07:00
Unknown W. Brackets
fa7182ec34
Consider F:\ a valid recent iso.
...
File::Exists didn't like it, since it turned it into "F:".
2013-07-28 12:33:21 -07:00
Sacha
77586e678c
Correct permissions on Blackberry.
...
The settings I originally tested it with and found to be working. Sorry for changing it.
2013-05-16 23:11:58 +10:00
Sacha
4e75840d81
Fix permissions on Blackberry.
...
Currently only the app can modify/delete important data like saves in PSP folder.
On Blackberry, the app is the user account (app_10283782). The currently logged in user is the group (shared_1000). Then other will be all users on the system.
So let's make it that the user can modify their own data.
2013-05-16 13:54:15 +10:00
Sacha
2396574f45
Avoid name collision with StringUtil on Windows hosts. Fixes all Linux/Unix cross-compiles from Windows, including Harmattan and Blackberry.
2013-05-03 16:22:15 +10:00