Commit Graph
14759 Commits
Author SHA1 Message Date
Henrik Rydgård 2e65e0ca37 Merge pull request #638 from vakkov/e2a80952936ee82e1d97ed7f54f380be830832fd
Implement some font stuff
2013-02-10 04:23:34 -08:00
Henrik Rydgard 78923f5538 Jit a little more (vfpu single load/store, transfer instructions) 2013-02-10 12:14:55 +01:00
Henrik Rydgård 8144715e0b Merge pull request #637 from unknownbrackets/dlist2
Minimal fix to the GE-related interrupt changes
2013-02-10 02:11:36 -08:00
Henrik Rydgård 077e9297c7 Merge pull request #634 from unknownbrackets/thread-funcs
Implement sceKernelRotateThreadQueue() + queue fixes
2013-02-10 02:11:06 -08:00
Unknown W. Brackets 430139b12a Minimal revert of the GE-related interrupt changes.
Keep most of them, just revert using getList() which isn't cutting it
right now.  Fixes #595.
2013-02-10 02:03:02 -08:00
Henrik Rydgård 2a305a9288 Merge pull request #636 from unknownbrackets/jit-minor
Fix slowmem check and add jump check
2013-02-09 23:53:22 -08:00
Unknown W. Brackets eb84c2f00a Validate jumps in jit slowmem mode.
This makes it easier to see what is going on in the emulator debugger.
2013-02-09 23:11:26 -08:00
Unknown W. Brackets 71c85ccf33 In jit slowmem, verify actual address.
Oops, it could crash if it was near the boundary.
Well, it still could if it were very near, but that's rare.
2013-02-09 23:08:57 -08:00
Unknown W. Brackets fbfc1b7f10 Correctly read ISO 9660 directory entries.
Before, we would often duplicate the last entry in a directory.
2013-02-09 21:26:55 -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
Unknown W. Brackets a5ba6821b7 Only switch to a started thread if better priority. 2013-02-09 19:02:38 -08:00
Unknown W. Brackets 0ff0b3f57d Return an error for invalid priority. 2013-02-09 19:01:25 -08:00
Unknown W. Brackets 161f2d712e sceKernelRotateThreadReadyQueue(0) means current. 2013-02-09 16:04:35 -08:00
Unknown W. Brackets ddc93df61e Keep running threads at the top of the list.
There we go, this seems more right.  Switched to a std::list too.
2013-02-09 16:04:35 -08:00
Unknown W. Brackets ea112fd9a6 Start the root thread as running, properly. 2013-02-09 16:04:34 -08:00
Unknown W. Brackets b8ca8a44aa Fix completely wrong thread status switching.
Wow, kinda surprised this even worked...
But now things that use sceKernelRotateThreadReadyQueue are broken again.
2013-02-09 16:04:34 -08:00
Unknown W. Brackets 411c711dac Initial sceKernelRotateThreadReadyQueue().
Might not be right but it's closer.
Makes games that call this func much faster.
2013-02-09 16:04:34 -08:00
Henrik Rydgard 021736c533 Initial FPU regcache 2013-02-09 18:18:32 +01:00
Unknown W. Brackets dc15c004e9 Don't sleep for vsync in headless.
Makes the tests run faster, timeout less.
2013-02-09 00:49:23 -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
Henrik Rydgård b40aca67fd Merge pull request #625 from unknownbrackets/buildfix
Use RemoveFile instead of DeleteFile in fs
2013-02-09 00:16:59 -08:00
Unknown W. Brackets db18eba388 Fix a crash in CSO reading (probably a bad rip.)
This could happen if sce_lbn is used out of bounds, maybe?
2013-02-08 23:52:22 -08:00
Unknown W. Brackets 2ea113369b Fix memory leak in CSO reading. 2013-02-08 19:27:42 -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 3ad565b4df Keep filehandles open properly when loading state. 2013-02-08 08:16:54 -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
Sacha e79c8e032a Buildfix for Blackberry, Meego. Optimisations to Qt build. 2013-02-07 14:41:02 +10:00
Henrik Rydgard 6d3c851d03 armjit: Fix and enable sltiu, correct this time I think... 2013-02-06 23:35:24 +01:00
Henrik Rydgard 377c94b125 JIT x86: cvt.s.w 2013-02-06 20:29:49 +01:00
Henrik Rydgard 8749ad0cb9 Warning fixes, very minor updates to shader generators. 2013-02-06 19:04:28 +01:00
Lewis Robbins 442e64cd84 compiler warning and const top-level const 2013-02-05 17:54:29 +00:00
Xele02 2a424977c0 Fix linux build ^^ 2013-02-04 21:24:01 +01:00
vakko e2a8095293 implement some stuff 2013-02-04 21:22:16 +02:00
Henrik Rydgard 349f1bd56b Windows build fix :P 2013-02-04 20:20:50 +01:00
Henrik Rydgard 7a36619174 Android buildfix + cleanup 2013-02-04 20:19:24 +01:00
Unknown W. Brackets 112c1e9e23 Automatically delete pointers when savestating. 2013-02-04 08:28:22 -08:00
Unknown W. Brackets 82a8450758 Fix some more non-pod structs in savestates. 2013-02-04 08:27:02 -08:00
Unknown W. Brackets a4032c5170 Simplify savestate code so it's all automagical.
If you can't beat 'em, join 'em?
2013-02-04 08:27:01 -08:00
Unknown W. Brackets 4fbfc5406f Don't error when savestating a psmfplayer. 2013-02-04 08:27:00 -08:00
Unknown W. Brackets 7a0c1f822d Don't allocate a 0 array in savedata savestates. 2013-02-04 08:27:00 -08:00
Unknown W. Brackets 07a5dca98e Expand out some savestate code saving non-pod. 2013-02-04 08:26:59 -08:00
Unknown W. Brackets 2a6457b6ab Cut down on h files including PointerWrap.
This makes changes to it a bit faster to build.
2013-02-04 08:26:59 -08:00
lioncash 025a1351b4 Get rid of unused iterators.
Also fix the formatting in 3 sprintf calls.
2013-02-04 08:49:58 -05:00
Unknown W. Brackets 7c3cb9357e Fix crash with GE interrupts. 2013-02-03 23:22:27 -08:00
Henrik Rydgård 4596c6c811 Merge pull request #588 from unknownbrackets/atrac
Attempt to read the atrac size from the file
2013-02-03 22:51:18 -08:00
Henrik Rydgård b9dd8d0277 Merge pull request #589 from Orphis/dlist-rewrite-part1
Dlist rewrite part1
2013-02-03 22:49:16 -08:00
Florent Castelli 8004d360dd Interrupt handler reorganization for easier GE interrupt support 2013-02-04 03:10:01 +01:00
Unknown W. Brackets ee62c807ee Attempt to read the atrac size from the file. 2013-02-03 16:54:52 -08:00
Florent Castelli c37566d3bc Use proper draw sequence in PPGeDraw 2013-02-04 01:28:19 +01:00