Unknown W. Brackets
6adb29030f
Update tests.
2012-12-21 12:38:12 -08:00
Unknown W. Brackets
dbec955a99
Properly delete alarms after they run.
...
Also fix refer, based on tests.
2012-12-21 12:28:28 -08:00
Unknown W. Brackets
522b16bb89
Fix error handling for setting alarms.
2012-12-21 12:04:02 -08:00
Unknown W. Brackets
33debd755b
Correct sceKernelSetSysClockAlarm timing.
...
Also make refer status work for the tests to be usable.
2012-12-21 11:58:32 -08:00
Henrik Rydgard
3b114eb24a
More work on indexed draws. Not combining yet.
2012-12-21 19:16:17 +01:00
Henrik Rydgard
91744a03b0
Warning fixes
2012-12-21 16:50:13 +01:00
Henrik Rydgard
4efb66fdb6
Fix hw transform and audio on android, misc
2012-12-21 12:57:43 +01:00
Henrik Rydgard
4d4370232c
Assorted minor cleanup and fixes.
2012-12-21 10:20:22 +01:00
Unknown W. Brackets
5a501bb5ff
Fix minor typo.
2012-12-21 01:03:46 -08:00
Unknown W. Brackets
12fb91b7b5
Don't run interrupts while they're suspended.
2012-12-20 22:49:48 -08:00
Unknown W. Brackets
4fb6c8c0ac
Reschedule after interrupts run.
...
It'll reschedule anyway, so this will just give us a message.
Hardware seems to reschedule, not just go back to the original
thread, but there may be more to it than that.
2012-12-20 21:59:10 -08:00
Unknown W. Brackets
9034cfbfd3
Defer HLE interrupts, vblank only when enabled.
...
Based on tests, vblank doesn't queue up (makes sense) while
interrupts are disabled.
I'm not 100% sure about the GPU stuff but it seems to only come
from HLE via sceGe, so this should fix those return values.
2012-12-20 21:54:40 -08:00
Unknown W. Brackets
99b24720b8
Oops, not a real pointer, use 0 not NULL.
2012-12-20 20:07:55 -08:00
Unknown W. Brackets
0f364182fc
Alarms now fire again based on return value.
2012-12-20 20:07:54 -08:00
Unknown W. Brackets
529818c9cd
Handle interrupt return values.
2012-12-20 20:07:54 -08:00
Unknown W. Brackets
d6d1f687a8
Make the intr handler public, will need for timers.
...
The idea here is that alarm/vtimers/etc. can implement a subclass
to pass more arguments / do whatever they need to.
2012-12-20 20:07:53 -08:00
Unknown W. Brackets
aadbe50357
Implement the basic functionality of alarms.
...
They only fire the once though, and the use of subintr might be
a bit naive, may need internal funcs.
2012-12-20 20:07:53 -08:00
Henrik Rydgard
c279b88e28
Add check for invalid VAG audio addresses
2012-12-20 22:44:28 +01:00
Henrik Rydgard
8104a4af5b
Prettify logging of context switches
2012-12-20 15:23:15 +01:00
Henrik Rydgard
39cae09ead
Change some warn logging to debug logging, it's fine
2012-12-20 15:07:58 +01:00
Henrik Rydgard
fa7de38ccf
PSPSaveDialog: Style/warning fixes. Add a way to return errors (unused).
2012-12-19 21:23:52 +01:00
Henrik Rydgard
fede297f30
Fix sceIoGetStat, memstick capacity check
2012-12-19 21:21:46 +01:00
Henrik Rydgard
fbc825a73d
Buildfix
2012-12-19 18:35:20 +01:00
Henrik Rydgard
d640bdd032
Fix memory stick status check - now saving works in Lumines
2012-12-19 11:11:27 +01:00
Henrik Rydgård
14a8259a6c
Merge pull request #197 from xsacha/master
...
Qt Update, compiler warning fix
2012-12-19 00:44:59 -08:00
Sacha
a0b809023c
Don't check if unsigned is less than 0. Fix tabbing.
2012-12-19 13:07:41 +10:00
Xele02
0ccce3c1a8
* Don't restart dialog if already running. This correct bug with
...
MotoGP, even if the game make weird stuff with the dialog call...
* Add log for data install and install request.
2012-12-19 01:05:45 +01:00
Henrik Rydgard
90e87ead84
Fix a relative path issue - apparently paths starting with '/' are still relative.
2012-12-18 14:13:35 +01:00
Henrik Rydgard
0448c62146
Properly size debug text when zoomed
2012-12-18 14:13:35 +01:00
Henrik Rydgård
b37b557173
Merge pull request #194 from unknownbrackets/alarm
...
Ensure interrupts don't run on real threads
2012-12-18 02:56:29 -08:00
Henrik Rydgard
dba622338a
Audio smoothness improvements
2012-12-18 11:40:14 +01:00
Unknown W. Brackets
35a38ac6b9
Ensure interrupts don't run on real threads.
...
If a thread waits on a sema, and an interrupt (such as an alarm) happens,
and the interrupt signals or deletes the sema, it needs to return the
value correctly.
For callbacks, it's injected, since they run on thread. But interrupts
aren't supposed to run on thread anyway, so this switches to idle.
2012-12-18 01:49:53 -08:00
Henrik Rydgard
4ef0627387
Revert puyo puyo hack, breaks things (not very surprisingly)...
...
There has to be some function that should reschedule that doesn't, though...
2012-12-18 10:38:25 +01:00
Henrik Rydgard
2b8419e0ff
Attempt more accurate frame timing (windows). Increase audio volume.
2012-12-18 10:25:57 +01:00
Henrik Rydgard
b6ebe427ac
Use the right reschedule function..
2012-12-18 09:26:51 +01:00
TMaul
9a83dee9b5
With not insane tabs this time..
2012-12-17 23:57:40 +00:00
TMaul
fdd2879443
Another font function
...
Used by assassins creed.
2012-12-17 23:54:21 +00:00
Henrik Rydgard
ab35c7f612
Merge branch 'master' into mediaengine
2012-12-18 00:05:09 +01:00
Henrik Rydgard
3bd5cfed73
Work around for strange idling issue, various fixes
2012-12-17 23:33:24 +01:00
Henrik Rydgard
5a11d4d9c5
Implement sceKernelGetThreadmanIdList (partially)
2012-12-17 22:21:17 +01:00
Henrik Rydgard
a60d487d8d
Create files for sceUsb
2012-12-17 21:45:32 +01:00
Henrik Rydgard
913f392d66
Move the SasInstance to the heap. Some cleanup.
2012-12-17 21:43:31 +01:00
Henrik Rydgard
9c65a7b7f8
Fix issue with calling module imports
2012-12-17 21:27:50 +01:00
Henrik Rydgard
b5808eaf47
optimizin', bugfixin'
2012-12-17 20:43:43 +01:00
Henrik Rydgard
9acfd50139
Fix one cause of audio choppiness - we were dropping samples when audio functions blocked. Also some cleanup.
2012-12-17 20:15:23 +01:00
Henrik Rydgard
cb29c1ce4b
Don't use __KernelTriggerWait in sceDisplay
2012-12-17 20:14:54 +01:00
Henrik Rydgard
1e086f5008
Let's not throw away our stereo... Also change mix freq back to 44100 for now.
2012-12-17 19:38:04 +01:00
Henrik Rydgard
bc214dcf37
Merge branch 'master' into mediaengine
...
Conflicts:
Common/LogManager.cpp
Core/CMakeLists.txt
Core/Core.vcxproj
Core/Core.vcxproj.filters
Core/CoreParameter.h
Core/HLE/sceAudio.cpp
Core/HLE/sceKernel.cpp
Core/HLE/sceKernelThread.cpp
Core/HLE/sceMpeg.cpp
android/jni/Android.mk
2012-12-17 18:48:32 +01:00
Henrik Rydgard
1400237d0e
Lots of various work on sceSas. ADSR envelopes, correct looping, etc etc... Still far from perfect but better.
2012-12-17 18:07:25 +01:00
Unknown W. Brackets
17cba6adc3
Switch Mbx to using a linked list.
...
This approximates the error messages for the hardware much better.
More complicated, though.
2012-12-16 21:36:53 -08:00