Sacha
7b308247f8
Symbian buildfix. It doesn't use MemArena.
2014-08-25 02:18:58 +10:00
Henrik Rydgard
1d7642fa48
Remove most mentions of the "_XBOX" define
2014-08-24 14:21:35 +02:00
Henrik Rydgård
812d64a4b7
Merge pull request #6774 from hrydgard/merge-ced2911-dx9-work
...
Cherry-pick from ced2911's dx9 work
2014-08-24 14:06:04 +02:00
Henrik Rydgard
6011255e6f
D3D: Don't display buffered rendering upside down. Support screen scaling filter setting
2014-08-24 14:04:55 +02:00
Unknown W. Brackets
5f015793d8
Seems like this else was a mistake.
2014-08-23 21:54:04 -07:00
Unknown W. Brackets
d4ec7d8019
Add another memcpy variant.
...
Fixes #4324 (Marvel Ultimate Alliance 2 videos), thanks daniel229.
2014-08-23 08:45:25 -07:00
Henrik Rydgård
5d836bfa5a
Merge pull request #6765 from hrydgard/thin3d
...
Switch UI drawing from GL to Thin3D. This activates the D3D9 path as well.
2014-08-23 10:52:21 +02:00
Henrik Rydgård
b7da82eebb
Merge pull request #6762 from unknownbrackets/fpu-rounding
...
Handle fpu rounding mode at least in jits
2014-08-23 10:43:22 +02:00
Henrik Rydgard
0f973a3276
Get it running on Android again
2014-08-23 09:48:08 +02:00
Unknown W. Brackets
e9b5e6f277
armjit: Maintain rounding mode throughout jit.
2014-08-22 19:57:50 -07:00
Henrik Rydgard
e2ecbb7a4d
Convert more UI code to Thin3D
2014-08-22 20:55:18 +02:00
Henrik Rydgard
e539c7009f
Hook up DX9 backend. Not really working though, it seems.
2014-08-22 20:55:12 +02:00
Henrik Rydgard
92c3775d95
Start hooking up D3D
2014-08-22 20:55:04 +02:00
Henrik Rydgard
808f05da89
(Partially) slip thin3d underneath DrawBuffer.
2014-08-22 20:54:53 +02:00
Unknown W. Brackets
925557ed47
x86jit: Maintain the rounding mode always.
...
This should be less often than doing it per block that uses fpu, unless
the game doesn't use fpu much at all.
2014-08-22 09:53:00 -07:00
Henrik Rydgård
f8a4236d58
Merge pull request #6679 from unknownbrackets/gpu-blend
...
Handle doubled alpha blending using premultiplication
2014-08-22 10:06:24 +02:00
Unknown W. Brackets
1fcbb7bbd4
armjit: Respect the rounding mode for mul/etc.
2014-08-22 00:32:01 -07:00
Unknown W. Brackets
ab13b36484
x86jit: Implement cvt.w.s.
...
Not really used that often, anyway, but easy enough and good for testing
that we set the rounding mode correctly.
2014-08-22 00:01:06 -07:00
Unknown W. Brackets
dc91dc1ce8
x86jit: Support fpu rounding modes for mul, etc.
...
Fixes Gods Eater Burst loading PSP savedata, but can no longer load old
savedata.
2014-08-21 23:59:55 -07:00
Henrik Rydgard
dfbb0bdea2
Hack: Return -1 specifically for trying to load SFO's as modules. Works around #6748
...
Will test properly later and return the correct value but this should be zero-impact.
2014-08-21 10:34:56 +02:00
Henrik Rydgård
d52c87d82c
Merge pull request #6722 from sum2012/wwe
...
check for duplicated stack addresses by JimLee168
2014-08-20 16:34:02 +02:00
Sacha
97e93f48fd
Clean up LitPool code and re-enable flushing in AsmJit
2014-08-20 18:29:37 +10:00
Unknown W. Brackets
d52fdafa3c
Note the location of a memset variant.
2014-08-18 23:20:44 -07:00
Henrik Rydgård
2de6b471ce
Merge pull request #6616 from unknownbrackets/modules
...
Improve module loading and allocation
2014-08-19 08:00:47 +02:00
Henrik Rydgård
72d5a55791
Merge pull request #6675 from unknownbrackets/threadman
...
Correct sceKernelThreadmanIdList behavior
2014-08-19 07:56:54 +02:00
Henrik Rydgård
e7a1761147
Merge pull request #6597 from unknownbrackets/ge-minor
...
Unpause lists after wait signals with no handler
2014-08-19 07:56:37 +02:00
Henrik Rydgård
5f8f3633a8
Merge pull request #6685 from unknownbrackets/kill-volume
...
Remove bgm and sfx volume settings
2014-08-19 07:56:01 +02:00
Henrik Rydgård
d234ab03c6
Merge pull request #6696 from LunaMoo/master
...
Add Buffer Scalling Filter option
2014-08-19 07:55:45 +02:00
Unknown W. Brackets
9d3cf346c3
Clarify GetSureBranchTarget() for fpu branches.
...
They also have CONDTYPE_ flags. Looks like this was just getting lucky
that rs can't equal rt, but the code looks confusing when you're looking
at it from an fpu/vfpu perspective.
2014-08-18 07:46:48 -07:00
Henrik Rydgård
486461a725
Merge pull request #6735 from unknownbrackets/psmf-loop
...
Only loop psmf players at video end
2014-08-18 11:08:34 +02:00
Unknown W. Brackets
78296d15c6
Don't recurse when disasming an emuhack.
...
Although, should this happen? Apparently does in Peace Walker.
2014-08-17 18:43:59 -07:00
Unknown W. Brackets
3fbab33c91
Only loop at video end.
...
In case of a short video that runs out of data but isn't ready to loop
yet.
2014-08-17 15:46:04 -07:00
Unknown W. Brackets
909ac62669
Return a proper error for fake TMIDs.
2014-08-17 14:38:56 -07:00
Unknown W. Brackets
6852e32d6b
Support other thread TMIDs in uid listing.
2014-08-17 14:38:55 -07:00
Unknown W. Brackets
b8f8707ea1
Allow a bad pts on zero size when listing uids.
2014-08-17 14:38:55 -07:00
Unknown W. Brackets
feeb03b5ff
Fix return values in sceKernelGetThreadmanIdList().
...
Support other object types as well, but not threads/etc. properly yet.
2014-08-17 14:38:54 -07:00
Unknown W. Brackets
774589aa4f
Correct the Tlspl TMID value.
2014-08-17 14:38:54 -07:00
Unknown W. Brackets
dc16ad3744
Report forwarding module load to loadexec.
...
Shouldn't do this probably.
2014-08-17 14:26:01 -07:00
Unknown W. Brackets
abacba4e31
Clarify some module loading code.
2014-08-17 14:26:00 -07:00
Unknown W. Brackets
b7c96e1942
Allocate executables low, not at a specific addr.
...
Since usersystemlib takes 0x4000 at the bottom, this will be the same.
The only impact is that kernel modules may also be able to allocate.
2014-08-17 14:26:00 -07:00
Unknown W. Brackets
a16ccf52e7
Allocate kernel modules that fail to decrypt.
...
This corrects some memory semantics to match real firmware.
2014-08-17 14:25:59 -07:00
Unknown W. Brackets
f864b6be63
Allocate 0x4000 at the bottom like real firmware.
...
Should fix #4056 .
2014-08-17 14:25:59 -07:00
Unknown W. Brackets
71e8c0f6e0
Sum all .bss* sections when counting bss size.
2014-08-17 14:25:58 -07:00
Unknown W. Brackets
0a14fd5ee9
Skip zero size segments in module segment info.
2014-08-17 14:25:58 -07:00
Unknown W. Brackets
3ccc0d1e47
Don't count strings as text in module info.
2014-08-17 14:25:57 -07:00
Unknown W. Brackets
bf03e32027
Add a safety check for freeing kernel modules.
2014-08-17 14:25:57 -07:00
Unknown W. Brackets
892980ada1
Blackberry buildfix.
2014-08-17 14:25:56 -07:00
Unknown W. Brackets
337a8553aa
Add module name to ELF allocations.
...
Makes debugging it easier.
2014-08-17 14:25:56 -07:00
Unknown W. Brackets
7c37d64717
Load kernel modules into kernel memory.
...
This way they don't eat up user memory space.
2014-08-17 14:25:55 -07:00
Unknown W. Brackets
99d96218e1
Correct some loadmodule error codes.
2014-08-17 14:25:55 -07:00
Unknown W. Brackets
cf4b607113
Validate the elf position argument more.
2014-08-17 14:25:54 -07:00
Unknown W. Brackets
1d310ad8bb
Allocate module memory from top/bottom per request.
2014-08-17 14:25:54 -07:00
Unknown W. Brackets
1d195a37e4
Cleanup modules on unloadself.
2014-08-17 14:25:53 -07:00
Unknown W. Brackets
5c470a1923
Remove bgm and sfx volume settings.
...
They don't actually work in all games, and this only confuses users.
Also, the default 7 lowers the volume of audio detected as bgm or sfx, but
not other volume. This means that some audio may have played too loud in
some games by default, which will be fixed by this change.
2014-08-17 14:16:59 -07:00
Unknown W. Brackets
413523c8ac
Unpause lists after wait signals with no handler.
...
This stops the gpu/displaylist/state test from hanging, and appears to be
the correct behavior. It makes sense.
2014-08-17 14:14:25 -07:00
Unknown W. Brackets
78ddffee2c
Merge pull request #6733 from hrydgard/psmf-loop-fix
...
Reload the stream on loop. Fixes #6703 .
2014-08-17 13:49:40 -07:00
Henrik Rydgard
8560e317d0
Reload the stream on loop. Fixes #6703 . Thanks to @unknownbrackets
2014-08-17 22:29:01 +02:00
The Dax
75e280e6fe
Default to a deadzone 0.6f (60%) instead, as suggested.
2014-08-17 14:39:34 -04:00
The Dax
784f311d76
Make it available for everybody.
2014-08-17 14:36:35 -04:00
The Dax
cb07da198b
Make the keyboard analog limiter customisable.
2014-08-17 14:36:35 -04:00
The Dax
37b8f62997
Don't show upgrade notifications if PPSSPP is too new, regardless of iRunCount.
2014-08-16 16:31:07 -04:00
sum2012
6024fe7e13
Don't need duplicate the whole table
2014-08-15 23:30:51 +08:00
sum2012
9f4efaf142
Add sceLibFttt
...
Same as sceFont
2014-08-15 22:42:08 +08:00
JimLee168
8099281928
check for duplicated stack addresses
...
Based on https://code.google.com/p/jpcsp/source/detail?r=3569
Fix WWE SmackDown! vs. RAW 2006
2014-08-13 21:28:22 +08:00
The Dax
3c19eda851
Win32 buildfix.
...
Somehow these weren't added to the project.
2014-08-12 22:34:05 -04:00
daniel229
a1f922baff
fix typo,add sceUsbGpsGetState() function
2014-08-13 01:47:24 +08:00
daniel229
88124952a2
add sceUsbGpsOpen() function
2014-08-13 01:18:03 +08:00
daniel229
1ff9507f7c
Add sceUsbGps module
2014-08-13 00:11:26 +08:00
Unknown W. Brackets
3bd945c2a8
Ignore displaybuf in psmfplayer when warming up.
...
Should fix #6704 .
2014-08-10 21:56:05 -07:00
Luna
62a1023615
Add "Screen Scaling Filter" option
2014-08-08 20:51:15 +02:00
Unknown W. Brackets
cd413ab659
Correctly break when disabled and temp bps overlap.
...
Only affects debugging, not usual gameplay. Fixes #6700 .
2014-08-08 08:53:44 -07:00
Henrik Rydgård
60eaefa6ad
Merge pull request #6680 from unknownbrackets/replace-funcs
...
Disable most replacements and use checked mem access in them
2014-08-04 23:44:20 +02:00
Unknown W. Brackets
ac94dbcc69
Show the replaced instruction in disassembly.
...
Useful while debugging.
2014-08-03 19:23:29 -07:00
Unknown W. Brackets
abd1f4e58a
Disassemble bne/etc. using rs, rt order.
...
The order makes more logical sense from game disassembly, and matches the
assembler. Fixes #6632 .
2014-08-03 19:22:18 -07:00
Unknown W. Brackets
245a2a3be0
Don't zero out downcount in replacements.
...
It doesn't write out js.downcountAmount in any of these cases, so zeroing
it is wrong.
2014-08-03 13:22:30 -07:00
Unknown W. Brackets
5525c0a485
Use a lookup for function replacements.
...
Ought to be a tiny bit quicker.
2014-08-03 13:17:55 -07:00
Unknown W. Brackets
d060a06fa6
Disable a bunch of function replacements.
...
These are just for speed, let's turn them off. Using a flag because:
* I think there's still some issue with savestates, not sure.
* We might swap this flag to a separate option.
2014-08-03 13:15:41 -07:00
Unknown W. Brackets
f198a7f587
Use checked pointers in all function replacements.
...
Some games are still hitting bugs and there's no way to disable this "fast
memory" without losing graphical effects. Better to do it evenly than
weird hacks and extra logging/checks.
2014-08-03 13:04:00 -07:00
Henrik Rydgard
bc3b4c5512
Disk swap: Remount the ISOBlockSystem too. Should fix #6662
2014-08-02 12:35:27 +02:00
Henrik Rydgård
682e1c1f74
Merge pull request #6643 from hrydgard/umd0-openiso
...
umd0 solution: Add "OnlyEntireISOFileSystem" to fix #6638
2014-07-28 22:17:34 +02:00
Henrik Rydgard
b7ac539420
Fix crash after loading state from within Psmf movie
...
(a variable was not initialized)
2014-07-28 00:01:28 +02:00
Henrik Rydgard
c5861f4277
Rename to ISOBlockSystem, savestate workaround (?)
2014-07-28 00:01:10 +02:00
Henrik Rydgard
8146ff85f3
umd0 solution: Add "OnlyEntireISOFileSystem"
...
Wraps around an ISOFileSystem, redirecting all the filenames to "" to
achieve the desired effect (should fix Bleach Soul Carnival 2 without resorting
to CPkmn's hack from #6638 )
Probably breaks savestates as-is...
2014-07-27 23:42:46 +02:00
Henrik Rydgard
82421f4dcf
x86 jit: Further fix for nor, thanks unknown
...
See #6638
2014-07-27 22:26:35 +02:00
Henrik Rydgard
903ddbc513
x86 JIT: Fix bug where NOR would not get computed correctly in corner case
...
(CompTriArith can end up not actually mapping rd to a register when taking
a shortcut)
May fix the JIT issue mentioned by CPkmn and located by daniel229 as an aside in #6638
2014-07-27 21:41:41 +02:00
Henrik Rydgård
936dd58367
Merge pull request #6640 from JimLee168/master
...
Atrac buffer validate RIFF header
2014-07-27 21:08:32 +02:00
sum2012
21e024eeda
sceMpegRingbufferAvailableSize might use a different
...
Based on http://code.google.com/p/jpcsp/source/detail?r=1813
Fix #5112
2014-07-27 23:40:46 +08:00
JimLee168
9722e1eb03
Atrac buffer validate RIFF header
2014-07-27 19:02:01 +08:00
Unknown W. Brackets
c7a2753a00
Fix savestates when there are psmfplayers.
...
Oops. Fixes #6613 .
2014-07-25 09:19:07 -07:00
Krude
f81d36a90c
Fix Cwcheat code type for address compare
...
0xD code type took wrong address argument. Hopefully fixes #6624 .
2014-07-25 13:11:28 +02:00
Sacha
6ce3765b12
Sailfish: More compatibility with SailFish OS. It also needs stddef where Maemo does.
...
Set packaging by default for iOS with b.sh.
2014-07-24 23:20:09 +10:00
Henrik Rydgard
272f0b8c70
Add a TODO (handling corrupt CSO data)
2014-07-22 16:07:10 +02:00
Henrik Rydgard
7802bf57f0
Add sanity checks to refuse to delete bad savedata (resulted in devastating delete of SAVEDATA/ in MGS PW!)
...
Thanks QWEmct for reporting in #6600 .
This is not a full fix, really, a "NEW DATA" savegame should not show up in the delete list, but at least this prevents the bad thing from happening.
2014-07-21 20:29:41 +02:00
Henrik Rydgard
399d71373f
Change pauseWhenMinimized default to false
2014-07-21 10:30:53 +02:00
Henrik Rydgard
85cb55cb84
Check some addresses in sceAtracDecodeData
2014-07-21 10:30:52 +02:00
The Dax
9af40da53e
Make the ini tweak available for everybody.
2014-07-21 10:30:52 +02:00
The Dax
1fbd94d589
Win32: Make pausing when minimizing optional in the ini.
2014-07-21 10:30:51 +02:00
Henrik Rydgård
9efefeb89c
Merge pull request #6598 from unknownbrackets/debugger
...
Limit stack walk distance a bit
2014-07-21 09:21:59 +02:00
Unknown W. Brackets
6aa9b8aa36
Limit stack walk distance a bit.
...
It was spending 0.5s in debug scanning all of memory for an entry (due to
some fp/sp tricks that aren't well detected yet.) Let's just assume a 1MB
func doesn't need to be walked properly.
2014-07-20 21:52:55 -07:00
Henrik Rydgard
0986f27f33
Detect screen size and choose resolution defaults accordingly.
...
Also prevent recreate on older Android versions where it doesn't seem reliable.
2014-07-21 00:35:36 +02:00
Unknown W. Brackets
b03460c169
Improve function range detection.
...
This improves a pattern like this:
j endOfLoop;
li v0, 0;
startOfLoop:
addiu v0, v0, 1
endOfLoop:
bne v0, a0, startOfLoop;
nop
jr ra
nop
Where it jumps to the end of the loop, which only jumps back to the top of
the loop. This might misdetect a few cases of tail recursion, but only
when the funcs are right next to each other.
Also, stops scanning at a jr ra, which was causing funcs to be incorrectly
long in cases.
2014-07-20 14:42:20 -07:00
Unknown W. Brackets
640c1231f3
Improve a crash in disassembly on game shutdown.
2014-07-20 14:42:20 -07:00
Henrik Rydgård
0e5679c833
Revert "Detect Peace Walker's anti-cheat hash func"
2014-07-20 23:39:11 +02:00
Unknown W. Brackets
55403e42c2
Introduce a memory shutdown lock.
...
This allows the debugger to access memory in a safe way that should never
crash.
2014-07-19 23:30:19 -07:00
Henrik Rydgard
b6569af71c
Add an "Auto" mode that makes display res match internal res.
...
Change wording according to unknown's idea
2014-07-20 00:22:08 +02:00
Henrik Rydgard
76bdd84e43
Add option to use the Android hardware scaler by setting a low resolution
2014-07-20 00:22:08 +02:00
The Dax
c1fc04ee64
Remove the "Change MAC Address" screen, and simply generate a new (random) one upon pressing the button.
2014-07-18 16:58:26 -04:00
Henrik Rydgård
06f058de54
Merge pull request #6506 from unknownbrackets/replace-funcs
...
Detect Peace Walker's anti-cheat hash func
2014-07-18 09:34:46 +02:00
Unknown W. Brackets
a59d8b5c1f
Override the codehashing func used in Peace Walker.
...
This makes the demo work fine even with jit enabled. May help the full
game when fighting a certain boss.
2014-07-18 00:23:26 -07:00
Unknown W. Brackets
1fd6214945
Improve function range detection.
...
This improves a pattern like this:
j endOfLoop;
li v0, 0;
startOfLoop:
addiu v0, v0, 1
endOfLoop:
bne v0, a0, startOfLoop;
nop
jr ra
nop
Where it jumps to the end of the loop, which only jumps back to the top of
the loop. This might misdetect a few cases of tail recursion, but only
when the funcs are right next to each other.
Also, stops scanning at a jr ra, which was causing funcs to be incorrectly
long in cases.
2014-07-18 00:22:19 -07:00
Unknown W. Brackets
aa28c0f40d
Improve a crash in disassembly on game shutdown.
2014-07-18 00:22:19 -07:00
Sacha
6957808b97
ArmJit: Optimisation when comparing float against 0.0f
2014-07-17 05:12:43 +10:00
Sacha
d4c983d9e1
Android: ARMv5 fix
2014-07-17 02:34:22 +10:00
Sacha
cd20288d99
Fix some compiler warnings.
2014-07-17 00:49:58 +10:00
Unknown W. Brackets
9581de449a
Fix some logging in sceNetAdhoc.
2014-07-15 23:35:19 -07:00
Unknown W. Brackets
2f90c8d35a
Fix a bad == comparison typo.
2014-07-15 23:33:01 -07:00
Sacha
1ce39d7e95
Improve frame timing on non-Windows. Disable IdleTiming when audio is disabled.
2014-07-16 01:04:43 +10:00
Unknown W. Brackets
ff7c3ab10d
Oops, would still infinite loop on a bad module.
...
Should really fix #6552 this time.
2014-07-15 07:14:13 -07:00
Unknown W. Brackets
2da02f97c8
Null check modules on loadexec.
...
Should fix #6552 .
2014-07-14 22:14:23 -07:00
Henrik Rydgård
c4bebda182
Merge pull request #6549 from unknownbrackets/modules
...
Correct some module func return values, info values, and clear on unload
2014-07-14 14:11:29 +02:00
Unknown W. Brackets
bddeba5901
Add a safety check for lots of segments.
2014-07-13 23:51:36 -07:00
Unknown W. Brackets
4ced0e86b1
Return an error code when module load fails.
...
If we're out of memory, we need to tell the game, of course.
2014-07-13 22:00:33 -07:00
Unknown W. Brackets
7c4aab3cc2
Warn on exports from syslib.
...
They don't seem to hook up properly on hardware by the module name.
2014-07-13 22:00:33 -07:00
Unknown W. Brackets
50402a3d49
Return NOT_YET_LINKED for unlinked module funcs.
2014-07-13 22:00:32 -07:00
Unknown W. Brackets
292a9ea567
Clear module text and bss on unload.
...
Text is set to break instructions, data/bss to -1. Matches results on a
PSP.
2014-07-13 22:00:32 -07:00
Unknown W. Brackets
ede29179c6
Cleanup remaining modules on loadexec.
2014-07-13 22:00:31 -07:00
Unknown W. Brackets
729377881c
Protect against modules with no start address.
...
Generally, fake ones.
2014-07-13 19:58:30 -07:00
Unknown W. Brackets
4a94a30ba6
Calculate the module info data/text/bss size.
2014-07-13 19:53:00 -07:00
Unknown W. Brackets
1c7873e2f5
Fill the module info segment addresses and sizes.
2014-07-13 19:16:25 -07:00
Unknown W. Brackets
399d4d1ba9
Correct sceKernelModuleStart() return value.
2014-07-13 15:16:03 -07:00
Unknown W. Brackets
3fa1481fe9
Cut down on "remaining data in packet" reports.
...
Looks potentially like a bug in FFmpeg.
2014-07-13 11:26:00 -07:00
Unknown W. Brackets
8dd783f719
Correct HLE function name per sha.
2014-07-13 11:03:23 -07:00
Unknown W. Brackets
81096f6bd0
Hook Dissidia's avi record func.
...
This makes it so replays can be recorded. Though you could probably just
record separately anyway.
2014-07-13 08:36:34 -07:00
Unknown W. Brackets
98d3dc4be8
Typos.
2014-07-12 13:48:30 -07:00
Unknown W. Brackets
ef4847b6f5
Don't double decrease g_inCbCount.
...
Happened when a thread was deleted, it seems like. Fixes #6542 .
2014-07-12 09:57:13 -07:00
Unknown W. Brackets
b583e446e6
Skip reporting savedata stuff in known cases.
...
We were always doing 3 before for 5, so skip reporting it. Other cases
are the interesting ones.
2014-07-09 23:30:20 -07:00
Henrik Rydgård
41601d714b
Change default of "disable slow framebuf effects" to false
2014-07-09 13:42:46 +02:00
Unknown W. Brackets
4a8d52ab1a
Add a config option for the slow framebuf effects.
...
Like cluts, blitting, etc. At higher render resolutions these are
expensive, and on some mobile devices they may be too much.
Of course, they're only used when needed so this is a speedhack.
2014-07-08 23:57:27 -07:00
Unknown W. Brackets
0b22d8f56c
Check for missing SAVEDATA_PARAMS.
2014-07-06 22:42:14 -07:00
Unknown W. Brackets
30f8ec447a
Hash and detect savedata hashmode correctly.
...
Fixes Persona 1 savedata compatibility.
2014-07-06 19:27:51 -07:00
Unknown W. Brackets
b1b2c91eb3
Fix issues on win32 with multithreading.
...
We weren't properly rechecking based on spurious wakeups (which
technically can happen on x64 too.)
2014-07-06 14:02:00 -07:00
Unknown W. Brackets
b370621a3a
Fix sceCtrl buffer update timing drift.
...
Spotted by xsacha. Only when not using vblank timing (most commonly used
by games.)
2014-07-06 01:08:44 -07:00
Unknown W. Brackets
09b9d2ad81
Keep track of ranges that have emuhack ops.
...
So that we can invalidate them smarter.
2014-07-05 16:25:16 -07:00
Unknown W. Brackets
2910f7e7a2
Flush icache before memcpys.
...
Maybe there's a way to optimize this better...
2014-07-05 13:23:47 -07:00
Unknown W. Brackets
d2e7dfcc51
Minor logging improvement.
2014-07-05 13:19:53 -07:00
Unknown W. Brackets
4b9229a5ba
x86jit: Flush the PC before r/w in debug.
...
This way we get better log output.
2014-07-05 12:57:44 -07:00
Unknown W. Brackets
cd78e1676d
Fix savestates broken by #6493 .
2014-07-05 07:30:03 -07:00
Henrik Rydgård
8a308fa7a7
Merge pull request #6493 from xsacha/master
...
HLE: sceUsb stubs.
2014-07-05 14:35:42 +02:00
Unknown W. Brackets
a5b0901c36
Improve cross-platform savestate compat.
...
If 0 files are open in flash0:, which is very very common, this will make
them work the same.
2014-07-04 13:34:38 -07:00
Sacha
2bb87bbe23
HLE: sceUsb stubs.
2014-07-04 06:27:01 +10:00
Sacha
135c79ee78
Implement sceGzipDecompress and sceDeflateDecompress. Some games (eg. Suto Mani / Strobe Mania) required this. They are now playable. Fixes #146
2014-07-03 13:58:47 +10:00
Karen Tsai
1d1096633f
Removed some extraneous tabs in sceKernelModule.cpp
2014-07-02 13:21:27 -04:00
Henrik Rydgård
da32e5d4e3
Merge pull request #6481 from sum2012/sceKernelModule
...
Correct sceKernelSelfStopUnloadModule
2014-07-02 18:30:38 +02:00
Unknown W. Brackets
f835c158a3
Also fire mhz change listeners on load state.
2014-07-02 08:19:49 -07:00
Unknown W. Brackets
2d54c1cf4e
Reset the audio rate on save/load state.
...
Should fix #6484 .
2014-07-02 08:11:26 -07:00
sum2012
96c6a53e58
Fix space bug
2014-07-02 20:27:17 +08:00
sum2012
0256c7e056
Use with same code with sceKernelStopUnloadSelfModuleWithStatus
2014-07-02 20:08:27 +08:00
Unknown W. Brackets
b73c1ba29b
Reduce audio drift from 44.1kHz.
...
Although, not sure what the PSP's actual exact timing is...
2014-07-01 23:08:38 -07:00
Unknown W. Brackets
f5440c2357
Fire a callback when cpu mhz changes.
...
So these can adjust efficiently. It's not like it changes often.
2014-07-01 23:01:30 -07:00
Unknown W. Brackets
0f7f00c635
Play it safer with savedata dialog thread safety.
2014-07-01 22:52:51 -07:00
sum2012
eecd9038cd
Init exitCode variable
2014-07-02 08:00:41 +08:00
sum2012
bc4a9149d3
Correct sceKernelSelfStopUnloadModule
...
Fix #4237
2014-07-02 07:25:49 +08:00
Unknown W. Brackets
e505655c2b
Fix a potential crash/race condition.
...
If anything is behind, it might run __AudioWakeThreads() within
reschedule, and get confused.
2014-07-01 08:02:34 -07:00
Unknown W. Brackets
5cd4a17e88
Fix periodic events drifting when eating cycles.
...
Need to set the next timer before rescheduling threads or etc.
2014-07-01 00:26:15 -07:00
Unknown W. Brackets
e9fd43b947
Correct cyclesLate if an event consumes cycles.
...
This can prevent things from drifting out of sync.
2014-07-01 00:26:14 -07:00
Sacha
86284aa91a
Fix #6477 by sleeping for 16ms when minimized.
2014-07-01 13:29:39 +10:00
Unknown W. Brackets
c0e6f26bb5
Fix startDefaultPrefix tripping.
...
We want the regs already initialized when we set this up.
2014-06-30 08:10:14 -07:00
Henrik Rydgård
cca896b0e4
Merge pull request #6468 from unknownbrackets/savedata
...
Execute savedata operations on a thread, notify of failure
2014-06-30 14:07:06 +02:00
Henrik Rydgård
bfffe33438
Merge pull request #6469 from unknownbrackets/logging
...
Enforce semicolons at the end of log lines
2014-06-30 11:44:02 +02:00
Henrik Rydgård
7c54a3e8b6
Merge pull request #6470 from unknownbrackets/armjit-minor
...
Use the ARM rounding mode flag for conversions
2014-06-30 11:43:00 +02:00
Unknown W. Brackets
c6f5ddd7a4
Reset replacements on loadexec.
...
Just to make sure we don't get confused.
2014-06-30 00:27:05 -07:00
Unknown W. Brackets
433f4eb00a
Use the ARM rounding mode flag for conversions.
...
It's at least much simpler. Not sure if faster. Handles NAN correctly.
2014-06-29 20:36:00 -07:00
Unknown W. Brackets
f339f7d539
armjit: Handle NAN correctly in float conversion.
2014-06-29 20:05:59 -07:00
Unknown W. Brackets
c168db5943
armjit: Fix really bad typo in cvt.w.s.
2014-06-29 19:43:17 -07:00
Unknown W. Brackets
0a33eb4c42
Fix missing log semicolons only affecting logging.
2014-06-29 19:09:39 -07:00
Unknown W. Brackets
0078faef8b
Fix some log semicolons that might affect logic.
...
But, these should all be right.
2014-06-29 19:09:38 -07:00
Unknown W. Brackets
5db79dcf11
Fix some missing semicolons on log statements.
2014-06-29 19:09:37 -07:00
Unknown W. Brackets
01d3dcdc99
Prevent a possible race condition in save/load.
2014-06-29 17:44:56 -07:00
Unknown W. Brackets
e3c6876365
Show a message when saving/loading fails.
2014-06-29 17:42:20 -07:00
Unknown W. Brackets
553c870ee9
Execute savedata io on a separate thread.
...
Some savedata is sorta large, like 1MB, this makes it save more smoothly.
2014-06-29 17:32:57 -07:00
Unknown W. Brackets
51909a3256
Separate out io actions from save dialog display.
2014-06-29 17:07:04 -07:00
Henrik Rydgard
2d05b6e5e8
bugfix: Strdup the generated mac address
2014-06-30 01:08:45 +02:00
Henrik Rydgård
4c0f4f2e38
Merge pull request #6467 from GreenBagels/init-rand-mac
...
Change RandMAC function call to function pointer
2014-06-30 00:40:52 +02:00
GreenBagels
c006bbd51b
Change RandMAC function call to function pointer
...
Left out .str() stringstream function
No need for forward declaration
Left an extra pair of parenthesis on CreateRandMAC
Something deleted a )...
2014-06-29 18:27:03 -04:00
Kingcom
dc80123b93
Add options to import/export .sym files from the menu
2014-06-30 00:02:22 +02:00
Unknown W. Brackets
893188acb3
Fix core timing when an event eats cycles.
2014-06-29 14:15:56 -07:00
Henrik Rydgård
4d1f326997
Merge pull request #6376 from GreenBagels/rand-mac-option
...
Initialize with random MAC
2014-06-29 22:53:33 +02:00
greenbagels
9568dffee6
revert some accidenal commits
2014-06-29 16:49:31 -04:00
GreenBagels
c4ced7a835
Forward Declaration of OnRandomMACAddress added.
...
Added function to create random MAC
...added headers needed for CreateRandMAC
Defined function to create a random MAC
Added in option to randomize MAC address
Changed uint_16 to u16 from CommonTypes.h
Fixed case sensitivity. Woo!
QT -= gui caused <QTGui/QImage> to not be found
undo unnecessary change
undo the undo
removed random option, fixed spacing
removed forward declaration
Changed default mac to random one
Added in several STL includes: iostream, sstream.
CreateRandMAC is now only used for initial runs, no more random option.
Removed unneeded headers
Moved ctime and cstdlib to the cpp file
Added in random MAC function call
Update Config.cpp
Revert "undo the undo"
This reverts commit e21852961806727230dca31ceb5193ee2f298c7b.
2014-06-29 16:39:53 -04:00
Unknown W. Brackets
9d73a3b751
On breakpoint change, don't wait for core too long.
...
Fixes #6366 .
2014-06-29 16:33:45 -04:00
Unknown W. Brackets
da212fb33e
Add an invalidate all method to the jit.
2014-06-29 16:33:45 -04:00
Unknown W. Brackets
d7f77dee72
Check more ops for changing memory in debugger.
2014-06-29 16:33:44 -04:00
Unknown W. Brackets
dcf1ce7f01
Fix a few minor warnings.
2014-06-29 16:33:44 -04:00
Sacha
8a7573004d
Use UpdateRunLoop to handle input and detect minimized window for all platforms.
2014-06-30 00:17:34 +10:00
Henrik Rydgard
3cdf53732b
Make the emuthread idle when minimized on Windows.
2014-06-29 13:11:58 +02:00
Henrik Rydgard
38609f3e6b
Cleam up thread names a bit, name the Main thread.
...
Also makes some logging VERBOSE.
2014-06-29 12:53:03 +02:00
Henrik Rydgård
fe4246452c
Merge pull request #6455 from thedax/ui-minor
...
Let the user disable the recent tab altogether when iMaxRecent is < 0.
2014-06-29 11:32:41 +02:00
Unknown W. Brackets
1c3b60a8ee
Allow changing software skinning at runtime.
2014-06-28 21:46:43 -07:00
The Dax
24743785a5
Let the user disable the recent tab altogether when iMaxRecent is < 0.
2014-06-28 23:21:36 -04:00
Henrik Rydgård
b379109380
Merge pull request #6450 from unknownbrackets/gpu-blocktransfer
...
Clear framebuffers/textures upon sceKernelLoadExec()
2014-06-29 01:48:34 +02:00