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
Sacha
40da2f7f5b
Buildfix Symbian and Blackberry from the ffmpeg merge.
...
Fix a header issue on Blackberry.
Fix a UINT64_C define issue.
FFMPEG is no longer 'beta'.
2013-10-20 16:41:34 +10:00
The Dax
11a34746cf
Default to true for all touch control visibility, and actually translate Control Visibility.
2013-10-20 00:01:29 -04:00
The Dax
d099692ed0
Make Toggle All actually function.
2013-10-19 23:24:38 -04:00
The Dax
a88a30fb1d
Add a touch control visibility screen. All touch controls can now be toggled on or off, except for the Pause button on platforms that have it, as a safety precaution.
2013-10-19 23:24:09 -04:00
Unknown W. Brackets
3499ef341a
Support \ paths within filenames.
2013-10-19 17:06:29 -07:00
Henrik Rydgard
f15e21c5f8
Remove the Enable Atrac3+ checkbox
2013-10-20 01:07:18 +02:00
Siddharth
38442c090e
allow loading and unloading of onScreen control coordinates. Also, use sane (bottom left origin)coordinate system for all onScreen elements
...
can now reposition on screen controls
removed unnessecary files
fixed indenting issues
renamed RepositionOnScreenControlScree to TouchControlLayoutScreen
2013-10-20 00:39:38 +02:00
Unknown W. Brackets
edf3faf251
Clear the audio buffer on game reset.
...
Avoids blips.
2013-10-19 15:11:06 -07:00
Unknown W. Brackets
e99cc01976
Fix some switch/case warnings.
2013-10-19 14:57:45 -07:00
Unknown W. Brackets
e95f55a5fe
Fix some enum type warnings.
2013-10-19 14:57:45 -07:00
Unknown W. Brackets
1283a93492
Avoid some minor warnings.
2013-10-19 14:57:45 -07:00
Henrik Rydgård
2f8a78dd7a
Clean up SimpleAT3Dec, don't allocate new Frame objects all the time
2013-10-19 23:09:28 +02:00
Henrik Rydgård
2c5adc96cf
Rip out the support for the Atrac3+ plugin. It is gone, to never return.
2013-10-19 23:09:26 +02:00
Henrik Rydgård
be40289d6c
Use ffmpeg for Atrac3+ decoding during video playback as well.
2013-10-19 23:09:26 +02:00
Henrik Rydgard
3cefa1ad79
Things seem more stable after initializing the AVPacket.
...
More testing needed though.
2013-10-19 23:09:25 +02:00
Henrik Rydgard
f311901e5e
Use ffmpeg for decoding Atrac3+ in sceAtrac. Thanks Maxim.
2013-10-19 23:09:25 +02:00
Henrik Rydgård
51196742ee
Clear symbol map in AttemptLoadSymbolmap on non-windows
2013-10-18 18:23:17 +02:00
Henrik Rydgård
2d331cb8c4
Revert "Clear the symbol map in LoadExec. Fixes some hangs on switching games,"
...
This reverts commit 6c3f2155c7
.
2013-10-18 18:08:18 +02:00
Henrik Rydgård
f85b4a4252
Buildfix
2013-10-18 15:07:04 +02:00
Henrik Rydgård
6c3f2155c7
Clear the symbol map in LoadExec. Fixes some hangs on switching games,
...
unclear why.
2013-10-18 14:40:58 +02:00
Henrik Rydgård
07c818251c
Some formatting cleanup.
...
Yeah, I said we shouldn't do big overhauls..
2013-10-18 14:39:04 +02:00
Unknown W. Brackets
9a707f6c00
Fix typo, ARM build.
2013-10-17 15:28:50 -07:00
Unknown W. Brackets
2e8ef3027f
Write the retaddr to rd, not always ra, in jalr.
...
Thanks go entirely to @Kingcom for pointing this out.
Don't know of any games not using RA as the rd.
2013-10-17 07:39:33 -07:00
Henrik Rydgård
99fec75f06
Delete OMAConvert, entirely unused
2013-10-17 12:33:57 +02:00
Henrik Rydgård
ac2334386a
Move BufferQueue out of the at3 plugin header
2013-10-17 12:31:22 +02:00
Sacha
fafe4fc4f2
Fix multi-threading crashes on shutdown with Linux and Blackberry. Fixes issue #3133 -- thanks @unknown
2013-10-17 17:39:04 +10:00
shenweip
e7601b4399
Change some log level.
2013-10-17 11:57:55 +08:00
Henrik Rydgard
aa3cf34fc1
Jit: Fix valgrind warnings.
...
The first time PrefixStart was entered with startDefaultPrefix = true, it would
call EatPrefix, which checks the so far entirely uninitialized prefixXFlags.
2013-10-16 22:33:48 +02:00
Henrik Rydgård
9caaa86a87
Merge pull request #4206 from bollu/AudioArtefactFix
...
optional atomic audio locks
2013-10-16 12:11:50 -07:00
Siddharth
06c13926ee
made atomic lock optional
...
fixed an incorrect merge to nativeApp.cpp
made atomic locks init correctly
reintroduced atomic locks in audio as an optional setting
converted global pointers to global objects on stack
moved all mixing code into PSPMixer
internaized all code into __sceAudio.cpp
cleaned up rebase
cleaned up rebase
2013-10-16 23:42:47 +05:30
Henrik Rydgard
1ec0a977e4
Fix too-slow fade in/out of save dialogs and others in 30hz games.
2013-10-16 18:54:40 +02:00
Unknown W. Brackets
f5e0d80ead
Pass arguments to root threads same as regular.
...
Before it would have issues or crash if the args were > 256 bytes.
Fixes Ys 1 & 2 Chronicles.
2013-10-16 01:31:58 -07:00
Henrik Rydgard
e88a049e79
Windows: Center window on first start
2013-10-15 13:10:25 +02:00
The Dax
fec7dab628
Have CWCheats use it, too. It's useful pretty much anywhere one needs the real path instead of a virtual memory stick path.
2013-10-15 03:41:11 -04:00
The Dax
845a25e897
Whoops. Forgot to push this.
2013-10-15 03:41:11 -04:00
The Dax
b549a4e6e5
Assume g_Config.memCardDirectory will have a trailing slash. Make InitSysDirectories for Win32 only.
2013-10-15 03:41:10 -04:00
The Dax
6efd5b33f7
We don't really need DIRECTORY_FLASH0 or DIRECTORY_MEMSTICK.
2013-10-15 03:41:10 -04:00
The Dax
c7bdeb3084
Eliminate GetSysDirectories and instead provide a new function: GetSysDirectory.
...
On Win32, call InitSysDirectories before the emuthread starts just to be safe.
2013-10-15 03:41:10 -04:00
Unknown W. Brackets
e06889069c
Don't use the destructor to free thread stacks.
...
If we do, kernelObjects.clear() will trash perfectly good memory on
loading a state. I guess it also makes shutdown slower.
Fixes #4186 .
2013-10-14 22:09:16 -07:00
The Dax
22e7b64df3
Don't write files before creating the directory in the first place.
2013-10-14 17:28:27 -04:00
The Dax
e83ad5feba
Remove unused local variable to fix a warning.
2013-10-14 11:44:52 -04:00
Sacha
7927b889b3
Buildfix Qt Linux.
2013-10-15 00:40:46 +10:00
Sacha
18b7503dd5
Fix rounding errors in armjit.
2013-10-14 19:24:13 +10:00
Unknown W. Brackets
e4f71ce6e4
Avoid a few expected asserts in headless mode.
2013-10-14 00:51:08 -07:00
Henrik Rydgård
86b312472c
Merge pull request #4171 from unknownbrackets/heap
...
Improve accuracy of sceHeap functions
2013-10-13 23:55:45 -07:00
Henrik Rydgård
c13cb78d97
Merge pull request #4172 from thedax/win32Portability
...
Support UTF-8 paths in installed.txt.
2013-10-13 23:54:41 -07:00
The Dax
45d6ab9d7b
Support more than just UTF-8.
2013-10-14 02:46:05 -04:00
The Dax
702c355cb6
Use a C++ version.
2013-10-14 02:24:02 -04:00
The Dax
81e7f1204c
Support unicode paths in installed.txt.
...
The only caveat is it has to be saved as a UTF-8 file or it won't work properly.
Also, make some variables const since they're not changed.
2013-10-14 00:12:17 -04:00
Unknown W. Brackets
9388dd092f
Cleanup errors in sceHeapFreeHeapMemory().
2013-10-13 19:20:04 -07:00
Unknown W. Brackets
df285cec64
Fix aligned heap allocation semantics.
2013-10-13 19:14:42 -07:00
Unknown W. Brackets
1b5193b13d
Cleanup error codes in sceHeapAlloc*().
2013-10-13 19:08:23 -07:00
Unknown W. Brackets
ba5dd0084b
Implement sceHeapIsAllocatedHeapMemory().
2013-10-13 19:01:16 -07:00
Unknown W. Brackets
8ffcc26f89
Don't create blank entries in heapList.
2013-10-13 18:57:59 -07:00
Unknown W. Brackets
fbffb6fa7f
Return an error when deleting a bad heap.
2013-10-13 18:45:49 -07:00
Unknown W. Brackets
134138618d
Allocate heaps similar to hardware.
...
Could matter for alignment, since a game might intentionally request 0x108
bytes to get an aligned address or something.
2013-10-13 18:36:34 -07:00
Unknown W. Brackets
9a9c4cbea6
Allocate from heaps downward by default.
2013-10-13 18:27:53 -07:00
Unknown W. Brackets
a466b5ba32
Also allow restartless cheats after loading state.
...
At least, an older state.
2013-10-13 18:03:23 -07:00
Unknown W. Brackets
bbaacab315
Don't crash if the cheat file is inaccessible.
2013-10-13 17:57:43 -07:00
Unknown W. Brackets
f3e3f2e6cd
Let's just always use PSP/Cheats/, it's simpler.
...
No reason people on iOS won't want this.
2013-10-13 17:57:42 -07:00
Unknown W. Brackets
8cd64a9f8a
Allow cheats to start and stop in game.
2013-10-13 17:57:42 -07:00
Unknown W. Brackets
bbde56398f
Create the cheats directory always.
...
Seems like things break otherwise? Fixes #4169 .
2013-10-13 17:57:35 -07:00
The Dax
54de8739f1
Fix critical bug with GetSysDirectories.
2013-10-13 19:30:07 -04:00
Henrik Rydgård
06b0ac9ccc
Merge pull request #4070 from thedax/win32Portability
...
Win32: Make PPSSPP have a portable mode.
2013-10-13 16:11:47 -07:00
The Dax
823b6ee465
Clean up GetSysDirectories. File::GetExeDirectory is much cleaner.
2013-10-13 19:01:53 -04:00
The Dax
85f6d6bf0e
If the custom directory or the current directory is read-only, fall back on the Documents directory.
...
After that point(if Documents is somehow read-only), we'd be screwed anyway, so there's no need to bother checking it..
2013-10-13 18:22:04 -04:00
Unknown W. Brackets
401400bb52
Fix uninitialized variable, oops.
2013-10-13 15:14:30 -07:00
The Dax
d8a0adf50c
If installed.txt has a path in it, use that instead of the detected Documents directory.
2013-10-13 17:43:01 -04:00
The Dax
b3018eb37f
Allow Win32 to store its saves, config files, etc., elsewhere.
...
If installed.txt exists(or the executable directory is read-only), use the user's My Documents(XP) or Documents(7/8/8.1) directory to search for everything. If it doesn't, or we can't determine the directory for some reason, use the old behaviour.
2013-10-13 16:45:59 -04:00
Unknown W. Brackets
5687fa481b
Don't SyncThread while not running, wake more proactively.
...
Maybe the wait_for() is no longer needed there...
2013-10-13 12:13:11 -07:00
Unknown W. Brackets
d43c56ea29
Small warning fix.
2013-10-13 12:12:53 -07:00
The Dax
7000b63082
When using a debug build, always show the debug log/enable logging on start.
2013-10-13 14:31:48 -04:00
The Dax
9c868351de
Make Enable Debug Logging checkbox instant as it was intended to be.
2013-10-13 14:18:50 -04:00
The Dax
3d8b68e88e
Make Fullscreen checkbox instant.
2013-10-13 13:34:55 -04:00
Unknown W. Brackets
479a9801d4
Shutdown issues: the legend continues.
...
If the gpu was slow (softgpu for example), it might still be accessing
memory. Need to let it wake, and ignoring coreState too.
2013-10-13 09:35:02 -07:00
Unknown W. Brackets
8c022d56be
Support non-pfat0 savestates, slightly hacky...
2013-10-13 09:34:20 -07:00
Henrik Rydgard
40ee00bf46
Add pfat0: as another synonym for ms0:
...
Might fix Fired Up save issues as reported in #1290 .
2013-10-13 13:52:48 +02:00
Henrik Rydgard
3af5a759b4
Log some save state errors
2013-10-13 13:46:44 +02:00
Henrik Rydgård
cdba174ab7
Merge pull request #4148 from unknownbrackets/config-files
...
Allow config files and fonts to be on the memstick
2013-10-13 04:01:01 -07:00
Henrik Rydgård
2546f236ee
Merge pull request #4151 from shenweip/patch-4
...
Add NetconfDialog and partly implemented for it.
2013-10-13 03:59:34 -07:00
Henrik Rydgård
29dd284372
Merge pull request #4156 from Kingcom/rotrfix
...
Fix rotrv (dis)assembly
2013-10-13 01:42:54 -07:00
Kingcom
480c766776
Fix rotrv (dis)assembly
2013-10-13 10:36:43 +02:00
Unknown W. Brackets
b54e557d19
Actually, let's not wait at all in Core_Stop().
...
It just triggers the action on the other thread.
2013-10-12 23:20:27 -07:00
shenweip
8a6d36dcb0
Fix
2013-10-13 11:56:47 +08:00
shenweip
326d751945
Partly implemented for NetconfDialog.
2013-10-13 10:43:49 +08:00
shenweip
ce50086c81
Add new files to cmake and Android.mk
2013-10-13 10:32:56 +08:00
shenweip
1ff4b9c8ce
Add PSPNetconfDialog.
2013-10-13 10:26:51 +08:00
Unknown W. Brackets
49983fa1e4
Also respect Windows absolute paths.
2013-10-12 16:41:53 -07:00
Unknown W. Brackets
87781736c4
Use ms0:/PSP/flash0/font/ as an override for fonts.
...
This won't work for games that use flash0:/ directly, but if they just use
the default fonts (which is common), it will work fine.
2013-10-12 16:13:11 -07:00
Unknown W. Brackets
af2ccbb9da
Rename flashDirectory to flash0Directory.
2013-10-12 16:08:39 -07:00
Unknown W. Brackets
c0e3f1523e
Respect ini file path on reset settings.
...
This is the easiest way to force settings to the memstick, but it means
erasing the existing ones.
2013-10-12 16:05:00 -07:00
Unknown W. Brackets
79143b56d2
Allow config files to be placed under the memstick.
...
This way, they can be configured more easily on Android, etc.
2013-10-12 16:02:03 -07:00
Unknown W. Brackets
a79b168acc
Make sure the cpu thread ends on Core_Stop().
...
Sometimes it didn't, which was just a bit confusing.
2013-10-12 10:55:31 -07:00
Unknown W. Brackets
585f86c805
Make sure the io thread doesn't revive itself.
...
Stupid zombies. Stay dead.
2013-10-12 10:54:57 -07:00
Unknown W. Brackets
bfa4a87e2c
Don't run the ingame loop while in the pause menu.
2013-10-12 10:16:28 -07:00
Unknown W. Brackets
d6f1320dfd
Allow tab to be used in the assembler.
...
This way we can assemble our disassembly. Makes it easier.
2013-10-12 10:03:28 -07:00
Unknown W. Brackets
ba69eba53c
Just log and continue when EI_CLASS is wrong.
...
Users with emulator-only patches or etc. shouldn't necessarily have to
not be able to play the game anymore, as long as the problem is surfaced.
2013-10-12 10:03:27 -07:00
Unknown W. Brackets
90c49befd4
Fix a possible race on shutdown.
2013-10-12 02:08:00 -07:00
Unknown W. Brackets
b0072cd38b
Refactor a bit, curly style.
2013-10-12 01:44:12 -07:00
Unknown W. Brackets
21f522746f
Cleanup shutdown on Windows to avoid races.
...
Was still getting crashes sometimes.
2013-10-12 01:40:33 -07:00