Unknown W. Brackets
5a6c8b513c
Sas: Drain thread before reading/writing SAS state.
...
This should be the safest option, but I'm pretty sure some operations give
a BUSY operation or have different behavior, actually.
2015-11-25 18:44:32 -08:00
Unknown W. Brackets
fc8acc781e
Sas: Add config for SAS thread.
2015-11-25 18:44:31 -08:00
Unknown W. Brackets
0394319e89
Sas: Drain thread on savestate.
2015-11-25 18:44:30 -08:00
Unknown W. Brackets
6290ac6cbd
Sas: Process SAS on a separate thread.
...
Remaining issues:
* Need a config setting.
* Locking for voices / config?
* Locking for atrac interop?
2015-11-25 18:44:30 -08:00
Unknown W. Brackets
7bfe100b0f
Fix some unused variable warnings.
...
The CheckAlpha one looks like it will matter.
2015-11-25 16:11:53 -08:00
Henrik Rydgard
9825dad340
Zero deleted objects in the kernel object pool
...
Just doing this to narrow down the possible causes of our crashes in WaitSema/SignalSema that I can't reproduce and only have Android auto-reports of... The crash comments do mention the GTA games though.
2015-11-25 14:24:32 +01:00
Henrik Rydgard
06eee7bc1b
Oops, fix #8234
2015-11-25 14:23:39 +01:00
Henrik Rydgard
7dd631b7f2
Some code reformatting of the kernel object pool
...
Also deletes an unused [] operator
2015-11-25 13:00:29 +01:00
Henrik Rydgard
ee4261cf5c
Attempt to address some auto-reported crashes on Android
...
Still confused about the SignalSema/WaitSema ones.. they are still getting reported at high frequency
2015-11-25 12:05:32 +01:00
Unknown W. Brackets
723a2c98af
Minor warning fix.
2015-11-18 22:03:35 -08:00
Unknown W. Brackets
0264422b8d
Add a bit more error detection to the disk cache.
2015-11-18 21:56:07 -08:00
Unknown W. Brackets
475964133c
Make disk cache size a bit more flexible.
...
This way it will shrink to allow a few games to be cached simultaneously.
2015-11-18 21:56:06 -08:00
Unknown W. Brackets
9bec81b9c5
Enable the disk cache for URLs by default.
2015-11-18 21:56:05 -08:00
Unknown W. Brackets
f2cefebcb6
Garbage collect files when low on free cache space.
2015-11-18 21:56:04 -08:00
Unknown W. Brackets
df6cbafe0f
Measure free disk space to size block count.
2015-11-18 21:56:03 -08:00
Unknown W. Brackets
f0ec6fab4d
Reorganize disk cache to allow for dynamic size.
2015-11-18 21:56:02 -08:00
Henrik Rydgård
5b21c1aa39
Merge pull request #8174 from hrydgard/remove-option-depthrangehack
...
Remove the depth range hack option, turning it into an ugly game specific compatibility hack.
2015-11-15 23:05:20 +01:00
Henrik Rydgard
4b360a571c
Remove the depth range hack option, turning it into an ugly game specific compatibility hack.
...
I hate doing this, but it's not really better off as an option.
See #8171
2015-11-15 23:00:25 +01:00
Henrik Rydgård
54535ec72a
Merge pull request #8215 from unknownbrackets/savedata
...
Correct utilityData size calculation for "sizes" savedata call
2015-11-15 22:02:05 +01:00
Unknown W. Brackets
8c337850fc
Disallow thread termination in interrupts.
...
But only for certain SDK versions, as per testing.
2015-11-15 11:38:59 -08:00
Unknown W. Brackets
b71b1bbff9
Initially count the dir for save info size.
...
Should help #6068 , verified by the sizes test and JpcspTrace results.
2015-11-15 10:29:13 -08:00
Henrik Rydgård
99b7741b96
Merge pull request #8194 from unknownbrackets/atrac-remaining
...
Atrac: Correct outputs of sceAtracGetSoundSample()
2015-11-09 18:46:46 +01:00
Unknown W. Brackets
c22c181148
Sas: Automatically unpause voice on unset ATRAC3.
...
Thie fixes voices in Sol Trigger after skipping a cutscene, and matches
tests.
2015-11-09 08:25:35 -08:00
Unknown W. Brackets
5374e6a8fc
Sas: Add validation for ATRAC3 voices.
2015-11-09 08:25:28 -08:00
Unknown W. Brackets
c1d59f263a
Atrac: Ignore the loopNum value for SAS streams.
...
It seems like this is ignored, and games overwrite it with the voice
number and expect it not to change.
2015-11-09 08:23:45 -08:00
Unknown W. Brackets
21fd209f0e
Atrac: Correct outputs of sceAtracGetSoundSample().
...
Without these being correct (especially without loopEnd vs. endSample
being correct), Toukiden Kiwami doesn't play background music.
2015-11-08 19:55:28 -08:00
Unknown W. Brackets
09f77509d9
Sas: Reduce ECHO effect repeat level.
...
Previously, it sounded horrible in Sol Trigger - can be observed in
tutorial boxes when going into battle, for example, and also several other
effects. Halving this value sounds a lot more correct.
It's not clear what value exactly is correct.
2015-11-08 12:25:30 -08:00
Unknown W. Brackets
a3f7598020
Atrac: Use fileoffset for curOff context value.
...
This doesn't match my tests so far, but Sol Trigger works correctly this
way. Since this value is primarily only used for SAS, changing it back
for now until more thoroughly testing SAS makes sense.
2015-11-08 12:24:30 -08:00
Unknown W. Brackets
6b413a808f
Atrac: Handle SAS end the same way as other types.
...
It makes sense to match, and this sounds right in Sol Trigger. Haven't
tested in detail yet, but it should prevent cutting off sounds.
2015-11-08 12:23:32 -08:00
Unknown W. Brackets
ac524eee1b
Atrac: Also read loop count from context RAM.
...
Observed the Sol Trigger demo's library writing values here, although in
the cases I saw it wasn't changing it from 0.
2015-11-08 12:22:12 -08:00
Unknown W. Brackets
a0604c6de3
Atrac: DRY a tiny bit of the code down.
2015-11-08 09:04:11 -08:00
Unknown W. Brackets
28a957694a
Atrac: Apply second FACT as loop offset.
...
It seems like, when these values are different, the difference indicates
some kind of delta in other sample values?
Mostly trying to match values coming out of firmware structs here.
Fixes music looping in Kurohyo 2.
2015-11-08 08:26:41 -08:00
Unknown W. Brackets
27043b5fa5
Atrac: Do not output remain on ending decode.
...
It's not supposed to output 0, or -1, or anything. It leaves the original
value in place. This is probably why some games "liked" different values.
2015-11-08 08:20:09 -08:00
Unknown W. Brackets
9da62c1efc
Atrac: Use end codes for remaining when streaming.
2015-11-07 23:30:09 -08:00
Unknown W. Brackets
959887d407
Atrac: Correct remaining frames return value.
...
Streaming buffers still not correct in some cases, primarily looping.
2015-11-07 23:30:09 -08:00
Unknown W. Brackets
e28fa3c426
Atrac: Correct transition to fully loaded.
...
Normally it won't go over of course, oops.
2015-11-07 23:30:05 -08:00
Unknown W. Brackets
61e530df91
Atrac: Check more buffer states in GetRemainFrame.
2015-11-07 23:30:04 -08:00
Unknown W. Brackets
a932b0858c
Atrac: Make sure NO_DATA is always set.
...
This way we can move away from data_buf, which eventually we'll stop using
entirely, in preference for PSP RAM.
2015-11-07 23:29:59 -08:00
Unknown W. Brackets
3f3700cb45
Atrac: Allow games to update buffer state.
...
Because they can and do. This primarily only happens with low level and
SAS streams, I think.
2015-11-07 23:29:59 -08:00
Unknown W. Brackets
91de8e46c1
Atrac: Fix an internal typo.
2015-11-07 23:29:58 -08:00
Unknown W. Brackets
26a81f5179
Atrac: Simplify USE_FFMPEG checks.
...
Maybe we should just remove the option, but this way the behavior is a lot
more similar.
2015-11-07 23:29:58 -08:00
Unknown W. Brackets
9ebc9f695e
Atrac: Clean up logging in sceAtracGetRemainFrame.
2015-11-07 23:29:57 -08:00
Unknown W. Brackets
3afc86e9b8
Atrac: correct offsetting logic in resetting.
...
Probably not super important exactly, but got the numbers backwards when I
reduced the test data. Oops.
2015-11-06 23:19:21 -08:00
Unknown W. Brackets
696cb6649e
Atrac: Match PSP on reset of streaming data.
...
This attempts to match the sizes and positions requested by the PSP
firmware APIs. The two functions have to match: if they don't, it will
start reading incorrect data.
2015-11-05 23:23:59 -08:00
Unknown W. Brackets
4511407506
Atrac: Add reschedule when resetting play pos.
...
This matches tests, although the actual delay is more variable.
2015-11-05 23:23:55 -08:00
Unknown W. Brackets
a2c4f7760a
Atrac: Add range check when resetting play pos.
2015-11-05 23:23:50 -08:00
Unknown W. Brackets
91e5916f66
Atrac: Fix sample range check to match output.
...
It allows some negative values, actually.
2015-11-05 23:23:45 -08:00
Henrik Rydgard
44be9f2a50
Move Windows GPU init code into Windows/GPU
2015-11-03 23:22:09 +01:00
Karen Tsai
1ba873a496
Override JIT setting in ppsspp.ini for JIT-incapable environments, fakesign PPSSPP binary via adhoc signing in order to prevent crash-at-launch on iOS 9, separate jailbreak detection logic from JIT support logic, temporary change to only enable JIT on iOS 8 and below.
2015-11-03 12:34:33 -05:00
Unknown W. Brackets
869260087c
Fix screenshots to be right side up, not crash.
2015-11-02 19:43:36 -08:00
Henrik Rydgård
fbb30260e3
Merge pull request #8082 from LunaMoo/DisplayEditing
...
Add "Display layout editor"
2015-11-02 19:31:05 +01:00
Unknown W. Brackets
11ec29212e
Sas: Correct reverb volume going negative.
...
0x1000 (max vol) << 3 is negative, of course when signed...
2015-11-01 21:30:01 -08:00
Unknown W. Brackets
1aac569e73
Sas: Add in zeroes like the PSP seems to.
2015-11-01 20:56:34 -08:00
Unknown W. Brackets
9c378c4eda
Sas: Properly support the OFF reverb type.
2015-11-01 20:33:42 -08:00
Unknown W. Brackets
42222ad497
Sas: Support the dry flag as well as wet.
2015-11-01 20:32:35 -08:00
Unknown W. Brackets
4a390ea18e
Sas: Default to the right preset in reverb.
...
This needs to match waveformEffect.type, which is the default on the PSP.
Otherwise, setting to OFF initially does nothing, and it remains ROOM.
2015-11-01 20:25:21 -08:00
tpunix
6672534f49
bugfix of scefont
...
charCode should be limit to 16bit
see issue #8131
2015-11-01 21:11:31 +08:00
Henrik Rydgard
b998131581
Move the symbol map to the heap, deallocate it when no game is running.
2015-10-31 23:01:19 +01:00
LunaMoo
ae1cf1d85d
Add Display layout editor to use for example on tablets, but also includes automatic screen cropping for 16:9 cases(default).
...
//Rebased & removed atlas stuff which was added with #8096
//squashed with some improvements
2015-10-31 20:50:02 +01:00
Unknown W. Brackets
a13683e777
Add some param validation for sas functions.
2015-10-31 09:20:14 -07:00
Henrik Rydgard
9fa6f1f89d
Minor improvements to audio debug display
2015-10-31 13:02:19 +01:00
Henrik Rydgård
9cdd23c089
Merge pull request #8105 from unknownbrackets/atrac-parsing
...
Improve atrac parsing and differentiate streaming from data
2015-10-31 13:00:15 +01:00
Henrik Rydgård
5ebb5d5630
Merge pull request #8116 from hrydgard/reverb
...
Implement sceSas' reverb effect, guessing that the reverb is the same as the one in PSX's SPU
2015-10-29 11:13:04 +01:00
Sacha
bbc4f64999
MIPS: Fix build so we can compile this again.
2015-10-29 02:46:43 +00:00
Henrik Rydgard
a941c6e64c
Reverb minor optimization, comment changes
2015-10-28 21:43:38 +01:00
Henrik Rydgard
40246e894c
Fix buzzsaw noises in reverb by preventing integer wraparound in a couple of places
2015-10-28 21:36:00 +01:00
Henrik Rydgard
22f71f1e9a
Show simple info about currently playing audio in on-screen Debug Statistics
2015-10-28 21:20:20 +01:00
Henrik Rydgard
541a5e2c51
Halve the reverb input volume as a quick hack. Remove an unnecessary computation.
2015-10-27 16:34:30 +01:00
Henrik Rydgard
07f311fee1
Those multiplications with 4 from the doc ("scaled by 8" but 16-bit data) didn't seem to make lots of sense... Sounds better removing them
2015-10-27 16:12:05 +01:00
Henrik Rydgard
06fec54dba
Forgot to scale a multiplication. Slightly better but quickly devolves into harsh noise.
2015-10-27 15:56:11 +01:00
Henrik Rydgard
9bb8aff715
Forgot that the address registers are scaled. still doens't fix it.
2015-10-27 15:52:19 +01:00
Henrik Rydgard
85c8f7d3c2
Hook up SasReverb. It sounds more like a buzzsaw than a reverb at the moment, needs debugging.
...
Added a bit of code that only enables it when a reverbed sound is active. This will need to be turned off later but useful right now for hearing when it's used..
2015-10-27 12:36:30 +01:00
Henrik Rydgard
0283d00066
Implement a PSX reverb from a specification. Not hooked up.
2015-10-27 11:46:04 +01:00
Unknown W. Brackets
85fac290c9
Atrac: Calc NO DATA status when loading old state.
2015-10-25 18:00:13 -07:00
Unknown W. Brackets
2b58af3db5
Atrac: Handle loop samples more correctly.
...
They need to be offset same as currentSamples. Starting to really think
it'd be better to offset currentSamples instead...
2015-10-25 17:04:27 -07:00
Unknown W. Brackets
278d6b3690
Atrac: Set 0 read offset when fully loaded.
2015-10-25 17:04:27 -07:00
Unknown W. Brackets
85a699912d
Atrac: Correct streamed bytes field in context.
2015-10-25 17:04:26 -07:00
Unknown W. Brackets
5cc13c45f4
Atrac: Try to handle endSample more consistently.
...
Maybe we should offset currentSample by the firstSampleOffset instead?
2015-10-25 17:04:25 -07:00
Unknown W. Brackets
e51891e9cd
Atrac: Keep track of PSP-like buffer status.
...
This isn't correct yet, but tracking this much fixes looping of certain
audio.
2015-10-25 17:04:25 -07:00
Unknown W. Brackets
7e05d0db4b
Atrac: Correct decode data when there's an offset.
2015-10-25 17:04:24 -07:00
Unknown W. Brackets
e90f88a687
Atrac: Parse size and fact offset more correctly.
2015-10-25 17:04:24 -07:00
Unknown W. Brackets
2e5f8d687f
Atrac: Validate loop end and return an error.
2015-10-25 17:04:23 -07:00
Unknown W. Brackets
9ea765a347
Atrac: Calculate total samples based on data chunk.
...
Not on the entire RIFF size, which will be (slightly) inflated.
2015-10-25 17:04:22 -07:00
Unknown W. Brackets
ac56eff31c
Atrac: Parse the smpl chunk more correctly.
...
Returns the same errors as the PSP.
2015-10-25 17:04:22 -07:00
Unknown W. Brackets
596ecdc431
Atrac: Allow data to extend outside RIFF size.
...
This seems technically incorrect, but it's allowed on the PSP, possibly
intentionally due to data shipped truncated by accident?
2015-10-25 17:04:21 -07:00
Unknown W. Brackets
522a1743f4
Atrac: Return an error if there's no data chunk.
2015-10-25 17:04:20 -07:00
Unknown W. Brackets
62629827ea
Kernel: Clean up event flag logging, style.
2015-10-25 09:08:38 -07:00
Unknown W. Brackets
043891014d
Add a simpler way to force on HLE logging.
2015-10-25 09:05:16 -07:00
Unknown W. Brackets
d43247b8b8
Kernel: Act on wait clear for flags after callback.
2015-10-25 08:28:07 -07:00
Henrik Rydgard
488aec1df4
Typo fix
2015-10-25 00:54:00 +02:00
Unknown W. Brackets
f725453ae6
Sas: Report when revert is enabled.
2015-10-24 13:53:57 -07:00
Henrik Rydgård
4c0868448a
Merge pull request #8102 from unknownbrackets/callbacks
...
Cleanup RETURN() in __KernelWaitCurThread()
2015-10-24 22:14:03 +02:00
Unknown W. Brackets
9591db2daa
Cleanup RETURN() in __KernelWaitCurThread().
...
This hasn't been needed for a while.
2015-10-24 13:11:07 -07:00
Unknown W. Brackets
ec2d88cf17
Make the vag block buffer s16.
...
The values are clamped already, anyway.
2015-10-24 13:08:10 -07:00
Unknown W. Brackets
f7fa0a06d4
Atrac: Reset the fileoffset only when adding data.
...
Otherwise, it's only a seek. For example, a seek to 0, as commonly seen.
2015-10-24 10:37:14 -07:00
Henrik Rydgård
e69a456713
Merge pull request #8095 from hrydgard/improve-x64-disasm
...
x64 disasm: properly symbolize rip-relative addresses
2015-10-24 13:29:57 +02:00
xiushu
14e7658bbb
Implement on-screen touch combo keys.
...
Replace A,B,cross1,square1,triangle1 with number images 1-6
Rebuild the atlas, update the code to use combo keys 1-5
Also add psp_display.png from pull request #8082 .
2015-10-24 13:22:43 +02:00
Henrik Rydgard
aa584d1992
x86 32-bit buildfix
2015-10-24 11:10:14 +02:00
Henrik Rydgard
b7db15225f
x64 disasm: properly symbolize rip-relative addresses
2015-10-24 10:37:01 +02:00
Unknown W. Brackets
23c27d61df
Improve an error return value.
2015-10-18 13:02:05 -07:00
Unknown W. Brackets
cb99c9fc4a
Prevent a warning when loading some utility mods.
2015-10-18 12:53:18 -07:00
Unknown W. Brackets
d0a9813844
Account for uneven sized chunks by rounding up.
...
Chunks have an extra pad byte if the size is uneven. This probably isn't
happening, but just to be safe.
2015-10-18 12:50:40 -07:00
Henrik Rydgård
e632b32be2
Merge pull request #8011 from unknownbrackets/atrac-demux
...
Manually read packets in sceAtrac, skipping ffmpeg
2015-10-18 20:51:39 +02:00
Lioncash
b1901fbad2
Core: Remove unimplemented class function declarations
2015-10-18 10:55:11 -04:00
Unknown W. Brackets
8fa843bbc3
Atrac: attempt to power through bad frames.
2015-10-17 16:20:27 -07:00
Unknown W. Brackets
d30508ac43
Buildfix for Symbian/Blackberry/etc.
2015-10-17 16:20:27 -07:00
Unknown W. Brackets
60378dd59d
Atrac: Hack to make seeking in GTA work.
2015-10-17 16:20:26 -07:00
Unknown W. Brackets
0e8d3d9c56
Fix leak in FFmpeg codec ctx usage.
...
Turns out we were leaking these here too.
2015-10-17 16:20:25 -07:00
Unknown W. Brackets
7d32876610
Atrac: Cleanup FFmpeg context ptr management.
2015-10-17 16:20:25 -07:00
Unknown W. Brackets
b47458eabb
Atrac: fix loading certain savestates.
...
Some worked with it that high, but others not.
2015-10-17 16:20:24 -07:00
Unknown W. Brackets
5177f16c8d
Atrac: Use constants for the states, more clarity.
2015-10-17 16:20:23 -07:00
Unknown W. Brackets
310aa6ed47
Atrac: Remove avio helpers.
2015-10-17 16:20:22 -07:00
Unknown W. Brackets
6420b679d4
Atrac: Split out low-level packet handling.
...
So we don't have the hack in the other code at all.
2015-10-17 16:20:22 -07:00
Unknown W. Brackets
5174f7df69
Atrac: Read in the jointStereo flag for ATRAC3.
2015-10-17 16:20:21 -07:00
Unknown W. Brackets
27a10bc49f
Atrac: Fix AA3 dataOff value.
...
Note: will still be wrong in savestates...
2015-10-17 16:20:20 -07:00
Unknown W. Brackets
7d0dd0b94a
Atrac: Stop using avio/avformat entirely.
...
Probably breaks AA3 support at this point...
2015-10-17 16:20:20 -07:00
Unknown W. Brackets
2037977292
Revert compatibility flag for GTA Music Hack.
...
This reverts commit eb4ca0cf81
.
2015-10-17 16:20:19 -07:00
Unknown W. Brackets
3735dc7c16
arm64: Fix crash on not-nice jr delay slot.
...
These are very rare, I only caught this while debugging with nice
disabled. But it could happen.
2015-10-17 01:22:26 -07:00
Unknown W. Brackets
387ebf3ddd
arm64: Only clobber HI and LO together.
...
We can't clobber LO if HI is still needed. Fixes a crash in Trails in
the Sky on new game (due to a mfhi getting the wrong result.)
2015-10-17 01:21:51 -07:00
Lioncash
fea7428fdb
Core: Add missing override specifiers
2015-10-17 02:58:02 -04:00
Henrik Rydgård
27a124dcff
Merge pull request #8043 from sum2012/modules---
...
Allocate memory better by @unknownbrackets
2015-10-14 21:18:00 +02:00
Henrik Rydgård
953f712e3a
Merge pull request #8065 from hrydgard/shader-view
...
Add new shader viewing tool
2015-10-14 19:05:24 +02:00
Henrik Rydgård
f7b3e5e693
Merge pull request #7922 from hrydgard/fragshader-depth-round
...
WIP: Alternative to #7920 : Round depth in the fragment shader.
2015-10-14 18:36:05 +02:00
Henrik Rydgard
7f4e473e8c
Add new shader viewing tool
2015-10-14 18:10:21 +02:00
Unknown W. Brackets
4e7c59daae
Fix minor typo.
2015-10-12 22:14:14 -07:00
Unknown W. Brackets
679b64ef5a
Atrac: calculate instead of using header value map.
...
These are knowable values, so there's no real benefit to a static table
except potentially error detection.
2015-10-12 22:10:35 -07:00
Unknown W. Brackets
e3254e05f6
Clean up a bit of logging.
2015-10-13 04:24:44 +08:00
Unknown W. Brackets
4aa8c35950
Removed unused code to return fake module id.
...
We already allocate modules now.
2015-10-13 04:24:38 +08:00
Henrik Rydgard
65b78b18ea
Only enable fragment shader depth rounding for Heroes Phantasia, should reduce flicker.
...
Doens't fix but helps #6485
2015-10-11 20:52:00 +02:00
Henrik Rydgard
39145252e3
Windows: Add the ability to turn on GL_ARB_debug_output via a hidden config option
2015-10-11 11:52:40 +02:00
Henrik Rydgard
92f7f459dc
Not safe to change the rounding mode function pointer in GenerateCode
2015-10-10 16:46:07 +02:00
Henrik Rydgard
65ee3723d3
ARM64: Don't update currentRoundingFunc unless necessary.
2015-10-10 14:33:01 +02:00
Henrik Rydgard
70239f1611
Fix another rounding bug. ARM64 passes the fpu test again.
2015-10-10 13:30:30 +02:00
Henrik Rydgard
a6294f3e2d
Now the three backends actually do the same thing with rounding. Fixes a bug in the x86 backend, too.
2015-10-10 13:11:38 +02:00
Henrik Rydgard
1ddb508542
Improve x86 disassembly (a few symbols)
2015-10-10 13:05:17 +02:00
Henrik Rydgard
30555f31ca
ARM64 typo fix. Add a couple of worrying comments...
2015-10-10 11:56:59 +02:00
Henrik Rydgard
8914cd9914
ARM64 disassembler improvements (show many kinds of branch targets properly)
2015-10-10 11:27:28 +02:00
Henrik Rydgard
d628b9b57b
Minor fixes, mostly comments
2015-10-10 10:03:34 +02:00
sum2012
5f7cbc9603
Crash fix by @hrydgard
2015-10-09 20:10:57 +08:00
Unknown W. Brackets
5b9a506b82
Remove the cheat address hack for Gods Eater Burst.
...
It's wrong now. Although the memory is still not being allocated exactly
the same, it's much closer.
2015-10-09 20:08:15 +08:00
Unknown W. Brackets
5fe49b23e9
Reschedule on module load/unload more correctly.
2015-10-09 20:08:11 +08:00
Unknown W. Brackets
cc92d6fb34
Allocate for utility modules, handle dependencies.
2015-10-09 20:08:07 +08:00
Unknown W. Brackets
ecd5062617
Leave free space for alignment "holes" in mem.
...
This allows other, small allocates to fit in these spaces, which happens
in some games (like Gods Eater Burst.)
2015-10-09 20:08:02 +08:00
Henrik Rydgard
b2b5f3424f
Fix for 32-bit ARM
2015-10-08 23:11:57 +02:00
Henrik Rydgard
7fee5abf9f
x86/x64: Don't use a separate code block for pregenerated functions, just like on ARM
2015-10-08 22:15:28 +02:00
Henrik Rydgard
c41baab747
Pregenerate code to handle rounding mode switches. This time, for all three cores.
2015-10-08 19:58:37 +02:00
Henrik Rydgard
b7725c4f40
Remove empty header files
2015-10-08 18:54:33 +02:00
Henrik Rydgard
8a3c96a413
ARM64: Don't need to avoid destroying SCRATCH1 in these functions.
2015-10-08 14:54:43 +02:00
Henrik Rydgard
bfed830f91
Remove the ability to disable rounding mode support. It's time.
2015-10-08 14:54:42 +02:00
Henrik Rydgard
6dd86cd843
Get rid of the ForceFlushToZero hidden config option
2015-10-08 14:54:41 +02:00
Henrik Rydgard
42ce836ba5
Some minor renames and cleanups
2015-10-08 14:43:16 +02:00
Henrik Rydgard
5f4145238a
Fix #8034 . Cannot leave IMMs or REGIMM in statically allocated registers after a FlushAll.
2015-10-08 14:39:21 +02:00
Henrik Rydgård
371e7ab880
Minor #define removal
2015-10-06 19:17:29 +02:00
Henrik Rydgard
490d8be4df
Some cleanup, enable CRT memory tracker in debug builds
2015-10-04 14:11:34 +02:00
Henrik Rydgard
68fc776fa7
Work around some crashes I got trying to load a GTA:LCS savestate from 2014.
...
However, the savestate still loads to a black screen, although background audio is working.
2015-10-04 10:34:15 +02:00
Henrik Rydgard
eb4ca0cf81
Add a compatibility flag to revert sceAtrac to before #6976 . Makes audio work in GTA again.
...
Hopefully we will find a better fix in the future.
Also see issue #7863 .
2015-09-27 11:51:46 +02:00
Henrik Rydgard
d6a370a4c4
Add comments to compat.ini, System.cpp
2015-09-27 01:23:21 +02:00
Henrik Rydgard
b07b002040
Introduce "Compatibility Flags".
...
These should be used very restrictively, see comment in Compatibility.h.
Should help #8004 , by disabling depth rounding in Fight Night round 3.
2015-09-27 01:23:20 +02:00
Henrik Rydgård
c6789c28f9
Remove unused Core/CMakeLists.txt
2015-09-26 19:23:54 +02:00
Henrik Rydgard
8996f58693
Generate save state IDs for homebrew using the elf or directory name where applicable.
2015-09-25 19:27:40 +02:00
Henrik Rydgard
0f4df6c67b
Add some missing _ARCH_32 and _ARCH_64 definitions to MSVC project files.
...
Fixes obscure crash in Moppi PSP Flower homebrew.
2015-09-23 19:30:14 +02:00
Henrik Rydgard
6fcbfabdd2
Rename fields to avoid some gross #define hack that linux is doing
2015-09-23 12:10:23 +02:00
Henrik Rydgard
77e9ea38aa
Get rid of remaining uses of stat() on Windows
2015-09-23 11:34:22 +02:00
Henrik Rydgard
58d3137b10
Get rid of a bunch of more uses of stat64 on Windows.
2015-09-23 09:48:55 +02:00
Henrik Rydgard
cf63ec6d3c
Delete some duplicate code
2015-09-22 23:02:02 +02:00
Henrik Rydgard
0084b2ac30
Simplify FileUtil::Exists. Minor cleanups.
...
Might possibly help #7967 (XP) by avoiding _wstat64? That would be a libc bug though.
2015-09-22 22:50:29 +02:00
Henrik Rydgard
351baa101c
Some Android warning fixes
2015-09-22 18:30:57 +02:00
Unknown W. Brackets
ea271dd61d
Kill FINAL ifdef entirely.
...
We've never turned off the disasm pointer and it's probably not worthwhile
at this point...
2015-09-20 11:39:46 -07:00
Henrik Rydgard
8bedc60a93
React to window resizing in a slightly more traditional way, may help #7957 ?
2015-09-19 15:16:31 +02:00
Henrik Rydgård
96c4fecccc
Merge pull request #7952 from KentuckyCompass/isofilesystem_map
...
Make ISO filesystem case sensitive and add a few optimizations
2015-09-18 22:31:37 +02:00
Henrik Rydgard
3232e46c36
Make debug build nearly warning free in MSVC 2015
2015-09-17 22:02:15 +02:00
Henrik Rydgård
a71fbccfbc
Warning fixes for new LLVM on mac (warns on inconsistent usage of override)
2015-09-17 20:29:37 +02:00
sergiobenrocha2
5ec87f3459
Improve detection of for shared libs in both sdl and Qt (zlib, libzip, snappy and glew).
2015-09-16 00:59:31 -03:00
Henrik Rydgård
d34219e0ba
Merge pull request #7968 from sum2012/patch-1
...
Enabled some code on proAdhoc by @lightfirst
2015-09-13 23:32:51 +02:00
Henrik Rydgård
315ff819b4
Merge pull request #7966 from unknownbrackets/hle-minor
...
Move ThreadQueueList to its own file, minor tweaks
2015-09-13 21:31:12 +02:00
sum2012
14bbfc8c96
Enabled some code on proAdhoc by @lightfirst
...
Fix #7962
2015-09-13 21:07:13 +08:00
KentuckyCompass
8c72cb17b1
remove the unordered_map from ISOFileSystem
2015-09-12 21:12:11 -07:00
Unknown W. Brackets
91632a1ea5
Add some fallback logic when scheduling dies.
2015-09-12 13:36:52 -07:00
Unknown W. Brackets
c03b163537
Move ThreadQueueList to a separate file.
...
Not reused anywhere, but just so it's a little cleaner.
2015-09-12 13:03:15 -07:00
Unknown W. Brackets
a1139a4f45
Add some comments to the thread queue handling.
2015-09-12 12:57:44 -07:00
Unknown W. Brackets
0c1a5324fb
Merge pull request #7956 from unknownbrackets/arm64-minor
...
Unknown's min/max unordered-float fix for ARM64
2015-09-12 11:59:05 -07:00
Unknown W. Brackets
3301a347b3
arm64: Dumb typo, oops.
2015-09-12 11:56:33 -07:00
Henrik Rydgård
1e109a3b27
Add unittest for ParseLBN. Seems we already parse correctly.
...
See #7960
2015-09-12 11:21:54 +02:00
Henrik Rydgård
33c39636c8
Don't use deprecated FFMPEG codec IDs. Tries to solve #7955 .
...
Simpler alternative to #7959 .
2015-09-12 10:45:03 +02:00
Unknown W. Brackets
dd548ba12c
arm64: Check for unordered in vmin/vmax.
2015-09-08 20:07:10 -07:00
KentuckyCompass
c7d24407ee
tests show PSP doesn't tolerate extra /s at the end in an ISO
2015-09-07 18:56:18 -07:00
KentuckyCompass
4f0ec690a7
Try to fix my whitespace changes
2015-09-07 18:52:17 -07:00
KentuckyCompass
aed469ef9a
Advance a pathLength variable instead of calling .erase() in GetFromPath
2015-09-07 18:43:10 -07:00
KentuckyCompass
3f36b476ad
Add an unordered_map to TreeEntry for faster lookup
2015-09-07 17:39:17 -07:00
KentuckyCompass
481eac7184
more spaces around operators for readability
2015-09-07 16:44:34 -07:00
KentuckyCompass
fe9055c98e
make some things const
2015-09-07 16:42:57 -07:00
KentuckyCompass
32bea0c0e3
Don't copy each name in a loop
2015-09-07 16:36:40 -07:00
KentuckyCompass
8fb9403735
spacing and readability: add spaces around ==, etc
2015-09-07 16:35:23 -07:00
KentuckyCompass
b55015992c
std::string comparison can be faster than strcmp
2015-09-07 16:31:37 -07:00
KentuckyCompass
7dcb4c9df7
Move a loop constant substr call out of a for loop
2015-09-07 16:29:46 -07:00
Henrik Rydgard
2eb45f5016
Fix #7807 . Don't need to read a .ini to check that it exists..
2015-09-07 23:20:31 +02:00
KentuckyCompass
766735b9b1
Tests show PSP is case sensitive for ISO, so skip tolower()
2015-09-07 14:07:08 -07:00
Unknown W. Brackets
936ccbf18a
Fix symbolmap loading issue on MSVC 2015.
2015-09-07 09:24:15 -07:00
Unknown W. Brackets
85533dad6e
Native merge part 2: update build files.
...
And a couple minor stragglers.
2015-09-06 13:06:57 -07:00
Unknown W. Brackets
e0f85a9c6b
Native merge part 1: skip native/ in includes.
2015-09-06 12:19:33 -07:00