1929 Commits

Author SHA1 Message Date
Henrik Rydgard
cb67e0439a Don't try to resize the display if the window size didn't change. v0.6 2013-01-27 10:43:21 +01:00
Henrik Rydgård
336dffa13a Merge pull request #509 from unknownbrackets/jit-mem-fix
Jit memory access fixes
2013-01-27 01:05:30 -08:00
Unknown W. Brackets
6d7a8d9b1a Apply the memview mask to jit immediates too. 2013-01-26 23:54:43 -08:00
Unknown W. Brackets
a7b5433ba7 Make sure fastmem isn't confused by rs changing. 2013-01-26 23:18:50 -08:00
Unknown W. Brackets
a89d61463e Make the VFPU jit use far jumps for memory access. 2013-01-26 23:08:19 -08:00
Henrik Rydgard
d1b3fd0e49 Better window resize handling 2013-01-27 00:15:39 +01:00
Henrik Rydgard
2a2f8e6225 Win32: Fullscreen toggle and resizing the window works better. 2013-01-26 23:46:02 +01:00
Henrik Rydgard
021bc613b8 This include doesn't belong 2013-01-26 22:00:52 +01:00
Henrik Rydgard
8b180513cb Assorted GPU cleanup/fixing (fbo, vbo draw type) 2013-01-26 21:39:36 +01:00
Henrik Rydgard
d745d57730 Add (hardcoded) option for creating a debug gl context 2013-01-26 21:39:36 +01:00
Henrik Rydgard
1ed9a6ba56 Small fixes. v0.6. 2013-01-26 21:39:35 +01:00
Unknown W. Brackets
7ba8d1efe9 Android buildfix. 2013-01-26 12:01:23 -08:00
Henrik Rydgård
2cfda4e694 Merge pull request #507 from unknownbrackets/perf
Minor performance improvements
2013-01-26 11:48:37 -08:00
Unknown W. Brackets
6e403be006 Skip a double map lookup.
Profiler says this was taking extra time.  Only saves 0.23%.
2013-01-26 11:36:45 -08:00
Unknown W. Brackets
7f4e322266 Cut thread switching time down.
Based on profiling release Windows.

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

Thanks go out to [Unknown] for specifying the correct value of o.
2013-01-25 17:57:12 -05:00
Lioncash
e1aff1fd91 Fix duplicate branches.
I think this should be UNKNOWN_ELF.
2013-01-25 17:05:09 -05:00
Henrik Rydgård
9380089038 Merge pull request #497 from lioncash/master
Fixed two other mem leaks I missed.
2013-01-25 12:20:09 -08:00
Lioncash
38caedadfa Fixed two other memory leaks I missed. 2013-01-25 15:07:36 -05:00
Henrik Rydgård
67f849a442 Merge pull request #496 from lioncash/master
Memory leak cleanup. Fixing some small things that were fixed in the Dolphin source, but didn't make it over here.
2013-01-25 11:17:21 -08:00
Henrik Rydgard
dd149a50a3 Must flush FPR regcache before thrashing the fp regs 2013-01-25 19:55:30 +01:00
Henrik Rydgard
aabc0aa9ef Quick implementation of LV.Q and SV.Q in x86/x64 JIT 2013-01-25 19:50:30 +01:00
Lioncash
1cc74aa6c0 Get rid of unused iterators. 2013-01-25 13:11:06 -05:00
Henrik Rydgard
0930b5b587 Typo + warning fix 2013-01-25 19:08:28 +01:00
Lioncash
c3d6f67c7c Fix release() in StdMutex.h
Originally fixed here:

https://code.google.com/p/dolphin-emu/source/detail?spec=svn74a5ad542b44a18751acc19e4d1229d640cc4c0f&r=4f4aa4860df98f401384f6e598cb649b13882e79
2013-01-25 13:07:01 -05:00
Lioncash
b897309eaf Fix some resource leaks/memory leaks. 2013-01-25 13:00:50 -05:00
Henrik Rydgard
4deaec8924 Make ADPCM audio a little less crackly in a hacky way.. 2013-01-25 18:36:05 +01:00
Henrik Rydgard
31b73a0b99 No need for double precision in ADPCM decoder 2013-01-25 18:29:15 +01:00
Henrik Rydgard
8a32779150 Misc GPU stats etc changes 2013-01-25 18:29:14 +01:00
Henrik Rydgard
7a5aa60b3a Disasm GE_CMD_REVERSENORMAL 2013-01-25 18:29:13 +01:00
Henrik Rydgård
2447213c52 Merge pull request #495 from unknownbrackets/rtc-fix
RTC buildfix (but not sure)
2013-01-25 08:45:38 -08:00
Unknown W. Brackets
6e6e71d116 Quick fix rtc crash, probably gives wrong results. 2013-01-25 08:34:04 -08:00
Unknown W. Brackets
1cd5421bdc Buildfix for missing functions on Android/win32. 2013-01-25 08:32:30 -08:00
Unknown W. Brackets
f102908f5d Fix crashes when localtime() can't handle the date. 2013-01-25 08:31:50 -08:00