Unknown W. Brackets
bbd7710234
Implement sceCtrlGetSamplingCycle() freq changes.
2012-12-22 21:23:28 -08:00
Unknown W. Brackets
8839516c1e
Implement sceCtrlGetSamplingCycle().
2012-12-22 20:31:22 -08:00
Unknown W. Brackets
6ad3c2d454
Make sure ctrl resets properly on game close/open.
2012-12-22 19:37:18 -08:00
Unknown W. Brackets
91e1cb7408
Implement sceCtrl*IdleCancelThreshold().
2012-12-22 18:41:49 -08:00
Unknown W. Brackets
15018ca4a5
Stub out the sceCtrl idle cancel funcs.
2012-12-22 18:30:14 -08:00
TMaul
8586bb30b6
Make some vars class members
2012-12-22 19:58:47 +00:00
TMaul
ff4d52059e
Clean up OSK code
...
Remove some magic numbers and a few other things
2012-12-22 19:55:44 +00:00
TMaul
d5dd6881d7
Fix returned value length
2012-12-22 18:48:34 +00:00
TMaul
d3e28a5032
Clean up OSK instructions
2012-12-22 18:48:33 +00:00
TMaul
60e831bc8e
Make OSK work
...
But it's kind of horriffic
2012-12-22 18:48:33 +00:00
TMaul
9b628d1ab0
Increase font size and spacing
2012-12-22 18:48:33 +00:00
TMaul
21a389a772
Display 'keys'
2012-12-22 18:48:32 +00:00
TMaul
2b177e9b6d
Start making the osk an osk
2012-12-22 18:48:32 +00:00
TMaul
154d3aaf6a
Add sceAtracSetMOutHalfwayBuffer definitiion
...
PLus clean up the font code a tiny bit
2012-12-22 18:48:32 +00:00
Xele02
745ba092c5
merge
2012-12-22 19:05:47 +01:00
Xele02
d23e751557
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
Core/Dialog/SavedataParam.cpp
2012-12-22 18:57:10 +01:00
Unknown W. Brackets
965592eda8
Fix sceIoRemove() on Windows infinite looping.
2012-12-22 09:01:59 -08:00
Unknown W. Brackets
8188df4c8a
Oops, don't think this belongs here after all.
2012-12-21 17:03:11 -08:00
Unknown W. Brackets
15793fe532
More minor static analysis warning fixes.
2012-12-21 17:00:47 -08:00
Unknown W. Brackets
17750c7c80
Need this for the debug build.
2012-12-21 16:28:55 -08:00
Unknown W. Brackets
66e942c545
Fix some "might be null" warnings.
2012-12-21 16:25:05 -08:00
Unknown W. Brackets
ec753a3575
Fix some ignored error / shadowing warnings.
2012-12-21 16:23:21 -08:00
Unknown W. Brackets
217bdc275e
Fix some type-conversion warnings.
2012-12-21 16:07:38 -08:00
Unknown W. Brackets
8964ebcfd9
Don't chop the float in vscmp, don't branch.
2012-12-21 15:41:29 -08:00
Henrik Rydgard
252845ecb6
Bugfix, remove hack
2012-12-21 23:55:19 +01:00
Henrik Rydgard
e42af096c8
Merge
2012-12-21 23:43:48 +01:00
Henrik Rydgard
e26083f702
Merge branch 'master' into multi-draw
...
Conflicts:
GPU/GLES/IndexGenerator.cpp
GPU/GLES/IndexGenerator.h
2012-12-21 22:58:39 +01:00
Henrik Rydgard
d663e28bde
More work and optimization. Still not quite there.
2012-12-21 21:49:09 +01:00
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
f5efd6f2b1
JIT: add option to enable/disable jit of memory instructions. for crash safety.
2012-12-21 16:50:13 +01:00
Henrik Rydgård
df12802a5a
Merge pull request #209 from raven02/vsocp-new
...
Implement Vsocp
2012-12-21 04:57:38 -08:00
Henrik Rydgard
4efb66fdb6
Fix hw transform and audio on android, misc
2012-12-21 12:57:43 +01:00
Henrik Rydgard
4bf2e52623
HW transform: Avoid 4x3 matrices for GLES 2.0 compat. Add option to turn hw transform on.
2012-12-21 11:08:54 +01:00
raven02
fb773b5acf
Fix tab issue
2012-12-21 17:30:17 +08:00
Henrik Rydgard
4d4370232c
Assorted minor cleanup and fixes.
2012-12-21 10:20:22 +01:00
Henrik Rydgård
55fe53f662
Merge pull request #211 from unknownbrackets/alarm
...
Basic alarm functionality and related fixes
2012-12-21 01:05:34 -08:00
Unknown W. Brackets
5a501bb5ff
Fix minor typo.
2012-12-21 01:03:46 -08:00
Henrik Rydgård
6df4145ff0
Merge pull request #210 from raven02/vsrt-new
...
Implement Vsrt1,Vsrt2,Vsrt3,Vsrt4
2012-12-21 00:31:59 -08:00
raven02
ab0253d71c
Implement Vsrt1,Vsrt2,Vsrt3,Vsrt4
2012-12-21 14:57:47 +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
84b6c3a7c2
Improve accuratcy of CoreTiming::ScheduleEvent().
2012-12-20 22:48:59 -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
raven02
b7ef3ad9e9
Implement Vsocp
2012-12-21 11:23:26 +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 Rydgård
ba65329480
Merge pull request #204 from KentuckyCompass/colon_never_relative
...
paths with a colon are never relative
2012-12-20 06:10:01 -08:00
Henrik Rydgård
3c88bb2f45
Merge pull request #205 from raven02/vscmp-new
...
Implement Vscmp
2012-12-20 06:09:06 -08:00
Henrik Rydgard
39cae09ead
Change some warn logging to debug logging, it's fine
2012-12-20 15:07:58 +01:00
Henrik Rydgard
1b5407f505
Rewrite the vertex decoder a bit. Turn on SSE2 compiler flag etc.
2012-12-20 15:07:57 +01:00
raven02
936d80b214
Implement Vscmp
2012-12-20 21:45:28 +08:00
KentuckyCompass
aeafc92d3b
paths with a colon are never relative
2012-12-20 05:33:05 -08:00
Henrik Rydgård
7f880a62ce
Merge pull request #203 from raven02/vdet-new
...
Implement Vdet
2012-12-20 05:32:19 -08:00
raven02
1f83fc4e9c
Implement Vdet
2012-12-20 21:19:15 +08:00
Unknown W. Brackets
56fa601d24
Add include for tolower(), made Android unhappy.
2012-12-19 22:27:26 -08: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
Xele02
4fb3066e39
Continue work on mode 8
2012-12-19 18:15:02 +01:00
Xele02
fc4159efef
Work on mode 8
2012-12-19 16:57:22 +01:00
Henrik Rydgard
4046146164
Add experimental wireframe mode for debugging. Fix texenv color. Code cleanup.
2012-12-19 15:14:41 +01:00
Henrik Rydgard
4541c3e18b
Slightly better logging in path mapping
2012-12-19 11:11:56 +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
eb087120da
Merge remote-tracking branch 'upstream/master'
2012-12-19 01:08:02 +01: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
0b187bb8b6
Implement vhdp
2012-12-18 22:54:08 +01:00
Xele02
07048131d0
Correct mistake
2012-12-18 22:27:59 +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
2937928237
Better hack for a path problem. Still don't get it.
2012-12-18 00:01:40 +01:00
Henrik Rydgard
3bd5cfed73
Work around for strange idling issue, various fixes
2012-12-17 23:33:24 +01:00
Henrik Rydgard
5ff2bf84ef
Path cleaning bugfix
2012-12-17 22:34:34 +01:00
Henrik Rydgard
5a11d4d9c5
Implement sceKernelGetThreadmanIdList (partially)
2012-12-17 22:21:17 +01:00
Henrik Rydgard
19af6531f7
Warning fix (and I don't like shadowing)
2012-12-17 22:06:19 +01:00
Henrik Rydgård
3b6e3de088
Merge pull request #191 from tmaul/master
...
Make iso filename checks case instentitive
2012-12-17 13:05:25 -08:00
Henrik Rydgard
c3819ec721
Fix a possible crash in audio code
2012-12-17 21:59:43 +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
TMaul
0ae55ae65c
Ooops, didnt mean to leave that uncommented :)
2012-12-17 20:28:50 +00:00
Henrik Rydgard
9c65a7b7f8
Fix issue with calling module imports
2012-12-17 21:27:50 +01:00
TMaul
458ed7f421
Make filename checks on iso case insentitive
...
But still keep them logically in the same case they are on the discs
2012-12-17 20:23:36 +00:00
Henrik Rydgard
11279668ca
Allow changing of zoom factor at runtime
2012-12-17 21:06:47 +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
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
Henrik Rydgård
8b57b2ec0a
Merge pull request #179 from KentuckyCompass/dotdotpaths
...
Dotdotpaths
2012-12-17 01:42:36 -08: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
Unknown W. Brackets
599465ee6e
Correct priority handling for Mbx funcs.
...
Also, moved to correctly updating the linked list.
It's possible a game might follow it since it's there.
2012-12-16 21:36:53 -08:00
Unknown W. Brackets
87fcdc9080
Use KERNELOBJECT_MAX_NAME_LENGTH for name length.
...
Just avoiding magic numbers, didn't know there was a constant.
2012-12-16 21:36:52 -08:00
Unknown W. Brackets
0d07013199
Cleanup timeouts and refer for Mbx functions.
2012-12-16 21:36:52 -08:00
Unknown W. Brackets
13ed64ff4b
Add basic timeout support for Mbx.
2012-12-16 21:36:51 -08:00
Unknown W. Brackets
94094f99bf
Cleanup basic Mbx implementation, create func.
2012-12-16 21:36:51 -08:00
Henrik Rydgard
369afa5b93
sceSas: Resample audio according to pitch
2012-12-16 21:20:16 +01:00
Henrik Rydgard
15b7c1c96c
sceSas cleanup
2012-12-16 20:40:49 +01:00
Xele02
bd1a9c2b1a
Make Save/Load List work when there is no multiple save files in the
...
request.
2012-12-16 12:51:02 +01:00
Xele02
4683d84206
Merge remote-tracking branch 'upstream/master'
2012-12-16 11:55:33 +01:00
Henrik Rydgård
8f5b6671db
Merge pull request #182 from unknownbrackets/audio-minor
...
Add range checks to sceSas*() funcs
2012-12-15 23:10:41 -08:00
raven02
1dbb6a8bda
Fix sound distortion and improve sound clarity
2012-12-16 13:11:53 +08:00
Xele02
a5431f127a
Merge remote-tracking branch 'upstream/master'
2012-12-16 03:41:13 +01:00
Unknown W. Brackets
3899176af6
Add range checks to sceSas*() funcs.
...
Savage Moon, at least, is trying voiceNums up to 43. This makes it
run instead of crashing, and is pretty cheap.
2012-12-15 15:45:41 -08:00
Henrik Rydgård
efd29ab75e
Merge pull request #181 from unknownbrackets/event-flags
...
Support WAITCLEARALL on event flag wait/poll
2012-12-15 10:27:43 -08:00
Henrik Rydgård
cca64e4603
Merge pull request #180 from tmaul/master
...
Fake enough of the on screen keyboard to make games work
2012-12-15 10:09:59 -08:00
Unknown W. Brackets
70cbf98a20
Support WAITCLEARALL on event flag wait/poll.
...
Thanks to @B1ackDaemon for catching this.
2012-12-15 10:06:56 -08:00
TMaul
ef836c6022
More Cleanup
...
Probably some more missing stuff from the Cmakelist but I don't have it
setup to test
2012-12-15 17:39:05 +00:00
TMaul
0414b072a4
Display OSK message
...
And some cleanup
2012-12-15 17:13:58 +00:00
TMaul
a2a4248381
Fake some of the on screen keyboard
...
Now games that use it assume the user has input "000000" which seems to
work for most games. Gets Pixel junk monsters deluxe and Worms battle
island in-game
2012-12-15 16:42:38 +00:00
KentuckyCompass
360738d366
tolerate prefix without path in current directory and quiet redundant 'starting with' message
2012-12-15 04:09:37 -08:00
KentuckyCompass
8f00757ceb
remove simple current directory concatenation in favor of new relative path handling
2012-12-15 03:55:02 -08:00
KentuckyCompass
17d7e4acf5
invalid current directory should be ERROR_LOG
2012-12-15 03:48:47 -08:00
KentuckyCompass
0639abff6a
more consistant messages and minor adjustments
2012-12-15 03:47:31 -08:00
KentuckyCompass
d0e8749aa1
replace host0 hack with proper relative path handling (not per thread yet)
2012-12-15 03:38:14 -08:00
Unknown W. Brackets
bb10140728
Oops, event flags weren't always deleting properly.
...
Added some comments to explain why removal from waitingThreads is
deferred. Also had to move things around so the right outBitsPtr
is always written to on timeouts.
2012-12-15 01:36:53 -08:00
Unknown W. Brackets
d20b507796
Clarify these flags slightly.
2012-12-14 23:36:18 -08:00
Unknown W. Brackets
67f7f6b05d
Oops, these flags can be or'd together of course.
2012-12-14 23:24:04 -08:00
Unknown W. Brackets
45258bb61f
Cleanup behavior in sceKernel*EventFlag() funcs.
...
Biggest change is just that sceKernelSetEventFlag() rescheds.
2012-12-14 21:25:29 -08:00
Xele02
825e058c94
Correct date display with padding
2012-12-14 23:40:02 +01:00
Xele02
e785662747
Read PARAM.SFO for display save info
...
Display save modification date and time
2012-12-14 23:08:56 +01:00
Xele02
1697e1dd93
Save save snd file
2012-12-14 21:36:54 +01:00
Unknown W. Brackets
18bd6cdc98
Cleanup errors and timing for waiting on flags.
2012-12-14 12:05:16 -08:00
Unknown W. Brackets
eb22f6bb78
Wake threads when an event flag is deleted.
2012-12-14 12:05:15 -08:00
Unknown W. Brackets
2ea992f2c4
Validate attr for mutexes, semas, and events.
2012-12-14 12:05:15 -08:00
Unknown W. Brackets
d2d82196b7
Add timeouts for event flags.
...
Makes the threads/events/events test pass.
Still needs more tests, most likely several things are currently a
bit incorrect, like delete not waking threads.
2012-12-14 12:05:14 -08:00
Xele02
ab71c3d1d0
Save unencrypted PARAM.SFO
2012-12-14 20:55:57 +01:00
Xele02
1ea6fe7e4d
Correct texture display in save dialog on Android.
2012-12-14 01:04:45 +01:00
Xele02
67c88d7b33
* Load and display save image in save/load menu
...
* Add help math function
* Add draw function in PPGe without texture and with alternative
texture.
* Change hardcoded atlas texture size in PPGe
2012-12-13 22:06:45 +01:00
TMaul
b121749b39
Cleanup sceKernelModule
2012-12-13 11:40:56 +00:00
TMaul
f40177ada8
More stubs and clean up
...
From various games
2012-12-13 11:40:55 +00:00
TMaul
b21a89e56e
Add sceRtcGetTime64_t
...
and define sceNetAdhocPollSocket
2012-12-13 11:40:54 +00:00