Henrik Rydgård
4a89e2e74f
Add "Dump frame GPU commands" to the "in-game" dev menu too.
2013-11-15 16:49:13 +01:00
Henrik Rydgård
40bd1fa650
Add freeze-frame to developer menu. Only useful for developing, like when using nVidia PerfHud.
2013-11-15 13:11:44 +01:00
Henrik Rydgård
cd251af345
More minor SasAudio optimizations
2013-11-15 12:28:16 +01:00
Henrik Rydgård
21006dc6a7
SasAudio: Compute envelope duration on state changes only.
2013-11-15 12:05:10 +01:00
Unknown W. Brackets
5128083d93
Mask out fcr31 bits that can't be set on a PSP.
2013-11-14 23:57:28 -08:00
Unknown W. Brackets
21c9577801
Initialize fcr31 correctly (even though unsup.)
2013-11-14 23:44:49 -08:00
Unknown W. Brackets
3c73d0d1f1
armjit: Read fpu control regs other than 0/31 as 0.
...
Always seem to give zero, regardless of the value of fcr31, etc.
2013-11-14 23:39:39 -08:00
Unknown W. Brackets
763eff181d
Fix handling of jalr when delay slot changes rd.
2013-11-14 23:39:13 -08:00
Unknown W. Brackets
26f5922174
Return the correct value for fcr0/fir.
...
This is what the PSP actually returns, it's read only.
2013-11-14 23:39:08 -08:00
Unknown W. Brackets
98fb2e0402
armjit: Refer to R11 as MEMBASEREG for clarity.
2013-11-14 23:37:48 -08:00
Sacha
e3bdb3e09b
Disable LitPool as it is causing crashes with Vertex Decoder JIT. Performance seems to be almost unaffected since the IMM changes.
2013-11-15 14:12:00 +10:00
Sacha
20e8a81268
Switch to compile-time ARMV7 define.
2013-11-15 11:20:39 +10:00
Henrik Rydgard
5e3fd4f1fa
Turn down reloc logging a bit more
2013-11-14 23:07:22 +01:00
Henrik Rydgård
90888aad14
Merge pull request #4532 from sum2012/sceio
...
Fix Buzz Ultimate Music Quiz black screen Sporadically
2013-11-14 14:03:20 -08:00
Henrik Rydgård
c9475b17b8
Merge pull request #4514 from shenweip/patch-3
...
Skip the read of secure files which are not in SFO.
2013-11-14 14:02:21 -08:00
Henrik Rydgard
9a14d33372
Disable software divide that appears to be buggy, see #4539
2013-11-14 17:25:02 +01:00
Henrik Rydgård
e98d0d8327
Merge pull request #4510 from pal1000/master
...
Cwcheat: Allow comments in cheat files starting with // mainly for writing cheat usage guidelines
2013-11-14 07:14:21 -08:00
shenweip
37e477f6e5
Add a log and fix typo.
2013-11-14 22:49:26 +08:00
shenweip
9bc534d54a
Wrap some empty functions.
2013-11-14 22:43:00 +08:00
Henrik Rydgard
003cb41db5
Oops, that was too much logging on startup.
2013-11-14 12:32:59 +01:00
Henrik Rydgard
9d4ece0f58
Robustify the ELF loader a little - it didn't like unaligned addresses..
2013-11-14 11:44:14 +01:00
sum2012
f3263ed4ba
Fix Buzz Ultimate Music Quiz Crash Sporadically
...
issue#4497
2013-11-14 05:21:24 +08:00
Henrik Rydgård
da380478f6
Enable software skinning by default
2013-11-13 19:55:20 +01:00
Henrik Rydgard
7e67476b00
Simple unoptimized software skinning.
...
Does not take advantage of the possible reduction in state changes yet.
2013-11-13 18:10:57 +01:00
Henrik Rydgård
836820b41e
Merge branch 'vfpucc'
2013-11-13 10:03:51 +01:00
Sacha
08803c101e
Remove MathUtil.{cpp,h}
2013-11-13 11:26:12 +10:00
The Dax
d56114e30d
Fix VS2013.
2013-11-12 18:37:06 -05:00
Henrik Rydgård
ef8631c57f
Cache VFPU_CTRL_CC in a register
2013-11-12 17:58:29 +01:00
Sacha
91ddddc2ef
Remove unused Thread.{cpp,h}
2013-11-13 02:50:46 +10:00
Henrik Rydgard
54217deb16
Speed up UpdateUniforms a little
2013-11-12 17:06:03 +01:00
Henrik Rydgard
df3765a320
Arm jit: optimize ES, NS conditions in vcmp. Bugfix TR.
2013-11-12 14:43:12 +01:00
Henrik Rydgard
a2e0a4d9bf
x86 jit: Optimize ES, NS (is-nan-or-inf) conditions in vcmp
2013-11-12 14:07:48 +01:00
Henrik Rydgard
84f20a1cad
Small optimizations
2013-11-12 14:05:50 +01:00
Henrik Rydgård
efc35103e5
Merge pull request #4483 from xekarfwtos/tsa
...
Fixes issue #4477 : ULUS10419 : Tenchu: Shadow Assassins hangs the emu.
2013-11-12 04:33:24 -08:00
Unknown W. Brackets
f4b5e8a4c1
Merge pull request #4518 from hrydgard/fpcond
...
ARMJIT: Cache fpcond in a register to avoid store/load between compare and branch
2013-11-12 01:50:16 -08:00
Henrik Rydgård
66581c4d83
Merge pull request #4517 from Kingcom/SaveDialog
...
Partially implement SCE_UTILITY_SAVEDATA_FOCUS_NAME
2013-11-12 01:42:20 -08:00
Henrik Rydgård
17074f5a7f
Cache fpcond in a register to avoid store/load between compare and branch
2013-11-12 10:33:38 +01:00
Kingcom
7f9182033e
Partially implement SCE_UTILITY_SAVEDATA_FOCUS_NAME
2013-11-12 10:10:56 +01:00
Henrik Rydgård
e111034b53
Merge pull request #4516 from unknownbrackets/armjit-minor
...
Improve spilling regs on ARM
2013-11-12 01:01:19 -08:00
Unknown W. Brackets
a334aaf6ca
x86jit: Refactor and skip flushes in branch cont.
...
Still not faster, but at least the code isn't as messy.
2013-11-12 00:45:28 -08:00
Sacha
3e762f2864
Make !USE_FFMPEG savestates compatible.
2013-11-12 18:06:43 +10:00
Unknown W. Brackets
32504ed46e
armjit: Prioritize spilling regs not used soon.
...
This may improve trashing.
2013-11-12 00:03:39 -08:00
Sacha
efad755ccc
Buildfix !USE_FFMPEG
2013-11-12 17:52:43 +10:00
Unknown W. Brackets
1bfce12fdd
armjit: Report some unexpected situations.
2013-11-11 23:41:18 -08:00
Unknown W. Brackets
ac5aacbd16
armjit: Spill an imm armreg back to an imm.
...
We might be able to avoid the store or etc.
2013-11-11 23:39:13 -08:00
shenweip
d3fbbebe16
Only skip when load fail.
2013-11-12 12:14:16 +08:00
shenweip
c5a6e4653b
Only check in secure mode.
2013-11-12 12:08:11 +08:00
shenweip
02ceb312cf
Skip the load of secure files which are not in SFO.
2013-11-12 11:21:26 +08:00
pal1000
6a894463b7
Fixed missing ")"
2013-11-11 17:23:37 +02:00
pal1000
5efc4474b0
Fixed pull 4510, this should work.
2013-11-11 17:14:21 +02:00
pal1000
6e67494db0
Cwcheat: Allow comments in cheat files starting with // mainly for writing cheat usage guidelines
2013-11-11 12:01:44 +02:00
Unknown W. Brackets
7e19933f64
x86jit: Try predicting branch continues.
...
Still doesn't seem to work. Something like a 4% gain in Star Ocean was
the best I saw...
2013-11-10 22:50:23 -08:00
papel
38a5233dd4
Fix GetBufferInfoForResetting
2013-11-11 08:49:15 +02:00
Unknown W. Brackets
bb960480c8
x86/armjit: Stop compiling on a jump to invalid.
2013-11-10 21:59:50 -08:00
Unknown W. Brackets
fd38b10ab6
x86jit: Rename imm funcs to match armjit.
2013-11-10 21:59:49 -08:00
Unknown W. Brackets
359110f010
x86/armjit: Add jump following (off by default.)
...
Inlines function calls up to a certain extent. Allows us to get
immediates all the way to a syscall, for example, usually.
Not sure if faster.
2013-11-10 21:59:49 -08:00
Unknown W. Brackets
aacb31bc18
armjit: Copy over (disabled) immbranch optim.
...
This does a little loop unrolling. Costs a bit more cache space, but
avoids flushing regs for longer.
Not enabled.
2013-11-10 21:59:48 -08:00
Unknown W. Brackets
92ecff4396
armjit: keep track of instructions in jitstate.
...
To match x86.
2013-11-10 21:59:48 -08:00
Unknown W. Brackets
8ceaafc159
armjit: Verify free space while compiling.
2013-11-10 21:59:48 -08:00
Unknown W. Brackets
ca7b2b554b
armjit: fix major typo breaking mult/multu.
2013-11-10 21:54:44 -08:00
Henrik Rydgård
a1196399ef
Merge pull request #4503 from unknownbrackets/armjit-imms
...
Retain immediates in the armjit, optimize similar imms
2013-11-10 17:22:20 -08:00
Unknown W. Brackets
e1fffdb37a
armjit: Don't reload an armreg ptr marked noinit.
2013-11-10 16:43:38 -08:00
Unknown W. Brackets
67eaa2fd1c
armjit: Optimize immediate load/stores in a row.
2013-11-10 16:32:48 -08:00
Unknown W. Brackets
bc0a846475
armjit: Optimize imm addresses (could do better...)
2013-11-10 16:30:20 -08:00
Unknown W. Brackets
c63560c0dd
armjit: Try to find imms to optimize a reg load.
...
This way we skip the MOVW/MOVT and go for one op only.
2013-11-10 16:20:34 -08:00
Unknown W. Brackets
7e46ee0b0f
armjit: Replace MOVI2R with using the regcache.
...
So that it can optimize the value with existing imms.
Not actually optimizing yet.
2013-11-10 15:50:45 -08:00
Unknown W. Brackets
d092f7dd2d
armjit: Remember reg imm values even after flush.
...
This way, we can base other imm values off them, or even do imm math using
them. We can also avoid re-flushing an imm.
2013-11-10 15:50:14 -08:00
Unknown W. Brackets
7f9cbc0f10
armjit: Minor cleanup and logging tweaks.
2013-11-10 15:12:40 -08:00
Unknown W. Brackets
455a7e090d
Compile the cache instruction to nothing.
...
Was showing up in a few profiles, does nothing currently.
2013-11-10 14:38:10 -08:00
Unknown W. Brackets
1cc68f50ca
armjit: Small optimization to syscall instr.
2013-11-10 14:38:10 -08:00
Unknown W. Brackets
b30928036e
armjit: Avoid flushing an imm in beq/bne/etc.
...
We might be able to STMIA it instead.
2013-11-10 14:38:10 -08:00
Unknown W. Brackets
285ec1fad5
armjit: Implement mult/multu for immediates.
...
Uncommon, but may reduce instructions a bit.
2013-11-10 14:38:09 -08:00
Unknown W. Brackets
3a8f0598c4
x86jit: Implement wsbh/wsbw.
2013-11-10 14:38:09 -08:00
Unknown W. Brackets
9bec82873c
armjit: inline byteswaps of imm values.
2013-11-10 14:38:08 -08:00
Unknown W. Brackets
06c8cb9174
armjit: Do shifts with imms as much as possible.
...
This may even make an imm operand2 safe that wasn't before.
2013-11-10 14:38:08 -08:00
Sacha
f29d9c0bf9
Blackberry: fix freezing due to overflow of nanoseconds in timer.
2013-11-11 04:53:08 +10:00
Unknown W. Brackets
b2c2a87511
Fix omitted CC_AL reset, fixes #4498 .
...
Was breaking non-fastmem lwl/lwr/etc.
2013-11-10 09:24:40 -08:00
Henrik Rydgård
cc23635843
Merge pull request #4495 from unknownbrackets/multithread
...
Fix some issues in multithreading on Android
2013-11-10 01:56:50 -08:00
Unknown W. Brackets
d6048dc646
Don't burn the cpu while idle in multithread.
2013-11-09 23:08:45 -08:00
Unknown W. Brackets
113146302b
Don't schedule a finish event when not running.
...
Otherwise it'll get it when it does run, and stop early.
2013-11-09 23:08:44 -08:00
Unknown W. Brackets
afafa5fcd6
Make sure the gpu thread has a chance to run.
...
If the scheduler puts it on the same core, it may not even do anything
before we check if the framebuffer is dirty, so SyncThread will quit since
it's not even running.
Instead, let's wait until it's at least done something.
2013-11-09 23:08:28 -08:00
Unknown W. Brackets
879060f008
Use a CORE_POWERUP state when starting.
...
Otherwise, we could startup in CORE_POWERDOWN in a second game, which is
confusing.
2013-11-09 23:07:52 -08:00
shenweip
0a9cf9b1bc
Turn up logging.
2013-11-10 10:40:56 +08:00
Igor Calabria
33f4b44061
Moves proAdhoc extra functions to a separate file
2013-11-10 01:26:31 +00:00
Unknown W. Brackets
b310edc5f8
Fix typo in ARM debug build.
2013-11-09 15:58:27 -08:00
Henrik Rydgard
d1c012d75e
ARM: Open up all 32 accessible VFP registers if NEON is available.
2013-11-09 20:18:20 +01:00
Henrik Rydgård
70a239ba47
Merge pull request #4486 from unknownbrackets/debugger
...
Use a shortcut for copying instructions, enable G3D log always
2013-11-09 11:08:12 -08:00
Unknown W. Brackets
712b582d26
Remove coreParam.disableG3Dlog and enableDebugging.
...
One was uninitialized, the other one unused.
2013-11-09 11:02:12 -08:00
Henrik Rydgard
0a844ce98d
Delete functions for vsge and vslt, these have been rolled into VecDo3
2013-11-09 19:29:52 +01:00
Henrik Rydgard
63334698e1
Add temporary setting to disable the vertex decoder jit while we debug it
2013-11-09 18:16:26 +01:00
Unknown W. Brackets
a3a061a69f
armjit: Optimize a division by a power of two.
...
These really happen.
2013-11-09 08:43:53 -08:00
Unknown W. Brackets
1776c85882
armjit: Implement a software divide for divu.
...
It's not actually that much code.
2013-11-09 08:43:52 -08:00
Unknown W. Brackets
b2a240d105
armjit: Implement msub/msubu.
2013-11-09 08:43:52 -08:00
Unknown W. Brackets
3aa8706ae7
armjit: Optimize lwl/lwr against an imm address.
2013-11-09 08:43:48 -08:00
Unknown W. Brackets
4026944b02
armjit: Handle lwl/lwr (not pretty, though.)
2013-11-09 08:42:30 -08:00
Henrik Rydgård
e90f7f360d
Merge pull request #4480 from unknownbrackets/perf
...
Flush regs using STMIA if possible, plus imm adjustments (armjit)
2013-11-09 08:41:25 -08:00
Henrik Rydgard
06ce01ea04
Remove erroneous comment.
2013-11-09 17:34:52 +01:00
Unknown W. Brackets
54168b173e
armjit: Clean up some magic numbers.
2013-11-09 08:25:08 -08:00
Unknown W. Brackets
6038d96b46
armjit: Flush regs using STMIA where possible.
2013-11-09 08:25:07 -08:00
Unknown W. Brackets
e686ff59bf
armjit: Allocate regs in preferred slots.
...
This may allow better flushing. Not sure if these are the best regs,
but if they aren't it shouldn't really hurt.
2013-11-09 08:25:07 -08:00
Unknown W. Brackets
cb3bb73148
armjit: Improve GPR typesafety.
2013-11-09 08:24:15 -08:00
Unknown W. Brackets
945b8bf5c5
armjit: optimize reverse subtract, avoid temp imms.
...
If we have a non-op2 imm, get rid of it asap. If we have a op2 friendly
imm, keep it.
2013-11-09 08:18:43 -08:00
Unknown W. Brackets
415f22ecac
armjit: Preserve imms on min/max as well.
2013-11-09 08:18:43 -08:00
Henrik Rydgard
502f772856
Add experimental mode to cache pointers in the arm jit.
...
Turned off for now as it needs more work but seems quite promising already.
2013-11-09 17:15:30 +01:00
Henrik Rydgard
58c39a38ee
ARM regcache: Add mechanism to keep registers converted to pointers around
2013-11-09 16:57:29 +01:00
Henrik Rydgard
5ad04a23f4
x86 jit: Rename BindToRegister to MapReg
2013-11-09 15:23:31 +01:00
Henrik Rydgard
d26692ef92
Fix bug from a couple of commits ago in ARMJit
2013-11-09 15:22:39 +01:00
Henrik Rydgard
316d23d4cc
Optimize mfv/mtv/mfc1/mtc1 on x86 too
2013-11-09 14:06:45 +01:00
Henrik Rydgard
04451623b9
This variant didn't seem to make much difference either (see prev commit)
2013-11-09 13:06:10 +01:00
Henrik Rydgard
15bc5a8db7
Add small ARM perf experiment. Did not help on ARMv7 so turned it off.
...
xsacha might want to try it on ARMv6.
2013-11-09 12:57:07 +01:00
Henrik Rydgard
2fe898cda8
Add comment with link to important github thread about sceSas threading
2013-11-09 02:05:28 +01:00
Unknown W. Brackets
5d46a82f43
armjit: Use a MOV for add/or with 0.
...
Might skip the ALU, so might be faster.
2013-11-08 11:41:57 -08:00
Unknown W. Brackets
b8e126e7ce
armjit: Preserve imms in slt/sltu as possible.
2013-11-08 11:41:57 -08:00
Unknown W. Brackets
8393d4aaae
armjit: Preserve immediates more in nor.
2013-11-08 11:41:56 -08:00
Unknown W. Brackets
d7e42b26a3
armjit: Avoid flushing imm on add t0, imm, imm.
2013-11-08 11:41:56 -08:00
Unknown W. Brackets
a435c9dd13
armjit: Optimize movz/movn with immediates.
2013-11-08 11:41:55 -08:00
Unknown W. Brackets
376918c408
armjit: Reverse add t0, N, t1 to preserve imm.
2013-11-08 11:41:55 -08:00
Unknown W. Brackets
02dd250354
armjit: Optimize out a few immediate logic cases.
2013-11-08 11:39:24 -08:00
Henrik Rydgard
58db79672f
Fix vmtvc on ARM, fixing issues with our prefix check. Add some logging.
...
Also improve vcmp on ARM.
2013-11-08 19:59:11 +01:00
Henrik Rydgard
a028f07951
Turn down some logging.
2013-11-08 18:52:07 +01:00
Henrik Rydgard
309f904c0c
Extract JitState into its own header (arm/x86)
2013-11-08 18:51:52 +01:00
Henrik Rydgard
f57f8170d3
ARMjit: Optimize mfv, mtv
2013-11-08 12:43:48 +01:00
Henrik Rydgard
dff0c431aa
ARMjit: Optimize mfc1, mtc1
2013-11-08 12:43:48 +01:00
Henrik Rydgard
5a95e267fb
Add an optimization to discard registers at the end of functions when possible.
...
Works in some games but crashes many so hiding it for now. Do not add UI.
2013-11-08 12:43:48 +01:00
Sacha
803148b8ca
ARMv6: Fix offsets > 4096 for litpool. More aggressive check.
...
Somehow Scooby Doo gets to offsets of ~4200 unless i drop the threshold down to ~3200. Not sure why the offset can jump by so much in one instruction.
Makes Scooby Doo playable now instead of showing a blue screen in the main game. Likely affects other games.
2013-11-08 16:07:05 +10:00
Henrik Rydgard
c0d7c5e958
vsgn x86 bugfix
2013-11-07 21:07:07 +01:00
Henrik Rydgard
6eb7f94065
Implement vsgn in x86/x64 and ARM jit
2013-11-07 15:29:13 +01:00
Henrik Rydgard
32c95af820
ARM: Some zero-register fixes
2013-11-07 15:29:13 +01:00
Henrik Rydgard
91393093bc
Re-enable the "nice delay slot" optimization on ARM
2013-11-07 15:29:12 +01:00
Henrik Rydgård
714754e149
sceAudio: only use the optimized volume=max path if stereo, add a TODO.
...
Might take care of #4470 .
2013-11-07 11:50:24 +01:00
Henrik Rydgård
dbaac03afb
Merge pull request #4462 from Kingcom/FollowOp
...
Extend follow functionality of disassembly
2013-11-06 12:15:57 -08:00
Unknown W. Brackets
82706ef82d
Fix a crash if the gpu doesn't load.
...
E.g. for invalid files with multithreading enabled.
2013-11-06 07:49:32 -08:00
Henrik Rydgård
23ac6ea2fd
Merge branch 'autoLoadSave' of https://github.com/bollu/ppsspp into bollu-autoLoadSave
...
Conflicts:
Core/Config.h
UI/EmuScreen.cpp
2013-11-06 15:40:36 +01:00
Henrik Rydgård
1e158fa652
ARM vtx dec: Preserving our FP scratch register appears to improve
...
stability.
Also added some logging.
2013-11-06 11:47:26 +01:00
Henrik Rydgård
9be3f8fc0a
Use ANDI2R instead of a BIC with a too large parameter
2013-11-06 10:50:30 +01:00
Henrik Rydgård
e687b283f1
Logspam reduction
2013-11-06 10:34:56 +01:00
Sacha
81d3df0841
ARMJIT: Minor optimisations for armv6 and armv7.
2013-11-06 15:28:26 +10:00
Kingcom
aae08173f1
Extend follow functionality of disassembly
2013-11-05 21:20:21 +01:00
Igor Calabria
f3f0bc231b
Adds cleanup method after game exit
2013-11-05 16:36:01 +00:00
Sacha
61e6054920
Revert change to WSBH as we don't have a swap16 that takes/returns u32.
2013-11-06 01:38:02 +10:00
Henrik Rydgard
6483c0c2cd
Two minor armjit optimizations
2013-11-05 16:25:01 +01:00
Sacha
a5011e3ff0
Improve swap usage in MIPS. ARMv6 can use REV/REV16. Intepreter can use existing swap functions.
2013-11-06 01:20:35 +10:00
Sacha
b1b4679fe6
Scale touch controls to screen resolution.
...
Include a migration method for users who were on the old static system.
Scaling up may still look weird due to the hacky method of placement which is unchanged by this commit.
Next step of resolution independence would be to have the button scaling affected by resolution too.
Tested on a few devices. Mobile users should see no changes at all.
2013-11-05 14:52:31 +10:00
Henrik Rydgård
508830b45b
Merge pull request #4447 from Bigpet/DSoundRefactoring
...
move direct sound specific behavior into the actual direct sound function
2013-11-04 11:22:50 -08:00
Peter Tissen
9b9ba165e0
move direct sound specific behavior into the actual direct sound function instead of into an ifdef
2013-11-04 18:29:49 +01:00
Unknown W. Brackets
859d14d3f5
Correct sceKernelIsCpuIntrSuspended().
...
It takes a param. Verified by tests, it just returns what the param
means, not anything about the current state.
2013-11-04 08:03:51 -08:00
Unknown W. Brackets
dfbfed7534
Oops, avoid a crash on a bad HLE func.
...
In the debug stats area.
2013-11-04 08:03:50 -08:00
Unknown W. Brackets
732ae13ebb
Fast path CallSyscall where possible.
...
It seems we're spending a decent amount of time there, which isn't
entirely unexpected. We can eliminate some things easily.
2013-11-04 07:59:37 -08:00
Unknown W. Brackets
baa82e0a9d
Keep syscalls the same in the interpreter.
...
Rather than having different bugs.
2013-11-04 07:59:36 -08:00
Peter Tissen
3bd01cce31
fixes #4443 buffer underrun in the audio system
2013-11-04 14:03:36 +01:00
Henrik Rydgård
e2e74e81d6
Merge pull request #4436 from Bigpet/Audiofix
...
delete source of buffer overrun on Windows
2013-11-03 14:37:37 -08:00
Peter Tissen
c9eac0e10c
delete source of buffer overrun on Windows
2013-11-03 23:03:07 +01:00
Henrik Rydgård
95ede145c9
Merge pull request #4432 from shenweip/patch-3
...
Improvement about Save Load.
2013-11-03 11:17:17 -08:00
shenweip
740f49c7a1
Add a check and comment.
2013-11-04 00:13:00 +08:00
shenweip
8a26da6e45
Load another files of save.
2013-11-03 23:52:16 +08:00
Unknown W. Brackets
5efc7fd581
Fix typo.
2013-11-03 07:36:53 -08:00
shenweip
b9d655f602
Code CleanUp,make it clearer.
2013-11-03 23:10:05 +08:00
Henrik Rydgard
c4e02ab41d
Revert "Fix Comp_VRot on x86 Linux/Mac/etc."
...
Seems broken, doesn't built on Windows.
This reverts commit d41acebb3d
.
2013-11-03 15:24:57 +01:00
Henrik Rydgård
b2298a9e86
Merge pull request #4420 from unknownbrackets/savestates
...
Enable rewind feature in UI, fix a savestate bug
2013-11-03 03:21:51 -08:00
Henrik Rydgård
3144a51e07
Merge pull request #4424 from unknownbrackets/perf
...
Speed up access to the current HLE thread
2013-11-03 03:13:17 -08:00
Henrik Rydgård
743fb154ae
Merge pull request #4427 from unknownbrackets/volume-fix
...
Fix volume scaling for mono inputs, etc.
2013-11-03 03:11:35 -08:00
Henrik Rydgård
f414856ebe
Merge pull request #4428 from Kingcom/StepOver
...
Fix step over handling of fpu branches and jalr
2013-11-03 03:09:04 -08:00
Kingcom
95b466fc4f
Fix step over for jalr
2013-11-03 10:58:31 +01:00
Kingcom
eeb86fc105
Fix step over handling of fpu branches
2013-11-03 09:54:58 +01:00
Unknown W. Brackets
348ea5b5cf
Fix volume scaling for mono inputs, etc.
...
Fixes #4423 .
2013-11-03 01:14:22 -07:00
Unknown W. Brackets
d41acebb3d
Fix Comp_VRot on x86 Linux/Mac/etc.
...
Easy way: just use our existing functions that work.
2013-11-03 01:03:57 -07:00
Sacha
5613b86864
Use NEON texture decoder on Blackberry and iOS. Use ARMV7 defines.
2013-11-03 15:59:10 +10:00
Unknown W. Brackets
d400b1a67b
Keep track of the current thread obj.
...
To reduce overhead/improve perf. Actually, it used to be only the current
thread object, but now it's just a cache with accessors.
2013-11-02 22:12:44 -07:00
Unknown W. Brackets
738dfc84e4
Speed up __GetCurrentThread(), it's called a lot.
...
This only needs to be an assertion.
2013-11-02 22:12:43 -07:00
Unknown W. Brackets
2f010773e1
Add rewind feature to the UI.
...
May not be perfect yet.
2013-11-02 18:33:23 -07:00
Unknown W. Brackets
79254c7a52
Fix some rewinding issues, better accessors.
2013-11-02 18:32:34 -07:00
Unknown W. Brackets
f716d781b6
Retain threadend waits in savestates.
...
Oops, been broken since 3fb2c8f654
.
2013-11-02 17:40:23 -07:00
Unknown W. Brackets
c2b2b366eb
Don't erase args in sceKernelLoadExec().
...
Suspect this will fix Kamen Rider Climax Heroes OOO.
2013-11-02 15:51:15 -07:00
Henrik Rydgård
044c351482
Merge pull request #4410 from raven02/patch-12
...
Regression font alignment fix
2013-11-02 05:36:47 -07:00
raven02
98cbd90178
Regression font alignment fix
2013-11-02 20:31:39 +08:00
shenweip
07e39b2247
Implemented DELETEDATA mode of saveDialog.
2013-11-02 19:48:25 +08:00
bollu
4bdf78e2a2
change defaults and setting name
2013-11-02 04:41:20 +05:30
Henrik Rydgård
abacdb1c9c
Merge pull request #4344 from unknownbrackets/atrac-minor
...
Improve basic error checking in sceAtrac
2013-11-01 14:16:13 -07:00
Henrik Rydgård
590ad5c6df
Merge pull request #4369 from unknownbrackets/deadbeef
...
Fill regs with 0xDEADBEEF after syscalls...
2013-11-01 14:15:53 -07:00
Henrik Rydgård
ba0b9707ad
Merge pull request #4218 from shenweip/Log
...
Change some log level.
2013-11-01 10:56:55 -07:00
Kingcom
92e2cdcf59
Read function size from .sym
2013-11-01 14:14:06 +01:00
Henrik Rydgård
07a868910e
Add a temporary hack option that may help debugging the wipeout glow.
...
It reduces the glow problem by a lot but is obviously incorrect.
2013-10-30 22:47:36 +01:00
Henrik Rydgård
7678107a4a
Merge pull request #4380 from Bigpet/disasm_additions
...
added disasm debugger features to remove and add functions
2013-10-30 11:45:59 -07:00
Siddharth
b87342a433
now auto loads most recent save state
2013-10-30 23:21:25 +05:30
Siddharth
6cd5b748eb
created auto load feature
2013-10-30 22:46:27 +05:30
Igor Calabria
2d22ccadca
Fixes crash when server is not available
2013-10-30 16:19:35 +00:00
Igor Calabria
13718aed6e
Changes psp ram structs to use correct int types
2013-10-30 16:10:59 +00:00
Unknown W. Brackets
1d14915d87
Fix a string pointer comparison.
2013-10-30 08:14:43 -07:00
Peter Tissen
d8b4ec6680
added disasm debugger features to remove and add functions
2013-10-30 16:13:18 +01:00
Igor Calabria
24d2ac7c1b
Uses native mutex
2013-10-30 14:56:08 +00:00
Unknown W. Brackets
8d3ba58936
Cap the buffer size in sceAtracSetDataAndGetID().
...
Not sure if this should be done in the others or not...
2013-10-30 07:55:47 -07:00
Unknown W. Brackets
696aa0f974
Initialize atrac context values per PSP tests.
2013-10-30 07:48:50 -07:00
Unknown W. Brackets
14cff41a9a
Fix state value in atrac context with no buffer.
...
Unlikely games use this, but they could.
2013-10-30 07:48:50 -07:00
Unknown W. Brackets
31112d1fa1
Report and return errors for bad atrac data.
...
The PSP returns errors for invalid data, so we should too.
2013-10-30 07:48:49 -07:00
Unknown W. Brackets
8dcc384dba
Adjust some atrac reporting/logging.
2013-10-30 07:48:49 -07:00
Unknown W. Brackets
3e0c37bb62
Return an error when no data set yet.
...
Specifically this happens if you sceAtracGetAtracID, but don't set any
data yet. Games might check for it to load in data.
2013-10-30 07:48:48 -07:00
Unknown W. Brackets
b7bd107956
When using a bad atrac ID, return proper errors.
...
Tested each func with invalid ids.
2013-10-30 07:48:48 -07:00
Igor Calabria
ca2b0a9b9a
Uses native functions for timing
2013-10-30 14:45:32 +00:00
Unknown W. Brackets
ee57498b16
Add a setting to skip 0xDEADBEEF reg filling.
...
For debugging purposes. Can't think of a better way.
2013-10-30 07:28:52 -07:00
Unknown W. Brackets
9ebaf7b68b
Fill registers with 0xDEADBEEF after most syscalls.
...
Some, like sceMpegRingbufferPut(), we don't, since... it's complicated.
But most we do, like a real PSP does.
2013-10-30 00:47:04 -07:00
Unknown W. Brackets
04ec987448
Initialize thread regs with 0xDEADBEEF.
...
Also initialize the float regs to NaN.
2013-10-29 21:39:24 -07:00
Igor Calabria
2c484c9bee
Adds adhoc support notes on readme, and option to load server address from config
2013-10-30 00:18:06 +00:00
Igor Calabria
0bc7dee02c
Fixes time function
2013-10-29 21:39:45 +00:00
Igor Calabria
28ab767c88
Adds common sleep function, and implements ptp functions
2013-10-29 21:39:45 +00:00
Igor Calabria
cce8ad050d
Adds compability for packed structs on windows, and removes some redundant typedefs
2013-10-29 21:39:45 +00:00
Igor Calabria
ecb1411f0f
Fixes getPeerList, now it's using the correct pointer values in the struct
2013-10-29 21:39:45 +00:00
Igor Calabria
5959f5b486
Packs most of psp data structs and fixes sceNetAdhocctlGetParameter
2013-10-29 21:39:45 +00:00
Igor Calabria
47947fd3f7
adds some matching functions
2013-10-29 21:39:45 +00:00
Igor Calabria
0574e6e1d1
More functions and support for games that use the netdiag
2013-10-29 21:39:45 +00:00
Igor Calabria
553f1d4e4e
Implements a bunch of adhoc functions
2013-10-29 21:39:45 +00:00
Unknown W. Brackets
b71255e7b0
Optimize the case where volume is 0x8000.
...
When left and right volume are both 0x8000, which is the most common, we
can just do a memory copy which is faster.
Also, we can use pushPointers on big endian, probably still faster.
2013-10-29 08:24:55 -07:00
Henrik Rydgård
105fde7cb0
Merge branch 'stdthread-removal' of https://github.com/xsacha/ppsspp into xsacha-stdthread-removal
2013-10-29 11:39:03 +01:00
Henrik Rydgård
997c7dc374
Simplify some UI code, fix enabled-ness of Tilt analog settings
2013-10-29 10:22:09 +01:00
Sacha
e411968dc9
Remove duplicate thread library (StdThread)
2013-10-29 11:50:29 +10:00
Henrik Rydgård
64c7736f6a
Merge pull request #4357 from shenweip/patch-16
...
Fix for savedata.
2013-10-28 17:09:48 -07:00
shenweip
80db1e00cc
Update comment.
2013-10-29 02:14:39 +08:00
shenweip
1abcf8765d
Quick fix for savedata.
2013-10-29 01:41:48 +08:00
Henrik Rydgård
0e54e24b24
Revert "Use swap code from native instead. Remove all other versions of it."
...
Broke movie playback.
This reverts commit 9fcb08a326
.
Conflicts:
native
2013-10-28 17:24:03 +01:00
Sacha
72fd653a31
sceAudio: ARM optimisation.
2013-10-29 00:16:37 +10:00
Henrik Rydgård
9c546b5d36
Merge pull request #4340 from bollu/analogStickTiltControl
...
full tilt based analog controls
2013-10-28 05:20:46 -07:00
Siddharth
5daaaa3aad
made deadzones configurable
2013-10-28 16:43:42 +05:30
Henrik Rydgård
5683b1def3
Merge pull request #4334 from shenweip/patch-13
...
Add support for saveNameListData "<>".
2013-10-28 03:17:03 -07:00
Henrik Rydgård
562c90de5d
Merge pull request #4342 from unknownbrackets/debugger
...
Ingore the uncached flag for memchecks, minor tweaks
2013-10-28 02:21:09 -07:00
Sacha
d616cc72a2
Add Blackberry statistics overlay option.
2013-10-28 14:19:27 +10:00
Unknown W. Brackets
da20bda729
Make memchecks ignore cached/uncached memory.
...
You usually want both.
2013-10-27 13:15:12 -07:00
Unknown W. Brackets
6b510c1c2f
Allow step/run when two breakpoints trip.
...
If a memcheck and breakpoint were triggered on the same line, you wouldn't
be able to pass it, which is probably not what you'd expect.
2013-10-27 12:50:32 -07:00
Siddharth
ec0e0d7047
implemented full tilt based D-pad controls
2013-10-27 23:28:47 +05:30
Sacha
ecfe43c149
CityHash is not used anymore, so we won't compile it.
2013-10-28 03:26:00 +10:00
Sacha
9fcb08a326
Use swap code from native instead. Remove all other versions of it.
2013-10-28 03:07:32 +10:00
shenweip
f4b60f22b0
Add a check to avoid the same savedatas are set into SaveDataList.
2013-10-28 00:07:32 +08:00
shenweip
e699eb95b2
Add support for saveNameListData "<>".
2013-10-27 19:03:14 +08:00
Henrik Rydgård
ea05c934d8
Merge pull request #4320 from raven02/patch-3
...
Apply offset by 1px for our provided fonts
2013-10-27 00:58:17 -07:00
Henrik Rydgård
7b982c05fc
Merge pull request #4331 from unknownbrackets/perf
...
Always compile xxhash with optimizations (debug only)
2013-10-27 00:56:22 -07:00
Henrik Rydgård
2132668af8
Merge pull request #4330 from unknownbrackets/volume-fix
...
Respect the bgm vol setting for at3, mp3, video
2013-10-27 00:55:25 -07:00
Unknown W. Brackets
18e109493f
Always compile xxhash with optimizations.
...
Makes the debug build faster.
2013-10-26 19:51:50 -07:00
Unknown W. Brackets
ad8c4af936
Respect the bgm vol setting for at3, mp3, video.
2013-10-26 19:33:25 -07:00
raven02
92042e6b55
Apply offset by 1px to our provided PSP fonts
2013-10-27 10:02:13 +08:00
Unknown W. Brackets
81823d0d74
Fix a small type comparison warning.
2013-10-26 18:52:56 -07:00
Unknown W. Brackets
e3834d5833
Avoid some unlikely uninitialized values.
2013-10-26 18:31:14 -07:00
Unknown W. Brackets
95c68ae1e7
Assert some unlikely buffer overflows.
2013-10-26 18:30:55 -07:00
The Dax
105894fdc0
Remove useless ffmpeg Librarian dependencies from Core.
2013-10-26 16:10:58 -04:00
Henrik Rydgård
4cc6171cf9
Merge pull request #4316 from shenweip/patch-12
...
Fallback to default path if current directory doesn't exist.
2013-10-25 14:38:33 -07:00
shenweip
6a149200b6
Fallback to default path if current directory doesn't exist.
2013-10-26 00:44:19 +08:00
Sacha
4c52346063
Use Blackberry/UNIX time functions instead of fallbacks.
2013-10-25 21:52:50 +10:00
Henrik Rydgård
f73aec2570
Only disable buffered rendering by default on Galaxy Y instead of all
...
Armv6 devices.
Would have like to use gpu feature flags but GL isn't necessarily initialized
when we load the config. Will need to find a different solution.
Also a buildfix for headless non-windows.
2013-10-25 11:47:44 +02:00
Unknown W. Brackets
0b64c5e014
Savestate and shutdown sceMp3 properly.
...
It wasn't even being saved before.
2013-10-24 20:07:07 -07:00
Unknown W. Brackets
100c188df6
Fix savestate backwards compat.
...
Broken since 80702109f5
.
2013-10-24 20:01:14 -07:00
Unknown W. Brackets
453628946f
Free mp3 contexts more carefully.
2013-10-24 19:18:36 -07:00
Unknown W. Brackets
9eda1fc578
Remove code to use last mp3 handle on error.
...
It was copied from mpeg, where it was added for safety, and it shouldn't
be hit anyway.
2013-10-24 19:07:24 -07:00
Henrik Rydgård
badf33a872
Merge pull request #4286 from unknownbrackets/vtimers
...
Fix a bunch of issues in vtimers
2013-10-24 11:32:13 -07:00
Unknown W. Brackets
e8091dce44
Speed up FPURegCache::Start() on x86.
...
This cuts that func by 97% when running the automated tests, and it was 8%
of the total time. Won't really affect games.
2013-10-24 08:27:42 -07:00
Unknown W. Brackets
4803dfdce1
Use CoreTiming::GetGlobalTimeUs() for vtimers.
2013-10-24 01:10:46 -07:00
Unknown W. Brackets
9c874c754e
Use the us based time for rtc/etc.
...
Instead of incorrect conversions from ticks based on current mhz.
2013-10-24 01:10:09 -07:00
Unknown W. Brackets
e16d1a926b
Keep more careful track of microsecond time.
2013-10-24 01:09:35 -07:00
Henrik Rydgard
f0e47838c6
Just break out some functions in SasAudio
2013-10-24 01:19:08 +02:00
Henrik Rydgard
a790c0a723
SasAudio: Add some comments about reverb, and add the reverb type list
2013-10-23 22:59:42 +02:00
adrian17
0a086915f5
We don't need to reset the counter as it's already done in Reset()
2013-10-23 19:05:08 +02:00
Henrik Rydgård
2b278d4c13
Buildfix
2013-10-23 17:00:10 +02:00
Henrik Rydgård
70738c1755
Automatically clear the JIT when exiting the Cheats dialog box.
...
Plus some simple cleanup.
2013-10-23 16:10:58 +02:00
Sacha
9e20e1a297
Fix time compares in save focus. Was breaking platforms (like QNX) where time is stored as a 64-bit unsigned value (nanoseconds).
2013-10-23 23:25:25 +10:00
Sacha
1af2f99959
Initialise everything in the SaveFileInfo to 0.
...
We were getting std::tm initialised to random values which non-existent files become the preferred save.
2013-10-23 23:19:50 +10:00
Sacha
07e8d475b3
Use name count instead of data count for grabbing focus.
2013-10-23 23:16:49 +10:00
Unknown W. Brackets
05f2f53358
The vtimer return value is treated as u32.
2013-10-22 22:50:52 -07:00
Henrik Rydgard
1595ac3386
Log spam reduction - only WARN about non-zero bad handles, and sceAtracSetLoopNum gets demoted to DEBUG.
2013-10-22 19:56:05 +02:00
Unknown W. Brackets
580d4436a3
Fix vtimer uid param type, add algorithm include.
2013-10-22 07:46:33 -07:00
Unknown W. Brackets
47714d4b82
Don't change the vtimer schedule with no handler.
2013-10-22 07:45:53 -07:00
Unknown W. Brackets
0a373b08b7
Return better vtimer errors within interrupts.
2013-10-22 07:45:53 -07:00
Unknown W. Brackets
b7fd768ecc
Correct vtimer scheduling.
2013-10-22 07:45:52 -07:00
Unknown W. Brackets
a47c88d658
Run missed handlers when setting vtimer time.
2013-10-22 07:45:52 -07:00
Unknown W. Brackets
856e3b7071
Fix error code on start vtimer with current.
2013-10-22 07:45:51 -07:00
Unknown W. Brackets
4a444776ab
Sign extend sceKernelUSec2SysClock().
...
Wow, I guess this has been broken forever.
2013-10-22 07:45:51 -07:00
Unknown W. Brackets
002aed1080
Update current and limit bytes in vtimer refer.
2013-10-22 07:45:50 -07:00
Unknown W. Brackets
ea507388ea
Return a special error for the running vtimer.
...
Also, ues 0 when none is running. This explains the different error code.
2013-10-22 07:45:50 -07:00
Unknown W. Brackets
9bd988e376
Fix doubling of current on vtimer stop.
2013-10-22 07:45:49 -07:00
Unknown W. Brackets
167699ac9e
Correct sceKernelGetVTimer*Wide() error value.
2013-10-22 07:45:49 -07:00
Unknown W. Brackets
67cd13702e
Correct sceKernelSetVTimerTime*().
2013-10-22 07:45:48 -07:00
Unknown W. Brackets
29d7d00b08
sceKernelCancelVTimerHandler() resets handler only.
2013-10-22 07:45:48 -07:00
Unknown W. Brackets
c9755d7886
Correct errors from sceKernelCancelVTimerHandler().
2013-10-22 07:45:47 -07:00
Unknown W. Brackets
7edebd1c2f
Put vtimer args on the stack, skip allocation.
...
This is roughly where they are on the PSP based on tests, and it avoids
having to manage memory or etc.
2013-10-22 07:45:47 -07:00
Henrik Rydgård
7fd6a7e06b
Merge pull request #4288 from sum2012/log
...
Fix Naruto Shippuden Kizuna Drive (error module load failed)
2013-10-22 06:27:12 -07:00
Henrik Rydgard
614ec822e8
Let's only bother with symbol loading on the desktop.
2013-10-22 15:14:47 +02:00
sum2012
94694ded55
Add error log of SCE_KERNEL_ERROR_LIBRARY_NOTFOUND in sceUtilityLoadModule
2013-10-22 21:08:36 +08:00
sum2012
e130ec64a7
Fix DmacMemcpy and sceDmacTryMemcpy by @unknownbrackets
...
Fix Ikki Tousen - Eloquent Fist crash
2013-10-22 20:57:07 +08:00
sum2012
ab9f39851a
correct last time commit
...
seem this should right
2013-10-22 20:29:25 +08:00
sum2012
940d819d00
Increase sceUtilityUnloadModule log level
2013-10-22 20:15:32 +08:00
Henrik Rydgard
bf59f3db73
Add ugly hack setting for PowerVR to disable alpha test
...
Causes glitches but the speedup is truly massive in some games so I relent :/
Please do not report graphics bugs when this is enabled...
Future: Maybe remove this setting except on PowerVR?
2013-10-22 13:00:19 +02:00
Henrik Rydgard
de39a81dce
sceAtrac: Force mono when needed. (see #4248 )
2013-10-22 11:01:46 +02:00
Henrik Rydgard
3d5a85f1a7
Restore accidental change to sceAtracGetInternalInfo, minor indentation reduction, demote a log message
2013-10-22 10:53:48 +02:00
Henrik Rydgard
bf89c01215
When atrac3+ decoding fails, stop decoding silently-ish instead of decoding garbage, spamming the log
2013-10-21 23:10:30 +02:00
Henrik Rydgard
f7feefcb03
Cleanup: Remove a check that will never be true
2013-10-21 23:02:37 +02:00
Henrik Rydgård
598e06faa8
Make Home in the game browser available on linux/mac/etc too.
...
Misc tweaks.
2013-10-21 12:21:22 +02:00
Henrik Rydgård
8556eaf59d
sceAtrac: Report occurences of multiple packets in one. Update native
...
with minor UI fix.
2013-10-21 11:19:13 +02:00
The Dax
98c6e87c0f
Make touch Dpad and Select show by default.
2013-10-20 12:02:19 -04:00
sum2012
fc3d3c9a78
fix maxim-at3plus crash
...
Thanks @unknownbrackets
https://github.com/hrydgard/ppsspp/issues/4248
Digimon Adventure Voice probrem can be fixed later
2013-10-20 20:57:24 +08:00
Henrik Rydgard
f5a63d7d41
Better fix for the UINT_64 define issue on android
2013-10-20 13:52:31 +02:00
Siddharth
55a664bd13
made buttons invisible in the layout screen if they are disabled
2013-10-20 17:17:32 +05:30
Henrik Rydgård
4b063228f6
Fix path bug by using the right quotes..
2013-10-20 10:46:23 +02:00
Henrik Rydgård
be39646223
Merge pull request #4252 from thedax/touchControlVisibility
...
Add a screen to toggle onscreen touch control visibility.
2013-10-20 01:13:03 -07:00
Henrik Rydgård
9f9d7d961e
Merge pull request #4249 from unknownbrackets/io-minor
...
Support \ paths within filenames (Linux/Android?/etc.)
2013-10-20 01:07:37 -07:00
Unknown W. Brackets
afb578a325
Use the newer interface for Qt's gpu debugging.
2013-10-20 00:14:39 -07:00