Commit Graph
15426 Commits
Author SHA1 Message Date
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
Unknown W. Brackets 3f0b759746 Switch to std::function for savestate callbacks. 2014-12-20 22:23:26 -08:00
Unknown W. Brackets 0a6a70f53f Allow switching cpu thread on/off ingame. 2014-12-20 17:39:42 -08:00
Henrik Rydgård 71c9804ffd Merge pull request #7195 from Bigpet/copydefaults
copy the current config when creating a pre-game config
2014-12-20 19:25:31 +01:00
Henrik Rydgård e9e6b46cd8 Merge pull request #7199 from unknownbrackets/screenshot
Add support for screenshots from Direct3D
2014-12-20 19:24:51 +01:00
Henrik Rydgård 9cbbe2d42a Merge pull request #7200 from unknownbrackets/warnings
Nix some warnings
2014-12-20 19:23:34 +01:00
Unknown W. Brackets 37c7f56b1e Remove a clear copy/paste error. 2014-12-20 09:42:08 -08:00
Unknown W. Brackets 71eb709845 fixup! Fix some missing case warnings. 2014-12-20 09:11:45 -08:00
Unknown W. Brackets a2f4efa50f Fix an unsigned less than 0 warning. 2014-12-20 09:10:53 -08:00
Unknown W. Brackets 1479a6dd32 Correct a no return value warning. 2014-12-20 09:10:18 -08:00