Commit graph

796 commits

Author SHA1 Message Date
Henrik Rydgard
a842c46208 Some operations were doing things in 16-byte blocks. Adjust some buffer sizes to allow for this. Also remove a global. 2013-01-03 22:54:40 +01:00
Arthur Blot
decbf9da81 Fixed interpreter 2013-01-03 17:01:12 +01:00
Arthur Blot
be91ad2f9c Fixed $zr being non-zero after loading instruction 2013-01-03 16:14:45 +01:00
Arthur Blot
3847ea46a8 Better output for faked modules 2013-01-03 16:14:45 +01:00
Henrik Rydgard
59e52f4e5a Make MsgDialog not put text outside the screen. 2013-01-03 14:02:35 +01:00
Henrik Rydgard
6b64554e64 Fix savestates under JIT 2013-01-03 12:46:10 +01:00
Henrik Rydgard
98fd202730 Constify a couple of globals 2013-01-03 12:05:16 +01:00
Unknown W. Brackets
65ddd4d731 Fix --state not loading a savestate on startup.
Was scheduling some random event instead after 883f61e3dd.
2013-01-02 14:28:49 -08:00
Henrik Rydgard
19b8ff5331 Use snappy to compress savestates. This is a bit of a hackjob sorry, will clean after 0.5. 2013-01-02 22:13:29 +01:00
TMaul
dba01cb78e Re tabify 2013-01-02 20:33:12 +00:00
TMaul
399b8fb15d And remove scesuppreacc from the makefiles as well 2013-01-02 20:30:02 +00:00
TMaul
1210efa51a Fix mess in sceFont 2013-01-02 20:28:12 +00:00
TMaul
6b689bdf8d Remove scesupPreAcc
It's not really needed and is just going to get in the way...
2013-01-02 20:28:12 +00:00
TMaul
f956044d6c messing with the font init
Still can't see why it never renders...
2013-01-02 20:28:12 +00:00
Henrik Rydgard
363f158a0a Just warning fixes 2013-01-02 21:13:21 +01:00
Henrik Rydgard
883f61e3dd Savestates: Add quicksave/quickload. Add Android UI for savestates. All single slot for now. 2013-01-02 21:05:02 +01:00
Henrik Rydgard
972e4ea4e4 Warning fixes, prevent a possible (but unlikely) crash 2013-01-02 21:05:00 +01:00
Henrik Rydgård
93d3b033f6 Merge pull request #307 from artart78/master
Implemented sceKernelLoadModuleByID, better logs
2013-01-02 10:44:48 -08:00
Arthur Blot
e4ce0592c1 Make previous code cleaner 2013-01-02 19:42:15 +01:00
Arthur Blot
c2851467e5 No more useless errors/warnings at all! 2013-01-02 19:42:15 +01:00
Arthur Blot
73de0e9494 Consider blacklisted modules as fake 2013-01-02 19:42:15 +01:00
Arthur Blot
1519600441 Implemented sceKernelLoadModuleByID, better logs 2013-01-02 19:42:15 +01:00
Henrik Rydgard
d657fc9fa2 Disable clearing all the GPU's cache on sceKernelCacheWritebackAll, the performance penalty was too big. 2013-01-02 13:50:52 +01:00
Henrik Rydgård
6717359270 Merge pull request #310 from unknownbrackets/libc
Libc memcpy/etc. fixes
2013-01-02 01:56:05 -08:00
Henrik Rydgård
f8f691be78 Merge pull request #311 from unknownbrackets/more-dcache
Do more cache invalidation, fix return values
2013-01-02 01:55:17 -08:00
Henrik Rydgård
209c0d6f84 Merge pull request #308 from unknownbrackets/save-fix
Fix a crash when SAVEDATA_FILE_LIST is invalid
2013-01-02 01:54:58 -08:00
Unknown W. Brackets
5d892e005d Let ParamSFO always own its pointers. 2013-01-02 01:37:03 -08:00
Unknown W. Brackets
1c156784b6 Be more deterministic about the time.
This way, if a state is loaded, the game doesn't know.
Also, if the host is slow/sped up, it won't get out of sync.
2013-01-02 01:09:44 -08:00
Unknown W. Brackets
5bd059a128 Do more cache invalidation, fix return values. 2013-01-02 00:54:23 -08:00
Unknown W. Brackets
4a713309a3 Make some libc-like funcs behave more like hw. 2013-01-02 00:35:31 -08:00
Unknown W. Brackets
62b8b9af75 Fix sceKernelLibcTime() when time_t is 64 bit. 2013-01-01 21:27:18 -08:00
Unknown W. Brackets
f36a4b3a12 Fix a crash when SAVEDATA_FILE_LIST is invalid.
I think that's what caused this anyway.
2013-01-01 19:46:53 -08:00
Henrik Rydgård
4a44072641 Merge pull request #299 from raven02/sdk-fix
Add sceKernelSetCompiledSdkVersion401_402 (suggested by Xele02) and wrap...
2013-01-01 04:09:30 -08:00
Henrik Rydgård
a0c5253af1 Merge pull request #301 from Xele02/master
Save / MsgDialog Update
2013-01-01 04:08:54 -08:00
Henrik Rydgård
5d34aad219 Merge pull request #303 from unknownbrackets/font-fix
Fix fake sceFontGetCharGlyphImage() overflowing
2013-01-01 04:03:37 -08:00
Unknown W. Brackets
305c41c932 Prevent duplicate waiting threads in sema/mutex.
If something did a tight loop of a short wait/timeout, it might end
up getting on the waitingThreads list multiple times.

Eventually this caused a massive performance problem.
2012-12-31 23:23:52 -08:00
Unknown W. Brackets
daa31bb02d Fix fake sceFontGetCharGlyphImage() overflowing. 2012-12-31 21:46:41 -08:00
raven02
8cb87924b3 Add sceKernelSetCompiledSdkVersion401_402 (suggested by Xele02) and wrapped two unload moudles 2013-01-01 09:20:01 +08:00
Xele02
9b92ff3a1f Add missing dialog display
Add Error Log when an Message Dialog Option is not coded
2013-01-01 01:19:33 +01:00
Xele02
cd8ba8495d Update mode 8
Add mode 12, 13, 17, 22
2013-01-01 01:19:33 +01:00
Unknown W. Brackets
ca4c767d38 Fix mistake from savestates breaking saving.
Clear after, not first.  Was killing the count.
2012-12-31 15:39:49 -08:00
Henrik Rydgård
cff6d155f1 Add a null check. Make vtimer log ERROR until it works. 2012-12-31 12:18:53 +01:00
raven02
4a00bbbc33 Add sceKernelSetCompiledSdkVersion500_505/507 2012-12-31 17:12:14 +08:00
Henrik Rydgård
1ea34bb6e8 Stub out all of VTimer. 2012-12-30 21:30:33 +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
03d9157d26 Draw offscreen in headless (Windows only.) 2012-12-29 23:21:55 -08:00
Unknown W. Brackets
7bd16a7f97 Add warnings when GE callbacks are misused. 2012-12-29 15:55:05 -08:00
Unknown W. Brackets
97bdaf5dd2 Add support for selecting the GE callback per list.
Not sure if interrupts are right, but this should be more right.
2012-12-29 15:55:05 -08:00
Unknown W. Brackets
2ed0902ae2 Cleanup sceGe stubs and void return values. 2012-12-29 15:43:17 -08:00