Commit Graph

6911 Commits

Author SHA1 Message Date
Unknown W. Brackets
c64aa7f4a4 Correct some differences from IO timing.
Arg, oops.  Fixes #7231.
2014-12-26 07:49:22 -08: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
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
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
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
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
Unknown W. Brackets
a514603f40 Fix some missing case warnings. 2014-12-20 09:10:09 -08:00
Unknown W. Brackets
8d68c055cc Clear SFO data on game quit.
Saves the correct MENU after game exit.  Seems more sane.
2014-12-20 08:29:56 -08:00
Peter Tissen
a5fcf9dd5f Make 'load defaults' work for per-game configs. Move 'stop' code into PSP_Shutdown 2014-12-19 14:56:36 +01:00
Peter Tissen
664ac1061f copy the current config when creating a pre-game config 2014-12-19 02:22:47 +01:00
Henrik Rydgård
a074c06f68 Merge pull request #7183 from Bigpet/pergamesettings
per game settings
2014-12-18 23:25:50 +01:00
Henrik Rydgård
a9be90229a Merge pull request #7140 from AbandonedCart/master
use libc++ for iOS to avoid additional directives
2014-12-18 22:38:14 +01:00
Henrik Rydgård
76b1313ed9 Merge pull request #7164 from daniel229/func_replace_orenoimouto_2
Another replace frame download in Ore no Imouto ga Konnani Kawaii Wake g...
2014-12-18 22:22:20 +01:00
Unknown W. Brackets
a292fa87ea x86jit: Fix an x32 compile error in disabled code. 2014-12-17 08:50:31 -08:00
Unknown W. Brackets
2743c5cacd x86jit: Shave off a couple bytes in asm. 2014-12-17 08:25:18 -08:00
Unknown W. Brackets
77777e372d x86jit: Use R15 when safe for the jit.
This is virtually always safe.
2014-12-17 08:09:59 -08:00
Unknown W. Brackets
b9eddc3d25 x86jit: Oops, fix a typesafety error. 2014-12-17 08:07:43 -08:00
Unknown W. Brackets
9022b48069 x86jit: Skip reload of EAX in safe cases.
Probably no real improvement in perf, but a bit cleaner and one less TODO.
2014-12-17 01:12:41 -08:00
Unknown W. Brackets
afdbf5610b jit: Use nicknames for a few more static regs. 2014-12-17 01:11:33 -08:00
Unknown W. Brackets
b6a75bf255 x86jit: Set CTXREG in a fixed place. 2014-12-17 01:00:21 -08:00
Henrik Rydgard
e3c6ec4dc6 Get rid of PowerPC from the MSVC project files as well 2014-12-16 22:01:21 +01:00
Henrik Rydgard
a54e0cf244 Goodbye PowerPC, you can always be resurrected when the time comes 2014-12-16 21:58:38 +01:00
Peter Tissen
be3389fdef added optional per-game settings
call button 'game settings' only when modifying game-only settings
make the user confirm deleting settings
2014-12-16 00:14:11 +01:00
Henrik Rydgard
4ec30d98e1 Port the x86 and ARM emitters over to use the generic CodeBlock class 2014-12-15 22:32:55 +01:00
Henrik Rydgard
b2951f0def Transplant Dolphin's ARM64 emitter over. Not hooked up to anything (yet...) 2014-12-15 22:09:26 +01:00
chinhodado
422764e077 Remove an unnecessary memcpy 2014-12-14 23:59:55 -05:00