Henrik Rydgard
a0cf3b9151
Restore a log statement, #pragma once.
2013-03-07 00:27:00 +01:00
Henrik Rydgard
57d4544ef4
Basic testrunner for Android.
...
Running it as-is reveals that clo and rotrv are broken in ARMJIT.
2013-03-07 00:10:53 +01:00
Unknown W. Brackets
e6375fe84d
Fix initialization problems in sceIo.
...
These were making savestates unstable.
2013-03-03 16:05:05 -08:00
Henrik Rydgård
2211711164
Merge pull request #845 from raven02/master
...
Put PPGeDraw into CalculateFPS() and add enableColorDoubling alias
2013-03-03 00:42:50 -08:00
raven02
b862841dd4
Put PPGeDraw into CalculateFPS() and add enableColorDoubling alias
2013-03-03 15:33:03 +08:00
Unknown W. Brackets
a3f93ed203
Fix some printf size warnings, signed warnings.
2013-03-02 15:34:15 -08:00
Henrik Rydgard
aa06c1452e
Allow mounting VFS directories. Used to provide flash0 from within APK on Android.
2013-02-27 17:41:40 +01:00
Henrik Rydgard
ba0362d817
PGF font support. Mostly an adaptation and cleanup of JPCSP's font system.
2013-02-27 17:41:39 +01:00
raven02
a569fd4a18
Add INFO_LOG for PGD DRM decryption
2013-02-25 23:31:32 +08:00
tpu
25a54edc49
add pgd_close, match with pgd_open
2013-02-24 20:19:54 +08:00
tpu
a4f65624c3
add PGD file support.
2013-02-24 16:28:40 +08:00
Unknown W. Brackets
d8a55756f3
Always return a file descriptor in sceIoOpenAsync.
...
Fixes #646 .
2013-02-10 18:21:25 -08:00
Unknown W. Brackets
5f2ec45203
sceIoDread() should return 1 when there are more.
...
Before it was returning > 1 if there were many more, which the PSP
did not do.
2013-02-09 20:40:06 -08:00
Henrik Rydgård
dd61552364
Merge pull request #623 from unknownbrackets/savestates
...
Fix some file-related savestate issues
2013-02-09 00:18:01 -08:00
Unknown W. Brackets
1759bb8051
Use RemoveFile instead of DeleteFile in fs.
...
Windows defines DeleteFile to DeleteFileA/W, causing confusion.
2013-02-08 10:26:33 -08:00
Unknown W. Brackets
7806f9835a
Correct a missing field from savestates in files.
2013-02-08 07:58:10 -08:00
Unknown W. Brackets
f875e3699f
Handle the emit screenshot headless command.
...
But, it doesn't work. Shouldn't the vram have the graphics?
2013-02-07 22:44:54 -08:00
Unknown W. Brackets
65b32dc31d
Fix an uninitialized return value in sceIoCancel.
2013-01-31 00:02:53 -08:00
Unknown W. Brackets
f6cfeba6ff
Fix some minor warnings.
2013-01-31 00:02:51 -08:00
Claus Østergaard
aa5996d028
File seek beyond file size should not fail
...
This caused Ridge Racer 2 to freeze after a few seconds
2013-01-25 13:13:32 +01:00
Xele02
8e719d4c8c
Log in all build game output. This can help debugging with user log.
2013-01-23 01:20:38 +01:00
Xele02
0633c18438
submodule sync
2013-01-21 01:38:24 +01: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
Unknown W. Brackets
862c88d61a
More warning fixes, switches and printfs, etc.
...
This time ones not reported by Visual Studio.
2013-01-19 18:32:37 -08:00
Unknown W. Brackets
140fd171ef
Fix some 64-bit type conversion warnings.
2013-01-19 13:48:20 -08:00
Unknown W. Brackets
7d0e78b0f0
Revert part of 289b0eb
which broke some games.
...
Although defAction isn't a good solution, removing it outright seems
to break things.
2013-01-18 01:22:48 -08:00
raven02
289b0eb81e
Add/update stubs in sceIo
2013-01-17 20:05:45 +08:00
KentuckyCompass
cd923ed13b
helper function should be static
2013-01-10 16:25:30 -08:00
KentuckyCompass
320c0d06c3
Implement per-thread current directory
2013-01-10 16:18:02 -08:00
Henrik Rydgard
b8eab42add
Add support for a couple of sceIoIoctl commands. Init some vars.
2013-01-06 09:54:43 +01:00
Henrik Rydgard
07dffb530c
Check some addresses - prevent possible crashes.
2013-01-05 23:40:39 +01:00
Arthur Blot
e4ce0592c1
Make previous code cleaner
2013-01-02 19:42:15 +01:00
Arthur Blot
1519600441
Implemented sceKernelLoadModuleByID, better logs
2013-01-02 19:42:15 +01:00
Unknown W. Brackets
62b1fe0fb1
sceIo doesn't have to do emu output, headless can.
2012-12-30 00:00:58 -08:00
Unknown W. Brackets
ade0f4103b
Don't let native's log output spoil tests.
...
Also, log to stderr, makes more sense anyway.
2012-12-29 23:21:56 -08:00
Unknown W. Brackets
0edbcdc955
Fix some missing things / bugs in save states.
2012-12-29 02:56:56 -08:00
Unknown W. Brackets
269a776363
Add a simple devctl to verify the state.
...
Could do more, but this should be useful.
2012-12-28 14:13:34 -08:00
Unknown W. Brackets
042e515037
Warniof the sceIo defAction is used when stating.
...
This is broken anyway so skipping for now.
2012-12-28 13:55:28 -08:00
Unknown W. Brackets
4b39e39455
Start save stating the filesystem state.
...
Plus minor fixes and at least an attempt to make states the same
on both 32 and 64 bit.
2012-12-28 13:55:27 -08:00
Unknown W. Brackets
595759ef78
Implement a factory for kernel objects.
...
Couldn't think of a better way to do this, maybe there's some fancy
one I don't know about.
Also finished up a couple left over kernel objects.
Maybe a quarter the way there?
2012-12-28 13:55:22 -08:00
Unknown W. Brackets
724640d308
Revert rescheduling in sceIoOpen().
...
Broke Orbit and Breakquest, maybe my tests are wrong. Scheduling is hard.
This reverts commit f75f2748b1
.
2012-12-26 02:26:17 -08:00
Unknown W. Brackets
0587104c16
No need to register now, actually.
...
Was using NotifyCallbackType before but that wasn't necessary
anyway, so this is cleaner/better.
2012-12-26 02:17:47 -08:00
Unknown W. Brackets
be779d7f77
Actually run callbacks for async IO.
...
Probably needs to actually be delayed though.
2012-12-26 01:33:43 -08:00
Unknown W. Brackets
8d946a7a3a
Ensure we don't close the wrong fd in async io.
2012-12-26 01:33:43 -08:00
Unknown W. Brackets
a4154dbc17
Clean up a few IO wrappers with deferred HLE.
2012-12-26 01:33:42 -08:00
Unknown W. Brackets
f75f2748b1
Tests show io open also rescheds, async or not.
2012-12-26 01:33:42 -08:00
Unknown W. Brackets
b2ef54e194
Make waiting on async IO reschedule.
2012-12-26 01:33:42 -08:00
Unknown W. Brackets
4b9b23dfb4
Correct arguments in sceIoGetAsyncStat().
2012-12-26 01:33:41 -08:00
Unknown W. Brackets
41db5c46a5
Fix random modules not reseting on shutdown.
2012-12-23 22:52:40 -08:00
Unknown W. Brackets
8188df4c8a
Oops, don't think this belongs here after all.
2012-12-21 17:03:11 -08:00