Commit Graph

1393 Commits

Author SHA1 Message Date
raven02
523f026c3d Restore shift volume to 15 2013-01-27 22:16:15 +08:00
raven02
dfcc836bf8 Shift volume base on sceSasSetVolume 2013-01-27 22:15:23 +08:00
Henrik Rydgård
84c4c3e0d4 Merge pull request #511 from raven02/osk-fix
Center OSK description correctly
2013-01-27 05:53:56 -08:00
raven02
b74b215f34 Add option fullscreen , make default to false 2013-01-27 21:05:09 +08:00
raven02
06f514ee24 Center OSK description correctly 2013-01-27 20:19:28 +08:00
Henrik Rydgård
336dffa13a Merge pull request #509 from unknownbrackets/jit-mem-fix
Jit memory access fixes
2013-01-27 01:05:30 -08:00
Unknown W. Brackets
6d7a8d9b1a Apply the memview mask to jit immediates too. 2013-01-26 23:54:43 -08:00
Unknown W. Brackets
a7b5433ba7 Make sure fastmem isn't confused by rs changing. 2013-01-26 23:18:50 -08:00
Unknown W. Brackets
a89d61463e Make the VFPU jit use far jumps for memory access. 2013-01-26 23:08:19 -08:00
Henrik Rydgard
d1b3fd0e49 Better window resize handling 2013-01-27 00:15:39 +01:00
Henrik Rydgard
1ed9a6ba56 Small fixes. v0.6. 2013-01-26 21:39:35 +01:00
Unknown W. Brackets
7ba8d1efe9 Android buildfix. 2013-01-26 12:01:23 -08:00
Unknown W. Brackets
7f4e322266 Cut thread switching time down.
Based on profiling release Windows.

Took these funcs from taking 1.6% to 0.5% time.
2013-01-26 11:29:20 -08:00
Unknown W. Brackets
a6094e25ff Get rid of waitTypeStrings and resched reason copy. 2013-01-26 11:29:20 -08:00
Unknown W. Brackets
1cb7a88137 Don't use a dynamic string for wait debugging.
Happens in release, and shows up on the profiler.
Not huge, but should save ~0.5% of cpu time.
2013-01-26 11:29:19 -08:00
Henrik Rydgård
88d484f028 Merge pull request #506 from unknownbrackets/jit-minor
Jit memory access cleanup + VFPU
2013-01-26 10:51:33 -08:00
Unknown W. Brackets
0e8e9697c5 Add lv.q/sv.q support to the x86 jit. 2013-01-26 10:09:18 -08:00
Unknown W. Brackets
b77ce99d01 Oops, no slow read for immediates usually. 2013-01-26 09:27:52 -08:00
Unknown W. Brackets
9cd5836b85 Rename WriteFinish() to Finish() is safe mem.
It's nothing to do with writing.
2013-01-26 09:09:47 -08:00
Unknown W. Brackets
3e419f513a Refactor jit safe memory reads without dup code.
But, maybe too automagical...
2013-01-26 08:42:34 -08:00
Henrik Rydgard
3126d17624 Change logging for PCM audio to INFO, as mentioned in Issue #505 2013-01-26 14:30:06 +01:00
Unknown W. Brackets
b7ef3e7bef Make sure to log / check bad immediate mem access.
Although, theoretically, this should never happen.
Also, definitely time to refactor.
2013-01-25 23:06:43 -08:00
Unknown W. Brackets
3418383917 Immediately break on bad mem access in jit slowmem. 2013-01-25 22:52:51 -08:00
Unknown W. Brackets
4bb515cab0 Don't log an incorrect pc for bad jit mem access. 2013-01-25 22:52:42 -08:00
Unknown W. Brackets
db5fa233a8 Make sure we don't mark a reg dirty on noop. 2013-01-25 22:34:01 -08:00
Henrik Rydgard
2738417040 VFPU JIT: start setting up infrastructure. very incomplete. vdot works if undisabled, but isn't complete. 2013-01-26 01:34:19 +01:00
Henrik Rydgard
68991511ee Split out the FPU reg cache into its own file too. 2013-01-26 01:34:19 +01:00
Henrik Rydgard
ad5e2b58c6 Separate the two regcaches before doing major surgery to FPURegCache. 2013-01-26 01:34:18 +01:00
Henrik Rydgård
be12d2efe3 Merge pull request #498 from lioncash/master
Fix a duplicate branch in Loaders.cpp
2013-01-25 16:07:51 -08:00
Lioncash
eb84b00a3d Fix a duplicate branch in MIPS/MIPSDis.cpp
Copypaste error for beql.

Thanks go out to [Unknown] for specifying the correct value of o.
2013-01-25 17:57:12 -05:00
Lioncash
e1aff1fd91 Fix duplicate branches.
I think this should be UNKNOWN_ELF.
2013-01-25 17:05:09 -05:00
Henrik Rydgård
67f849a442 Merge pull request #496 from lioncash/master
Memory leak cleanup. Fixing some small things that were fixed in the Dolphin source, but didn't make it over here.
2013-01-25 11:17:21 -08:00
Henrik Rydgard
dd149a50a3 Must flush FPR regcache before thrashing the fp regs 2013-01-25 19:55:30 +01:00
Henrik Rydgard
aabc0aa9ef Quick implementation of LV.Q and SV.Q in x86/x64 JIT 2013-01-25 19:50:30 +01:00
Lioncash
1cc74aa6c0 Get rid of unused iterators. 2013-01-25 13:11:06 -05:00
Henrik Rydgard
0930b5b587 Typo + warning fix 2013-01-25 19:08:28 +01:00
Henrik Rydgard
4deaec8924 Make ADPCM audio a little less crackly in a hacky way.. 2013-01-25 18:36:05 +01:00
Henrik Rydgard
31b73a0b99 No need for double precision in ADPCM decoder 2013-01-25 18:29:15 +01:00
Henrik Rydgard
8a32779150 Misc GPU stats etc changes 2013-01-25 18:29:14 +01:00
Unknown W. Brackets
6e6e71d116 Quick fix rtc crash, probably gives wrong results. 2013-01-25 08:34:04 -08:00
Unknown W. Brackets
1cd5421bdc Buildfix for missing functions on Android/win32. 2013-01-25 08:32:30 -08:00
Unknown W. Brackets
f102908f5d Fix crashes when localtime() can't handle the date. 2013-01-25 08:31:50 -08:00
Claus Østergaard
aa5996d028 File seek beyond file size should not fail
This caused Ridge Racer 2 to freeze after a few seconds
2013-01-25 13:13:32 +01:00
Henrik Rydgård
0c4b7905ac Merge pull request #488 from Xele02/sceRtc
Make sceRTC pass the tests.
2013-01-25 01:16:30 -08:00
Henrik Rydgård
0f080aeaaa Merge pull request #492 from unknownbrackets/jit-minor
ALU jit optimizations
2013-01-25 01:01:34 -08:00
Henrik Rydgård
d062e3cc83 Merge pull request #490 from unknownbrackets/jit-nice-delays
Nice delay slots, ahoy
2013-01-25 00:57:13 -08:00
Unknown W. Brackets
a7c6f46829 Optimize and/or 0 to just a mov in x86 jit. 2013-01-25 00:25:40 -08:00
Unknown W. Brackets
ab9bea068c Jit reg+reg compile time, and avoid flushing EDX. 2013-01-25 00:16:55 -08:00
Unknown W. Brackets
ce5f393fb8 Hit immediates in the ALU better and more simply. 2013-01-25 00:16:55 -08:00
Unknown W. Brackets
2748437032 Add support for FPU and VFPU for nice delay slots. 2013-01-24 20:18:18 -08:00
Unknown W. Brackets
f7ebddc4a3 Whitelist common delay slot ops with outreg info. 2013-01-24 19:59:33 -08:00
Unknown W. Brackets
d1909a1581 Add a quick disable define for nice delay slots. 2013-01-24 19:11:03 -08:00
raven02
7ccb87d11e Fix sound too fast issue 2013-01-25 08:48:28 +08:00
Xele02
0e69cd92c7 Make sceRTC pass the tests. 2013-01-25 01:40:38 +01:00
Unknown W. Brackets
75cbe18afc Simplify nice delay slot detect, and yes for noop.
NOOP seems very common so this should already benefit speed a bit.
2013-01-24 08:29:32 -08:00
raven02
3672214811 Comment int src 2013-01-24 23:43:26 +08:00
Unknown W. Brackets
2eba209f64 Move around the jit nice delay slot logic.
Nice delay slots don't not save flags, they run before the CMP.
2013-01-24 07:31:51 -08:00
raven02
faaa837ca2 Use u32 for leftVolume/rightVolume/format 2013-01-24 23:31:30 +08:00
raven02
2a1e366d33 Implement sceAudioSRCChReserve/Release/OutputBlocking 2013-01-24 23:29:49 +08:00
raven02
ae9fcb5a6f Fix high pitch noise and looping issues in few games 2013-01-24 20:13:12 +08:00
raven02
f6598d2cd6 Add psmfPlayerLastTimestamp to psmfplayer 2013-01-24 19:40:26 +08:00
raven02
8d94f84464 Fix black intro for Naruto Shippuden Kizuna Drive 2013-01-24 19:21:32 +08:00
Unknown W. Brackets
3444fc8981 Avoid some memory writes on jr.
Should improve tight mips function loops a bit.
2013-01-24 01:23:50 -08:00
Henrik Rydgård
45576328b2 Merge pull request #483 from unknownbrackets/psmfplayer-fix
For now, finish the psmf immediately
2013-01-24 00:17:37 -08:00
Unknown W. Brackets
38472b33ea For now, finish the psmf immediately.
Eventually we need to handle it more correctly.
2013-01-23 23:59:13 -08:00
Unknown W. Brackets
c1757ee166 Check downcount in jit after a syscall. 2013-01-23 22:25:35 -08:00
Henrik Rydgard
cb7f803866 Attempt to set more correct return values for sceDisplayWaitVblank* 2013-01-23 18:46:59 +01:00
raven02
9bc8a2e7cd Buildfix 2013-01-23 21:46:49 +08:00
Darth1701
06796c31b3 Update Core/HLE/FunctionWrappers.h
Buildfix
2013-01-23 13:07:51 +01:00
Henrik Rydgård
663322f830 Merge pull request #477 from raven02/master
Add error handling ERROR_SAS_INVALID_SIZE and ERROR_SAS_VOICE_PAUSED
2013-01-23 01:19:38 -08:00
raven02
0ea7877b66 Add missing stubs fro sceImpose 2013-01-23 16:55:52 +08:00
Henrik Rydgård
0d67acc52b Merge pull request #475 from Xele02/sceRtc
Implement sceRtcGetDosTime and sceRtcSetDosTime
2013-01-23 00:32:34 -08:00
Henrik Rydgård
262af9b13a Merge pull request #479 from unknownbrackets/psmfplayer-fix
Make scePsmfPlayerCreate create psmfPlayers
2013-01-23 00:30:56 -08:00
raven02
1749a9b5ae Put core as first paraemeter for DEBUG_LOG 2013-01-23 16:19:44 +08:00
Unknown W. Brackets
de1cb3fbca Make scePsmfPlayerCreate create psmfPlayers. 2013-01-22 23:44:23 -08:00
Unknown W. Brackets
d791f960a0 Hack to prevent games from lagging on atrac errors. 2013-01-22 23:01:10 -08:00
raven02
7346c4a042 Add error handling ERROR_SAS_INVALID_SIZE and ERROR_SAS_INVALID_PAUSED 2013-01-23 14:50:36 +08:00
Unknown W. Brackets
109764b17e Return a fake id for *AndGetID() atrac funcs. 2013-01-22 22:34:46 -08:00
Xele02
fff581aa88 Implement sceRtcGetDosTime and sceRtcSetDosTime. Pass the test.
This was RE since the values to return are not logic at all.
2013-01-23 01:25:32 +01:00
Xele02
8e719d4c8c Log in all build game output. This can help debugging with user log. 2013-01-23 01:20:38 +01:00
Henrik Rydgard
29f1ae5f70 add skeleton implementation of "cache" instruction 2013-01-22 22:03:41 +01:00
Henrik Rydgard
82d5ae021e VFPU: cap/floor float-to-int conversion instructions 2013-01-22 22:03:40 +01:00
Henrik Rydgard
0005fe1c5f Optional logging (ifdef) of cache calls for debugging 2013-01-22 22:03:40 +01:00
Henrik Rydgard
a75e85aa3c Hacky implementation of sceVaudio, whatever the point of that API is... 2013-01-22 22:03:40 +01:00
Unknown W. Brackets
dbe597ce64 Buildfix Android, darn. 2013-01-22 08:23:27 -08:00
Unknown W. Brackets
0e33923844 Belt and suspenders check for branch ops. 2013-01-22 08:11:37 -08:00
Unknown W. Brackets
c324983340 Make the jit support bltzal and friends.
Fixes problems with jit in games.  Android changes completely untested.
2013-01-22 08:04:01 -08:00
KentuckyCompass
83fa725424 std::string is not UTF8-aware 2013-01-22 06:59:22 -08:00
KentuckyCompass
9ce1887566 fix a bad format string in a DEBUG_LOG 2013-01-22 06:39:06 -08:00
KentuckyCompass
f9a843fb28 add case insensitivity to GetDirListing 2013-01-22 06:31:42 -08:00
Henrik Rydgård
c2b7fe29df Merge pull request #468 from unknownbrackets/jit-match
Match the interpreter better in jit
2013-01-22 00:43:59 -08:00
Xele02
2d94b3415e Make sceRtcGetDayOfWeek pass the test. 2013-01-22 08:55:01 +01:00
Unknown W. Brackets
de2df87758 Make interpreter call Advance() the same as jit.
Probably makes more sense anyway, since the first events will be
more correctly timed, like savestates, sound, etc.
2013-01-21 23:16:23 -08:00
Unknown W. Brackets
a9d0390426 Adjust downcount before syscalls, not after.
This makes jit slightly slower for syscalls, but it's minor and makes
sure jit and interpreter timing are determistically the same.
2013-01-21 22:57:53 -08:00
Unknown W. Brackets
566b7a0910 A branch was missing inDelaySlot, refactor it. 2013-01-21 22:45:07 -08:00
Sacha
0ce45cef55 Update for Qt project files. New Symbian icon (Belle style) thanks to z435312561. Stat64 -> stat. 2013-01-22 16:17:44 +10:00
Unknown W. Brackets
c897e6446a Don't over decr downcount when hitting a jit bp. 2013-01-21 19:41:12 -08:00
Unknown W. Brackets
d99d060c2e Decrement downcount in skipped likely slots.
Pretty sure this is right, it eats up a cycle as a nop.

Also some funny indentation.
2013-01-21 19:00:09 -08:00
Unknown W. Brackets
8438371941 Read memory in the jit dispatcher same as lw.
Just for consistency.  One less op, maybe faster, probably same.
2013-01-21 17:51:14 -08:00
raven02
4d1903f50c Set time format in config 2013-01-21 21:35:31 +08:00
Unknown W. Brackets
5170931aad Buildfix for Windows. 2013-01-21 01:15:57 -08:00
Henrik Rydgård
e370f653fb Merge pull request #458 from Xele02/testsceio
Improve sceIo for passing autotest
2013-01-21 00:21:48 -08:00
Henrik Rydgård
65203f3833 Merge pull request #459 from unknownbrackets/jit-branch
Jit branch debugging
2013-01-21 00:21:00 -08:00
Unknown W. Brackets
49965b7f1d Decrement downcount in the interpreter. 2013-01-20 21:48:38 -08:00
Unknown W. Brackets
1485b0865c Improve the speed of branch debugging a bit. 2013-01-20 19:48:55 -08:00
Unknown W. Brackets
dd69694302 Add some optional logging to debug jit branching. 2013-01-20 19:48:55 -08:00
Unknown W. Brackets
4c271fc09e Add DELAYSLOT and LIKELU flags to some ops.
Should improve cycle estimate, and makes analysis easier.
2013-01-20 19:48:54 -08:00
Unknown W. Brackets
776eb8ab2e Simplify CompileDelaySlot(). 2013-01-20 19:48:54 -08:00
Unknown W. Brackets
df06bb5624 Add some checks to make sure ZERO is never set. 2013-01-20 19:48:53 -08:00
Xele02
0633c18438 submodule sync 2013-01-21 01:38:24 +01:00
Xele02
3825df5c6a Improve sceIo to pass io autotest.
io/io, io/cwd, io/directory ok
io/file still have a file mode fail
2013-01-21 01:25:48 +01:00
Henrik Rydgård
9a132e6a85 Merge pull request #456 from unknownbrackets/jit-slowmem
Jit for sb, further optimizations
2013-01-20 14:19:11 -08:00
Henrik Rydgård
1b563f500c Merge pull request #457 from hrydgard/vertexcache
Vertex cache
2013-01-20 14:17:36 -08:00
Henrik Rydgard
8d845cc588 quick implementation of sceKernelReferMutexStatus 2013-01-20 23:11:48 +01:00
Unknown W. Brackets
a43078ab68 Same optimization for FPU load / store. 2013-01-20 13:16:41 -08:00
Unknown W. Brackets
f5963df0dc Optimize write to a single x64 op too. 2013-01-20 13:06:19 -08:00
Henrik Rydgard
d9c9a9102a Tiled renderers are much faster if we clear FBOs before rendering.
Alternatively we could use glDiscardFramebufferEXT but I haven't figured out how to call it.
2013-01-20 22:05:11 +01:00
Unknown W. Brackets
e8dc99328a Avoid using EAX as a temporary where possible.
All the regs should be indirect addressing compatible.  So if it's
in a reg, let's use that instead of EAX.
2013-01-20 12:57:14 -08:00
Henrik Rydgard
611fb3536f Try to use glDrawArrays in more situations, saving us a buffer. Misc. 2013-01-20 21:52:54 +01:00
Unknown W. Brackets
eaa24ee047 Use EDX as a temporary for sb, and jit it. 2013-01-20 12:25:08 -08:00
Henrik Rydgard
8b4deb93ce Merge branch 'master' into vertexcache 2013-01-20 19:18:52 +01:00
Unknown W. Brackets
30f6a4ba87 Fix stupid stupid typo breaking slowmem jit. 2013-01-20 09:39:13 -08:00
Henrik Rydgard
04860322f4 Merge branch 'master' into vertexcache 2013-01-20 11:30:11 +01:00
Unknown W. Brackets
da22eb8adf Make swc1 and lwc1 fast even without fastmem. 2013-01-20 02:07:00 -08:00
Henrik Rydgård
2cb830510c Merge pull request #444 from unknownbrackets/jit-minor
Don't muck with currentMIPS->r directly in the slowmem jit
2013-01-20 01:58:48 -08:00
Xele02
ccdc0b77c1 Set the PSP language in the config file 2013-01-20 10:50:05 +01:00
Henrik Rydgård
3ad4e0f9fd Merge pull request #452 from unknownbrackets/jit-mismap
Log missed jit ops for poor man profiling
2013-01-20 01:34:34 -08:00
Henrik Rydgård
b756caa76e Merge pull request #453 from raven02/master
MODE 6/7 for SCE_UTILITY_SAVEDATA_TYPE_DELETE/LISTDELETE
2013-01-20 01:33:10 -08:00
raven02
b16a208453 Add __PsmfPlayerDoState(PointerWrap &p) to sceKernel 2013-01-20 16:24:49 +08:00
Unknown W. Brackets
53600161ba Don't write anything to a bad static pointer.
Not sure what came over me...
2013-01-20 00:19:18 -08:00
raven02
6ebb06c171 Add PSP_SYSTEMPARAM_ID_INT_BUTTON_PREFERENCE and region Russia/Trad Chi/Sim Chi 2013-01-20 14:23:14 +08:00
raven02
6e6fa2458e Mode 7 should be SCE_UTILITY_SAVEDATA_TYPE_LISTDELETE 2013-01-20 12:40:24 +08:00
Unknown W. Brackets
385417effe Log jit misses at runtime instead of compile time.
Really, it could be very different after all... this shouldn't be
all that slow, I guess.
2013-01-19 20:11:17 -08:00
Unknown W. Brackets
75a3872923 Log missed jit ops for poor man profiling. 2013-01-19 19:58:25 -08:00
Unknown W. Brackets
862c88d61a More warning fixes, switches and printfs, etc.
This time ones not reported by Visual Studio.
2013-01-19 18:32:37 -08:00
Unknown W. Brackets
e78223d2c0 Since flipping the op is easy, also do lb/lh. 2013-01-19 16:25:57 -08:00
Unknown W. Brackets
5e8f1917ee Fix 64-bit memory dereferencing. 2013-01-19 16:25:57 -08:00
Unknown W. Brackets
90e6f0b7df Optimize static memory read/writes in jit as well.
Like the arm jit does.
2013-01-19 16:25:56 -08:00
Unknown W. Brackets
c64966c16e Oops, lost the CONDITIONAL_DISABLE. 2013-01-19 16:25:56 -08:00
Unknown W. Brackets
140fd171ef Fix some 64-bit type conversion warnings. 2013-01-19 13:48:20 -08:00
Unknown W. Brackets
37fb64ac83 Fast path scratchpad too, shouldn't be expensive. 2013-01-19 11:11:45 -08:00
Unknown W. Brackets
72e547420d Refactor jit slowmem, add lbu to jit since easy. 2013-01-19 11:11:45 -08:00
Unknown W. Brackets
5305017fc3 Properly save registers before the slowmem call. 2013-01-19 11:11:44 -08:00
Unknown W. Brackets
f1295f6262 Don't muck with currentMIPS->r in the slowmem jit. 2013-01-19 11:11:44 -08:00
Henrik Rydgard
8ff96bbcd8 Defer vertex decoding until flush. Track draw calls so that they can be cached later. 2013-01-19 17:05:50 +01:00
raven02
79d9f25e92 Display AM/PM and 12 hour format 2013-01-19 23:49:42 +08:00
raven02
7961197dac Cosmetic fix PSPSaveDialog::DisplayConfirmationYesNo 2013-01-19 23:05:05 +08:00
raven02
b0868613bb Add DoState() to scePsmfPlayer . 2013-01-19 21:07:50 +08:00
Henrik Rydgard
229d4e9f32 Buildfix 2013-01-19 13:10:52 +01:00
Henrik Rydgard
3ae4cd4e2a Correct an include path 2013-01-19 11:43:31 +01:00
Henrik Rydgård
c20cef2399 Merge pull request #440 from unknownbrackets/jit-minor
Micro optimizations to x86 jit mem when fastmem is off
2013-01-19 02:04:34 -08:00
Unknown W. Brackets
2ad77aa9c8 Gotta flush before the call, too. 2013-01-19 01:53:11 -08:00
Henrik Rydgård
ea963f80ed Merge pull request #437 from raven02/master
Implement couples of scePsmf and scePsmfPlayer functions
2013-01-19 01:17:04 -08:00
Henrik Rydgård
f93f348a46 Merge pull request #439 from unknownbrackets/jit-minor2
Jit breakpoints (x86 only)
2013-01-19 01:15:37 -08:00
Henrik Rydgard
0eeca3e9e4 Change background color of dialogs to a more psp-like transparent gray. Can be tweaked further of course. 2013-01-19 10:10:26 +01:00
Unknown W. Brackets
09422d5adb Avoid a func if possible when fastmem is off. 2013-01-19 01:02:47 -08:00
Unknown W. Brackets
bc75b68c36 Also jit sh and lhu, which are pretty common ops. 2013-01-18 23:10:51 -08:00
Unknown W. Brackets
d5ae85201c Optimize sw/lw even under safe memory.
They're very common instructions, so shaving cycles helps.
2013-01-18 23:10:50 -08:00
raven02
d1ec43bc64 Implement couples of scePsmf and scePsmfPlayer functions 2013-01-19 14:42:37 +08:00
Unknown W. Brackets
11c5cdfdb0 Refactor out all the CheckJitBreakpoint()s.
Ah, much cleaner.
2013-01-18 21:33:23 -08:00
Unknown W. Brackets
5080285e54 Add breakpoints for delay slots.
Wanted to do this in CompileAt(), darn not nice delay slots.
2013-01-18 21:12:58 -08:00
Unknown W. Brackets
40ae3dfe45 Correctly break at branch points in x86 jit. 2013-01-18 21:12:53 -08:00
Unknown W. Brackets
beac991a9e Clear jit cache when changing breakpoints.
For now, only when paused.  I don't think clearing the cache while
running is an awesome idea.
2013-01-18 20:12:53 -08:00
Unknown W. Brackets
a9293c8923 Add breakpoints to x86 jit for easier debugging.
They should be really fast so leaving them on in release.
2013-01-18 20:10:37 -08:00
Xele02
1f4f5eaf9a Add fade in / out on dialog to allow time for the user to release
button.
2013-01-19 00:46:05 +01:00
Xele02
bf7f6d54cb Use "newData" from request which is the PNG icon for empty save. 2013-01-18 22:24:13 +01:00
Unknown W. Brackets
76e693f674 Cleanup the other vpl functions. 2013-01-18 01:38:15 -08:00
Unknown W. Brackets
43c8726554 Oops, 0 is a valid timer id. 2013-01-18 01:38:14 -08:00
Unknown W. Brackets
0db19f8c8e Actually wake up threads on vpl free. 2013-01-18 01:38:14 -08:00
Unknown W. Brackets
4a56873541 Properly wake semaphores in priority order. 2013-01-18 01:38:13 -08:00
Unknown W. Brackets
4c510b5649 Clean up sceKernelFreeVpl(), not waking yet. 2013-01-18 01:38:13 -08:00
Unknown W. Brackets
c8bb837996 Implement basic waiting for VPL allocation.
Always times out so far, though.
2013-01-18 01:38:13 -08:00
Unknown W. Brackets
592a83b081 Make sure BlockAllocator doesn't get off grain.
This should fix spurious warnings about AllocAt() when loading a game.
2013-01-18 01:38:12 -08:00
Unknown W. Brackets
dcd3045cd5 Always use -1 for failed allocs in block allocator.
Before it used 0 and -1, confusing.
2013-01-18 01:38:12 -08:00
Unknown W. Brackets
373f1f8655 Cleanup sceKernelCreateVpl() and add warns/errors. 2013-01-18 01:38:11 -08:00
Unknown W. Brackets
7d0e78b0f0 Revert part of 289b0eb which broke some games.
Although defAction isn't a good solution, removing it outright seems
to break things.
2013-01-18 01:22:48 -08:00
Xele02
86d70a3161 Update dialog display and return code depending of request version. 2013-01-17 23:30:45 +01:00
Sacha
5552f93fca Fixes for Qt, Symbian and Blackberry. Reorder and remove some redundant ArmEmitter includes so that _SP doesn't conflict. 2013-01-17 11:00:07 +10:00
Henrik Rydgård
5e876f4308 Merge pull request #432 from raven02/master
Add couple of sceIoIoctl commands and misc stubs
2013-01-17 05:32:10 -08:00
raven02
289b0eb81e Add/update stubs in sceIo 2013-01-17 20:05:45 +08:00
Unknown W. Brackets
74cce1439b Allow downcount to be negative.
This fixes threads/alarm/alarm and ctrl/sampling2/sampling2, which were
broken in 674911dd.

The downcount can go negative for a few reasons, and was signed before.
2013-01-17 01:14:49 -08:00
Unknown W. Brackets
65568b54b6 Let's actually call Init/Shutdown in CoreTiming. 2013-01-17 01:12:40 -08:00
Henrik Rydgård
f493aad0fe Merge pull request #425 from raven02/g3d-log
Minor fix disable G3D log at startup
2013-01-16 00:08:09 -08:00
Henrik Rydgård
e23365dfa9 Merge pull request #430 from unknownbrackets/thread-funcs
Remove some thread stack hacks that aren't needed.
2013-01-15 23:40:19 -08:00
Henrik Rydgård
3135c218f8 Merge pull request #429 from hrydgard/armjit
Arm JIT - merge to master
2013-01-15 23:39:29 -08:00
Unknown W. Brackets
8c07a5c87f Remove some thread stack hacks that aren't needed. 2013-01-15 19:46:52 -08:00
raven02
829ae42717 Quick fix to PSPSaveDialog::DisplayBack() 2013-01-16 08:46:41 +08:00
raven02
fb25584cd8 Minor fix to save/load dialog matching to PSP 2013-01-16 08:39:31 +08:00
raven02
dde889d2e3 Minor fix disable G3D log 2013-01-16 08:37:41 +08:00
Henrik Rydgård
2f758d515b Merge branch 'master' into armjit 2013-01-15 22:41:02 +01:00
Henrik Rydgard
e34288070c Don't flush the icache from the start, also don't sleep. May help JIT slowdowns. 2013-01-15 20:42:45 +01:00
Sacha
4ab88cad12 Qt code refactor. Stage 1 in a code refactor. Removed NativeApp.cpp redundancy (since the Qt code reimplemented almost all of it). Changed to Qt types where logical. Cleaned up globals. Start of work at integrating more of the Qt code in to native/ (where GUI should be). 2013-01-16 02:20:21 +10:00
raven02
5ca532646c Revert component order change for PPGeDraw 2013-01-15 16:50:52 +08:00
raven02
622627f69a Match PSP savelist and transparent dialog 2013-01-15 08:12:52 +08:00
Henrik Rydgard
74a46f60ed Initialize downcount. 2013-01-14 23:03:37 +01:00
Henrik Rydgard
66ee2e2933 Remove ArmABI.cpp/h, didn't need that stuff. 2013-01-14 22:19:18 +01:00
Henrik Rydgard
8ce9ce10bf Merge branch 'master' into armjit
Conflicts:
	Common/ArmEmitter.h
	Common/CPUDetect.cpp
2013-01-14 20:46:17 +01:00
Henrik Rydgard
7271e3fcd5 Fix fog and stencil buffer clearing. The latter fixes the sky in MotoGP. 2013-01-14 20:44:11 +01:00
Henrik Rydgard
0a374047b1 initial implementation of vh2f, used in Saint Seiya 2013-01-14 20:44:10 +01:00
Sacha
dde656ddc6 Improve Qt build. Fix for pandora build. Only show controls overlay by default for mobile platforms (Qt). 2013-01-15 01:13:53 +10:00
Henrik Rydgård
ec6c2428a9 Merge pull request #414 from raven02/master
Match real PSP save/load/delete dialog
2013-01-14 04:07:55 -08:00
raven02
8a1f90c38e Display underline using PPGeDrawRect 2013-01-14 08:45:53 +08:00
Xele02
fd301a000a Implement Qt window like Windows version. 2013-01-14 00:29:42 +01:00
Henrik Rydgard
ae20d6c00f Constify some tables 2013-01-13 20:38:52 +01:00
Henrik Rydgård
21b93d33cd Merge pull request #405 from raven02/g3d-log
Add disable G3D log to option menu , make default false
2013-01-13 08:34:28 -08:00
Henrik Rydgard
6d29052e42 oops 2013-01-13 17:10:59 +01:00
Henrik Rydgard
7b113aaea5 Move vCount++ back. Makes more sense here too IMHO. 2013-01-13 16:47:41 +01:00
Henrik Rydgard
8277d901e2 Smash some memory leaks 2013-01-13 16:46:45 +01:00
raven02
863b2c8272 Match PSP save/load/delete dialog 2013-01-13 23:45:32 +08:00
Henrik Rydgard
338a73472b Buildfix 2013-01-13 12:49:54 +01:00
Henrik Rydgard
7484ddfbbc Merge branch 'master' into armjit
Conflicts:
	Common/ArmEmitter.h
2013-01-13 12:14:32 +01:00
Henrik Rydgard
db92bdda17 Cleanup of horrible ancient symbolmap code - no more global arrays. 2013-01-13 12:12:14 +01:00
Henrik Rydgard
a79caf0bb9 Handle vcount like jpscp. sceDisplayWaitVblank shouldn't wait if already in vblank (while WaitVBlankStart does). 2013-01-13 11:33:26 +01:00
Henrik Rydgård
e7f5397716 Merge pull request #380 from YaPeL/master
Wrap some functions v3...
2013-01-12 14:11:46 -08:00
Federico Apelhanz
463883acd5 fixed tabulation 2013-01-12 15:24:58 -03:00
Federico Apelhanz
e82161f33a Revert some files (I think) 2013-01-12 15:24:58 -03:00
Federico Apelhanz
ebc669c0f6 Revert "Wraped some functions, removed some spaces"
This reverts commit 1c62f75a04c39b1bc9568a79a7a8eee18cc56542.
2013-01-12 15:24:09 -03:00
Federico Apelhanz
062838da8a Wraped some functions, removed some spaces 2013-01-12 15:21:12 -03:00
YaPeL
9cde301f4d Wrap functions on HLETables 2013-01-12 15:17:35 -03:00
Sacha
f0bd526ca3 Fix physical VRAM memory ranges. BlazBlue is now playable again. 2013-01-13 03:52:49 +10:00
Lewis Robbins
e0e8ae8673 silenced compiler warnings 2013-01-12 13:35:51 +00:00
Henrik Rydgard
6a3dd792a5 Identify CISO the right way. Fixes issues with uppercase filenames.. 2013-01-12 12:52:00 +01:00
Henrik Rydgard
64f953c5e1 8-byte align the ARM stack. Type some ideas. 2013-01-12 12:26:44 +01:00
raven02
4673fa30c7 Fix DS_ERROR , allow Ys vs Sora ingame 2013-01-12 16:29:34 +08:00
raven02
3a6246eae7 Add Disable G3D Log to ini , make default false 2013-01-12 08:23:24 +08:00
Henrik Rydgard
674911ddba Move downcount into MIPSState for efficiency, enable block linking.
On ARM JIT we can now reach it through the cpu context reg.
2013-01-12 00:44:18 +01:00
Henrik Rydgard
0663f471a2 Merge branch 'master' into armjit 2013-01-11 23:48:42 +01:00
Henrik Rydgard
36eaabd917 Some constant propagation. Comment out sltiu which causes problems aiming in puzbob (???) 2013-01-11 23:42:58 +01:00
Henrik Rydgård
40dbdb8d4e Merge pull request #404 from unknownbrackets/more-stats
Show the most active syscall too
2013-01-11 10:31:55 -08:00
KentuckyCompass
a13c2da407 rename System -> MountPoint and add convenience wrapper 2013-01-11 10:10:37 -08:00
KentuckyCompass
9f4680a267 don't chop off prefix when mapping path for chdir 2013-01-11 10:10:36 -08:00
Henrik Rydgard
37be2600be Shave some more instructions 2013-01-11 18:50:05 +01:00
Unknown W. Brackets
bec6c8d80c Make the debug statistics easier to read. 2013-01-11 09:01:57 -08:00
Henrik Rydgard
2e6063d084 Merge branch 'master' into armjit 2013-01-11 18:01:32 +01:00
Unknown W. Brackets
6ec8fe6bf3 Track summed totals of syscalls.
Just so we can easily see if some func is being called a ton.
2013-01-11 08:59:15 -08:00
Henrik Rydgard
ebcb7af7cc Typo fix 2013-01-11 17:57:20 +01:00
Henrik Rydgard
bc9c3db303 Armjit: Add option for fastmem. Small optimization. 2013-01-11 17:25:54 +01:00
Henrik Rydgard
9b791b9953 More ARMJIT optimization 2013-01-11 15:22:31 +01:00
Unknown W. Brackets
7c6fd04fa2 Clear the free packets when hitting end of video. 2013-01-11 01:13:03 -08:00
Henrik Rydgård
c6efdb4af0 Merge pull request #395 from raven02/master
Add option to disable G3D log
2013-01-11 00:26:08 -08:00
Henrik Rydgård
f2b56931e5 Merge pull request #396 from unknownbrackets/power
Some scePower callback fixes
2013-01-11 00:25:25 -08:00
Unknown W. Brackets
e680aa79cf Implement a basic scePowerGetBatteryLifeTime().
Was spamming the log in one game, just pretend we're plugged in for now.
2013-01-11 00:15:54 -08:00
Unknown W. Brackets
92f5ed82e6 Cleanup some functions in scePower. 2013-01-11 00:15:54 -08:00
raven02
e34ba40519 Add option to disable G3D log 2013-01-11 16:14:58 +08:00
Henrik Rydgård
fdc705cf1a Merge pull request #394 from KentuckyCompass/threaded_cwd
Threaded cwd
2013-01-11 00:05:27 -08:00
Henrik Rydgard
ba804cfa89 Cleanup ArmAsm, add idea 2013-01-11 02:28:02 +01:00
Henrik Rydgard
647aa29a30 Merge branch 'master' into armjit 2013-01-11 02:07:41 +01:00
Henrik Rydgard
6ab6045baf Throw away unused FBOs. This gets rid of extreme slowness of Star Soldier on Nexus S for whatever reason. 2013-01-11 02:00:51 +01:00
Henrik Rydgard
aa59ddad09 Merge AsmRoutineManager into Jit. Allows safe short branches. 2013-01-11 01:59:26 +01:00
KentuckyCompass
cd923ed13b helper function should be static 2013-01-10 16:25:30 -08:00