Commit Graph
54 Commits
Author SHA1 Message Date
Unknown W. Brackets a8e8b096e6 Use regular events for GPU for now, quicker.
There's too much latency in threadsafe events, causing tests to fail.
Might break games too.  I guess they need to execute more often...
2013-04-07 17:52:57 -07:00
Unknown W. Brackets 6190918158 Don't allow two drawsyncs to be in play at once. 2013-04-07 17:37:24 -07:00
Unknown W. Brackets 5d017829ad Make sure lists aren't reused before they complete. 2013-04-07 17:05:11 -07:00
Unknown W. Brackets 57770dbd95 Delay GPU signals and waits to simulate cycles. 2013-04-07 17:05:11 -07:00
Unknown W. Brackets 0ca4e5f0a7 Implement the jump, call, and ret signals.
Still buggy, but more things show...
2013-04-06 11:03:43 -07:00
Unknown W. Brackets 376ad80d76 Implement sync signal in display lists.
Makes dialogs show up in 3rd Birthday.
2013-04-06 10:12:41 -07:00
Unknown W. Brackets dac448dfae Implement the pause signal a bit better. 2013-04-06 09:59:24 -07:00
Unknown W. Brackets 77311a121d Don't listsync until after the signal handler. 2013-04-06 08:36:03 -07:00
Unknown W. Brackets c0f20c2fdd If the interrupt is not run, don't flip gpuState.
Technically this is a hack, hopefully can remove it soon.
2013-04-06 02:30:37 -07:00
Unknown W. Brackets c57954a72e Implement sceGeDrawSync(). 2013-04-06 02:30:37 -07:00
Unknown W. Brackets ef1086413c Correct wait signal handling. 2013-04-05 00:32:35 -07:00
Unknown W. Brackets 339b444703 Switch to a fixed size displaylist queue. 2013-04-05 00:32:34 -07:00
Unknown W. Brackets 7738b42b9c Implement sceGeBreak()/sceGeContinue(). 2013-04-04 00:36:43 -07:00
Unknown W. Brackets 15cb005a60 Always trigger FINISH and SIGNAL from END. 2013-04-03 08:16:43 -07:00
Unknown W. Brackets affe91cb3b Refactor some GPU methods to return errors. 2013-03-31 23:57:03 -07:00
Henrik Rydgard bf23c6f5e1 Turn down sceGeContinue and sceGeBreak log level.
We know them and they're mostly used by our own debug overlay.
2013-03-04 19:52:10 +01:00
Unknown W. Brackets 51d5b84108 Fix some misc HLE warnings. 2013-02-18 09:04:43 -08:00
Unknown W. Brackets 21483f2d4c Cut down on rescheduling in sceGeListEnqueue.
Fixes ClaDun X2.
2013-02-12 07:45:20 -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
Unknown W. Brackets 7c3cb9357e Fix crash with GE interrupts. 2013-02-03 23:22:27 -08:00
Florent Castelli 8004d360dd Interrupt handler reorganization for easier GE interrupt support 2013-02-04 03:10:01 +01:00
Henrik Rydgard b72ac7d7f0 Fix sceGeGetCmd 2013-01-05 20:57:00 +01:00
Henrik Rydgard d8d2246236 Implement sceGeGetMtx and sceGeGetCmd 2013-01-05 19:26:37 +01:00
Henrik Rydgard 363f158a0a Just warning fixes 2013-01-02 21:13:21 +01: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
Unknown W. Brackets 589916fca2 Move GPU state to sceDisplay, reset GPU on load. 2012-12-29 12:49:49 -08:00
Unknown W. Brackets ea9f0be28a Save more of the GPU's state, fix a crash.
Well, ReapplyGfxState() seems kinda dangerous now...
2012-12-29 11:41:33 -08:00
Florent Castelli 6eec4f5d7f Move display list management to common GPU class 2012-12-29 03:11:35 +01:00
Unknown W. Brackets 5999fac10d Start saving the state of the GPU.
Not 100% sure this is all that's needed, but let's try it.
2012-12-28 13:55:30 -08:00
Henrik Rydgard 252845ecb6 Bugfix, remove hack 2012-12-21 23:55:19 +01:00
Henrik Rydgard d663e28bde More work and optimization. Still not quite there. 2012-12-21 21:49:09 +01:00
TMaul 1c15b70277 Various Cleanups
Make some sceFont functions fill in (fake) error codes

sceGeListSync seems to want a return value (fat princess, others)

Another missing sceKernelModule method (killzone)
2012-12-13 11:40:50 +00:00
Yn5an3andÁlvaro Acción Montes 8d5125ea8b Cleaned identation, solved bug in WrapI_UU64(). Ammended
sceIoWaitAsync and sceIoWaitAsyncCB since they can not be wrapped.
2012-12-05 22:19:14 +01:00
Yn5an3andÁlvaro Acción Montes 21ccc60b87 Wrapped sceGe.cpp functions 2012-12-03 23:37:14 +01:00
Henrik Rydgard 980d13fe50 Assorted GPU fixes: Advance vertex pointer, fixes missing triangles in SPT. More logging. Separate proj matrices for through and normal mode (through matrix don't need to get updated as often). Some cleanup. 2012-11-28 13:45:22 +01:00
Henrik Rydgard 1f48dc380a gitignore, comments, upgrade native. 2012-11-19 09:25:50 +01:00
Henrik Rydgard e37a1fb1d3 Add internal 2D drawing library that goes through the Ge emulation for portability.
To be used for things like sceUtility* and other overlays like FPS and stats.
2012-11-18 13:04:49 +01:00
kev :) d67e473e81 Small clean up on sceGeDrawSync
Doesnt fix anything, obviously :)
2012-11-10 23:08:46 +00:00
Henrik Rydgard 0ff792fce5 Refix ge interrupts, make headless printf log messages 2012-11-09 13:40:09 +01:00
Henrik Rydgard 117256e07b Implement various hle stuff.. 2012-11-07 19:10:52 +01:00
Henrik Rydgard aea0580297 More reworking of Callbacks, plus some other little fixes. 2012-11-07 15:44:48 +01:00
Henrik Rydgard 83fb5e96de Logging, stubs and fixes 2012-11-06 20:56:19 +01:00
Henrik Rydgard 8a082f91cc Ge Callbacks seem to be working now. 2012-11-06 18:14:09 +01:00
Henrik Rydgard 85d5cfd8c4 Add more proper "Null" GPU 2012-11-06 17:05:27 +01:00
Henrik Rydgard c61d10363a Rewrite callback handling, part 1. All sorts of other fixes too. 2012-11-06 15:46:46 +01:00
Henrik Rydgard b214a1a1da Revert "Better wrapper system, and fixed warnings"
This reverts commit a00b1855cb.

Conflicts:

	Core/HLE/FunctionWrappers.h
	Core/HLE/sceCtrl.cpp
	Core/HLE/sceKernelModule.cpp
2012-11-05 10:05:09 +01:00
Henrik Rydgard 6bed1afb72 Merge branch 'master' of https://github.com/artart78/ppsspp into artart78-master 2012-11-04 23:59:26 +01: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