Commit Graph

15435 Commits

Author SHA1 Message Date
Unknown W. Brackets
a62a4a42b3 armjit: handle any known zero in mtc1. 2014-12-28 20:05:29 -08:00
Unknown W. Brackets
a581720a59 Correct File::Rename() with Unicode paths.
Fixes savestates in e.g. Chinese folder paths, #7235.
2014-12-28 20:05:07 -08:00
Unknown W. Brackets
1a0f537967 dx9: Avoid triggering reset when size unchanged. 2014-12-28 13:19:19 -08:00
Unknown W. Brackets
cb62468fb9 dx9: Fix a shadowing issue in D3D9_Init().
Oops, wasn't getting the right hWnd before.  Somehow my dx9 doesn't care.
2014-12-27 11:04:15 -08:00
Unknown W. Brackets
853e81cf03 dx9: Explicitly specify the backbuffer size.
Some people are getting black screens with Direct3D9 now, this is just a
theory.  Can revert if it doesn't help.
2014-12-27 09:56:21 -08:00
Unknown W. Brackets
93fee10899 Typo. 2014-12-27 09:12:50 -08:00
Unknown W. Brackets
523a75e2bb Fix another stupid mistake. 2014-12-26 08:03:55 -08:00
Unknown W. Brackets
6629655a56 Fix a glitch in host timing in some games. 2014-12-26 07:57:00 -08:00
Unknown W. Brackets
c64aa7f4a4 Correct some differences from IO timing.
Arg, oops.  Fixes #7231.
2014-12-26 07:49:22 -08:00
Henrik Rydgård
442fe9cccc Merge pull request #7227 from unknownbrackets/io-minor
Add an option to prevent cpu stall on slow IO
2014-12-26 10:25:34 +01:00
Unknown W. Brackets
efae9e0612 Make realistic timing optional. 2014-12-26 01:18:52 -08:00
Unknown W. Brackets
8f3a8fd233 Very rough approximation of UMD seek delays. 2014-12-26 01:15:18 -08:00
Unknown W. Brackets
d6a113809b Add basic infrastructure to time io better.
This allows the filesystems to more accurately control timing.
But they're not actually doing it yet (same timing as before.)
2014-12-26 01:15:17 -08:00
Unknown W. Brackets
0abd95e784 Typo. 2014-12-26 01:12:23 -08:00
Unknown W. Brackets
0599c04c1c Properly unschedule IO events on file close.
Oops, was waking threads but not bumping events.
2014-12-26 01:07:21 -08:00
Unknown W. Brackets
3f20b32041 Add an option to prevent cpu stall on slow IO.
This is good for any slow storage, including:
  * Hard disk spinning up.
  * Generally slow (cheap) SD cards.
  * HTTP or Samba streaming.

May possibly cause bugs in some cases where timing is unrealistic.  That
being said, as long as the game is a UMD game, and there's caching (could
enable memory caching for storage), it should not be a problem usually.
2014-12-26 01:07:16 -08:00
Unknown W. Brackets
8ec0069338 Update native (warning fixes.) 2014-12-25 19:43:31 -08:00
Henrik Rydgård
6af7f4f7f3 Merge pull request #7226 from xebra/dx9
Fix resize the window correctly on dx9 backend
2014-12-25 23:15:34 +01:00
xebra
95258c2777 DX9:Fix forgotten resizing stuff 2014-12-26 03:10:26 +09:00
xebra
ecbc942c55 DX9:Implement resize back-buffer. 2014-12-26 01:41:12 +09:00
Henrik Rydgård
2db92755e0 Merge pull request #7222 from chinhodado/master
Add 256x256 icon to Windows icon file
2014-12-25 10:10:36 +01:00
Chin
3cbbf97519 Add 256x256 icon to Windows icon file 2014-12-24 13:48:00 -05:00
Henrik Rydgård
f74add91e2 Merge pull request #7202 from unknownbrackets/cpu-thread
Allow switching cpu thread on/off ingame
2014-12-24 19:15:51 +01:00
Unknown W. Brackets
2423fa52c7 Merge pull request #7219 from hrydgard/store-imms
x86 jit: Allow storing all imms directly without bouncing to a register, not just zero
2014-12-23 13:39:41 -08:00
Henrik Rydgård
6bf2c02908 x86 jit: Allow storing all imms directly without bouncing to a register, not just zero. 2014-12-23 22:25:53 +01:00
Henrik Rydgård
f51fcb9e80 Typos 2014-12-23 21:32:26 +01:00
Henrik Rydgård
98f1ac9153 Merge pull request #7217 from hilesaz/master
Fix to VFPU register allocation. Fixes #7174
2014-12-23 13:28:53 +01:00
Bovine
a9b7656f93 Fix to VFPU register allocation. Fixes #7174
GetFreeXRegs(_,_,true) invalidates registers it can see on spill,
but it can't see all the registers in the array due to how we call it
so we have to invalidate the rest ourselves.  Not doing so can get it
to use the same register twice.
2014-12-23 03:39:50 -07:00
Henrik Rydgård
53ab7ab4b2 Fix FakeJit, start preparing a little for ARM64 2014-12-23 09:36:28 +01:00
Henrik Rydgård
102aa8e387 Merge pull request #7216 from chinhodado/patch-1
Avoid calling GetPointer() multiple times in a row
2014-12-23 09:26:11 +01:00
Unknown W. Brackets
326c298207 armjit: Fix BKPT on simple exits.
If we get lucky and write a single-op destination address, we only emit
one op.  So we have to check the next op before overwriting.
2014-12-22 22:56:15 -08:00
Unknown W. Brackets
cb50075cf9 armjit: Correct NEON/non-VFPU reg allocation order.
This fixes vh2f, which unbreaks games like Dissidia 012 and others.
2014-12-22 21:27:27 -08:00
chinhodado
81197f18a0 Avoid calling GetPointer() multiple times in a row 2014-12-22 22:46:37 -05:00
Henrik Rydgard
2e675c7b0b Move GamePauseScreen into its own file 2014-12-22 10:48:17 +01:00
Henrik Rydgård
3706414454 Merge pull request #7209 from unknownbrackets/texcache
Avoid killing textures unless we have several mb
2014-12-22 09:42:30 +01:00
Henrik Rydgård
bc6da491f4 Merge pull request #7211 from unknownbrackets/ctrl
Allow an analog to press a button in any direction
2014-12-22 09:32:46 +01:00
Unknown W. Brackets
2412466065 Allow an analog to press a button in any direction.
This is the only remaining case in #4391, so fixes #4391.
2014-12-21 18:50:07 -08:00
Unknown W. Brackets
d097999fad Avoid killing textures unless we have several mb. 2014-12-21 17:00:55 -08:00
Henrik Rydgard
eaa1f0c23d Port over the fog NaN/inf fixes from OpenGL to Direct3D. Fixes skies in Outrun and probably a few other things 2014-12-22 00:48:16 +01:00
Henrik Rydgard
6c3ef819e0 ARM cpu detect: Only drop last character if it's actually a newline 2014-12-22 00:19:59 +01:00
Henrik Rydgard
951c5e7c0b Remove official support for armeabi devices (that is, very old ones) 2014-12-21 23:56:38 +01:00
Henrik Rydgård
7d39b49ec4 Merge pull request #7206 from unknownbrackets/gpu-minor
Small optimization to viewport scale + correct y offset
2014-12-21 22:10:10 +01:00
Unknown W. Brackets
8900f17f99 dx9: Correct half-pixel offset.
This fixes the pixel of blank space at the top, and the gpu/commands/basic
test.
2014-12-21 10:37:35 -08:00
Unknown W. Brackets
b9e78dab9c dx9: Small optimization to viewport scaling. 2014-12-21 10:35:04 -08:00
Henrik Rydgård
f0dc66a661 Merge pull request #7203 from unknownbrackets/savestates
Create savestates to temp files for safety
2014-12-21 11:59:33 +01:00
Unknown W. Brackets
c52b73393b Try default constructors for Symbian. 2014-12-20 23:39:44 -08:00
Unknown W. Brackets
306786db60 Oops, ignore DX9 on non-Windows.
This probably had broken Qt before, whoops.
2014-12-20 23:31:16 -08:00
Unknown W. Brackets
fed8b48e04 Just leave Symbian the way it was. 2014-12-20 23:18:42 -08:00
Unknown W. Brackets
2dd9b10c8d Take screenshots with savestates. 2014-12-20 23:14:46 -08:00
Unknown W. Brackets
b1c9e7382f Save state to a temp file and rename.
This way, if you run out of disk or hit a bug, at least you have your old
state.  Better than having neither.
2014-12-20 22:24:02 -08:00