Commit Graph
55 Commits
Author SHA1 Message Date
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
Ced2911andUnknown W. Brackets 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
Lioncash b897309eaf Fix some resource leaks/memory leaks. 2013-01-25 13:00:50 -05:00
Xele02 3825df5c6a Improve sceIo to pass io autotest.
io/io, io/cwd, io/directory ok
io/file still have a file mode fail
2013-01-21 01:25:48 +01:00
TMaul 515b9f5c05 Random bits of cleanup 2012-12-27 20:42:19 +00:00
Sacha f7878c8351 Get Symbian running again 2012-12-24 03:19:52 +10:00
Henrik Rydgard 213320607c Upgrade pspautotests, misc 2012-12-17 18:07:25 +01:00
Xele02 71839414ca Fix Android build cast error
Remove gl command for texture 2d
2012-12-16 13:07:11 +01:00
Xele02 6eef9a1d1e Add localtime_r function which is not existing in Windows 2012-12-15 12:59:31 +01:00
Xele02 e785662747 Read PARAM.SFO for display save info
Display save modification date and time
2012-12-14 23:08:56 +01:00
Henrik Rydgård dd54e3979e Buildfix 2012-12-13 10:49:51 +07:00
Sacha a1781b854a Symbian support for project.
New UNUSABLE_MMAP code path for platforms that cannot use the required flags (Xbox 360, Symbian). Falls back to malloc() instead.
N1 define for compilers (GCCE) that don't like to assume (int)-1 will safely cast to (char)-1.
Miscellaneous space->tab fixes.
2012-12-13 13:15:20 +10:00
Unknown W. Brackets ec72abe8c9 Get rid of warnings creating MemStick, etc. 2012-12-10 22:57:22 -08:00
Unknown W. Brackets 3ae4acc7d6 Handle both \ and / on Windows paths. 2012-12-10 22:55:56 -08:00