Commit graph

39543 commits

Author SHA1 Message Date
Unknown W. Brackets
fd2d666191 Add ctrl sampling (vblank).
This makes it work like the PSP does with number of buffers, etc.
Still doesn't wait yet.
2012-12-02 15:44:23 -08:00
MaXiMu
83cb8cef6c Add armeabi on android 2012-12-02 22:48:31 +01:00
Unknown W. Brackets
7edb340577 Start the ctrl latch off all just released. 2012-12-02 12:44:33 -08:00
U-CARLOS-2P5HQ6IZ\Carlos
0d441906cc armv6support 2012-12-02 20:47:51 +01:00
Unknown W. Brackets
b93c4f636c Oops, prevent a possible crash in ctrl. 2012-12-02 08:28:05 -08:00
Unknown W. Brackets
754a49dfd7 Make sceCtrlReadLatch work more correctly.
It gets changes since last call, makes sense.
2012-12-02 08:28:05 -08:00
Unknown W. Brackets
0dc8e2a420 Set the ctrl frame value to something useful. 2012-12-02 08:28:04 -08:00
Unknown W. Brackets
843d495c5b Don't expect sceCtrlInit ever, minor ctrl funcs.
I don't see any indication that you need to call init first.
2012-12-02 08:28:04 -08:00
Unknown W. Brackets
bf8abaebe5 Don't include analog when not enabled in ctrl.
Fixes menu, movement in Tales of Eternia.
2012-12-02 08:28:04 -08:00
Henrik Rydgård
8509fda380 Merge pull request #112 from xsacha/master
Blackberry 10 Port
2012-12-02 08:07:13 -08:00
Florent Castelli
edee65aeb3 Merge pull request #111 from unknownbrackets/umd-fixes
Fix sceUmdWaitDriveStatCB()
2012-12-02 04:52:35 -08:00
Unknown W. Brackets
9e8160c88b Correct sceUmdGetDiscInfo().
The struct was wrong, also add error handling.
2012-12-02 00:33:39 -08:00
Unknown W. Brackets
e5f1d701e3 Don't unregister a different UMD callback, cleanup. 2012-12-02 00:20:28 -08:00
Unknown W. Brackets
9ba9415df4 Change the UMD callback on overwrite. 2012-12-01 23:48:11 -08:00
Unknown W. Brackets
51a4ed4f75 Reschedule when activating/deactivating the UMD.
This is what a PSP seems to do.
2012-12-01 23:29:25 -08:00
Unknown W. Brackets
00ca9d8dc7 Make the UMD wait funcs actually wait. 2012-12-01 23:29:24 -08:00
Unknown W. Brackets
16c29a52a8 Improve debugging for bad callback ids. 2012-12-01 23:29:24 -08:00
Unknown W. Brackets
eaaedc7adc This notify isn't needed and was broken anyway. 2012-12-01 23:29:24 -08:00
Unknown W. Brackets
1142ad3ec6 sceUmdDeactivate() seems to always schedule a cb. 2012-12-01 23:29:23 -08:00
Unknown W. Brackets
4abcb6a8ac Fix sceUmdWaitDriveStatCB() so it fires right away.
This makes Crisis Core actually show loading again.
2012-12-01 23:29:23 -08:00
Unknown W. Brackets
c00f3dcdd8 Implement sceUmdCancelWaitDriveStat(). 2012-12-01 23:29:22 -08:00
Unknown W. Brackets
f3e23f2672 Add some asserts for activating UMDs. 2012-12-01 23:29:22 -08:00
Sacha
3785e2994d Blackberry 10 Port
* Replace SDL with asound backend (removes the only dependency)
* Use BlackberryAudio to expose asound (Known bug: delayed audio)
* Proper spacing for keyboard keys
* Clean up for BlackberryMain.cpp
* Remove some redundancies for Blackberry EGL setup
2012-12-02 15:53:13 +10:00
Sacha
5316f856d1 Blackberry 10 Port
* Replace SDL with asound backend (removes the only dependency)
* Remove all references to SDL in bar-descriptor.xml, blackberry_build.sh
* Greatly simplify blackberry_build.sh
* Modify CMakeLists.txt to account for removal of SDL
* Remove redundancy in CMakeLists.txt (EGLv2)
* Refactor nativeExtra's and setting targets
* Remove android/CMakeLists.txt (unrelated file)
* Update for latest Blackberry NDK (1088)
* Handle bug with VSync in latest NDK
* Update bar-descriptor.xml to version 0.4
* Fix define on iOS in FragmentShaderGenerator.cpp
* Specify NDK used in Credits by target platform, add contributor, remove redundancy
2012-12-02 14:48:00 +10:00
Florent Castelli
952a937fe7 Revert changes in RC file that were breaking debug build on Windows.
If the build isn't working on VS Express, notify me so we can find a fix.
2012-12-02 03:00:36 +01:00
Henrik Rydgård
67f9f3f73f SDL port: Add DEBUG option to set _DEBUG, add ability to log gfx stuff 2012-12-01 23:38:18 +01:00
Henrik Rydgård
364a78edaf Add option to show/hide touch controls 2012-12-01 23:20:08 +01:00
Henrik Rydgård
ae0b5c8b05 Merge branch 'master' of github.com:hrydgard/ppsspp 2012-12-01 16:28:38 +01:00
Henrik Rydgård
7f4be8b1b0 mac buildfix 2012-12-01 16:28:00 +01:00
Henrik Rydgard
4393dc02a6 Buildfix 2012-12-01 12:36:52 +01:00
Henrik Rydgard
815c3240bc V4 2012-12-01 10:44:37 +01:00
Henrik Rydgard
3de1259eb8 Upgrade native 2012-12-01 10:39:20 +01:00
Henrik Rydgard
92bd22ffe5 Merge branch 'master' of github.com:hrydgard/native 2012-12-01 10:36:49 +01:00
Henrik Rydgard
c952c8d0e7 Fix volume buttons on android and add some functonality to the VFS. 2012-12-01 10:35:55 +01:00
Henrik Rydgard
ab4482a0a4 Respect param len in PARAM.SFO parser 2012-12-01 10:33:05 +01:00
Henrik Rydgard
6e32b30afd DisplayDrawer->FramebufferManager 2012-12-01 10:17:34 +01:00
Henrik Rydgard
cdc94a6cad Halve the kernel memory so that the "volatile" 4MB fits without overlapping 2012-12-01 10:17:33 +01:00
Henrik Rydgard
d4cc0bada7 Revert broken optimization in TextureCache (there are still memory savings to be had though) 2012-12-01 10:17:33 +01:00
Henrik Rydgård
d3109cc327 Merge pull request #108 from unknownbrackets/scheduling
Scheduling fixes (mostly sema/mutex)
2012-12-01 01:16:35 -08:00
Unknown W. Brackets
f8629c5144 Update tests. 2012-11-30 23:22:55 -08:00
Unknown W. Brackets
a2ee736793 Process events when idle or switching threads.
Fixes hrydgard/ppsspp#104, so things execute more accurately.
2012-11-30 23:09:14 -08:00
Unknown W. Brackets
998104e2eb Consider threads still waiting until they wake.
This seems to match the actual behavior of timeouts much better.
2012-11-30 23:04:24 -08:00
Unknown W. Brackets
48c5efd0c2 Match hw timing of mutex/sema timeouts better.
Affects some tests passing/not passing due to minor timing issues, ugh.
2012-11-30 22:58:42 -08:00
Unknown W. Brackets
7164638799 Allow semaphores with waiters to signal.
If the max is 1, but there's 1 waiting, it's okay to signal 2.
Really, the final result is what matters.
2012-11-30 22:58:41 -08:00
Unknown W. Brackets
3ab41e515d Mutexes and semaphores don't always reschedule.
It's just the normal rescheduling happening.  Previous tests weren't
correct.

Also some minor cleanup.
2012-11-30 22:58:41 -08:00
Henrik Rydgard
1189da826c Also get TITLE from PARAM.SFO 2012-11-30 22:34:08 +01:00
Henrik Rydgard
e255550a8e Update tests 2012-11-30 22:32:51 +01:00
Henrik Rydgard
a5e35ad6d9 Parse PARAM.SFO to get the disc ID, show in title bar on Windows 2012-11-30 22:32:51 +01:00
Henrik Rydgard
6102e0f143 Fix silly issue with logging in debug mode 2012-11-30 22:32:50 +01:00
Henrik Rydgard
aa04eaec31 TextureCache: Cleanup, memory savings 2012-11-30 22:32:50 +01:00