Commit Graph

42 Commits

Author SHA1 Message Date
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
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
Xele02
63b0b61232 Change filesystem for mounted memory card
Clean some code and comment
2012-12-09 16:59:07 +01:00
Diogo Franco (Kovensky)
6108e36ae9 Several fixes to build under stricter C++11
Add missing #include to various files.

strings.h isn't provided by MSVC so we don't include it there; it's needed
for other OSes/compilers.

Get rid of pre-ISO-C malloc.h includes; malloc is provided by stdlib.h.

Fixes some linuxisms.

Prepend __builtin_ to __clear_cache, calling it without the prefix is a
GNU extension.
2012-11-21 14:33:50 -03:00
Sacha
4aed48d29f Fix for file UI on Blackberry 2012-11-15 01:40:44 +10:00
Henrik Rydgard
64cc573703 Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK. 2012-11-04 23:24:00 +01:00
Henrik Rydgard
4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00