Commit graph

13984 commits

Author SHA1 Message Date
Henrik Rydgard
0986f27f33 Detect screen size and choose resolution defaults accordingly.
Also prevent recreate on older Android versions where it doesn't seem reliable.
2014-07-21 00:35:36 +02:00
Unknown W. Brackets
b03460c169 Improve function range detection.
This improves a pattern like this:

  j endOfLoop;
  li v0, 0;
  startOfLoop:
  addiu v0, v0, 1
endOfLoop:
  bne v0, a0, startOfLoop;
  nop
  jr ra
  nop

Where it jumps to the end of the loop, which only jumps back to the top of
the loop.  This might misdetect a few cases of tail recursion, but only
when the funcs are right next to each other.

Also, stops scanning at a jr ra, which was causing funcs to be incorrectly
long in cases.
2014-07-20 14:42:20 -07:00
Unknown W. Brackets
640c1231f3 Improve a crash in disassembly on game shutdown. 2014-07-20 14:42:20 -07:00
Henrik Rydgård
e54893f1f1 Merge pull request #6594 from hrydgard/revert-6506-replace-funcs
Revert "Detect Peace Walker's anti-cheat hash func"
2014-07-20 23:41:41 +02:00
Henrik Rydgård
0e5679c833 Revert "Detect Peace Walker's anti-cheat hash func" 2014-07-20 23:39:11 +02:00
Henrik Rydgard
72b5d1cd8e Fix aspect ratio mistake for hw scaler affecting portrait mode 2014-07-20 21:45:17 +02:00
Henrik Rydgard
93d1a0b175 Update native with tilt Y/Z axis fix. Fix tilt in portrait mode. 2014-07-20 18:31:28 +02:00
Henrik Rydgard
1140bc7539 Fix inconsistent line endings 2014-07-20 18:31:27 +02:00
Unknown W. Brackets
940e7c9fb8 Fix a small typo. 2014-07-20 08:34:39 -07:00
Henrik Rydgard
49fb0bd65b Set WS_POPUP for fullscreen windows, rumoured to help certain gl drivers do the right thing.
Remove an outdated comment.
2014-07-20 17:28:25 +02:00
Henrik Rydgard
75b9da3e96 Update submodules and fix a warning 2014-07-20 17:16:02 +02:00
Henrik Rydgard
0c3bc1dfee system info: show ABI as detected by our compiler defines 2014-07-20 16:33:24 +02:00
Henrik Rydgård
d931eb3ea8 Add "--release" flag to b.sh 2014-07-20 14:42:41 +02:00
Henrik Rydgard
5b597db4b5 De-duplicate updates to axis mapped keys.
Improves mapping an analog stick to the same thing as a dpad, as this reduces
spurious button resets caused by analog stick noise.
2014-07-20 12:52:11 +02:00
Henrik Rydgard
ecacc8784b Make the axis->button mapping code make more sense 2014-07-20 12:42:30 +02:00
Henrik Rydgard
39cde7fc48 Hide "immersive mode" on pre-kitkat Android. 2014-07-20 12:11:50 +02:00
Henrik Rydgård
358050800f Merge pull request #6586 from unknownbrackets/debugger
Introduce a memory shutdown lock
2014-07-20 10:02:16 +02:00
Unknown W. Brackets
55403e42c2 Introduce a memory shutdown lock.
This allows the debugger to access memory in a safe way that should never
crash.
2014-07-19 23:30:19 -07:00
Unknown W. Brackets
45e5f642da Update native with ui fix.
Fixes #6584.
2014-07-19 22:59:29 -07:00
Henrik Rydgård
c61c116b69 Merge pull request #6576 from hrydgard/android-hwscaler
Add option to use the Android hardware scaler by setting a low resolution
2014-07-20 00:49:14 +02:00
Henrik Rydgard
b6569af71c Add an "Auto" mode that makes display res match internal res.
Change wording according to unknown's idea
2014-07-20 00:22:08 +02:00
Henrik Rydgard
76bdd84e43 Add option to use the Android hardware scaler by setting a low resolution 2014-07-20 00:22:08 +02:00
Henrik Rydgard
d3dce422a8 X64emitter: merge from dolphin 2014-07-20 00:21:28 +02:00
Henrik Rydgård
16a0427923 Merge pull request #6581 from sum2012/patch-2
Update Android  Readme.txt
2014-07-19 21:03:46 +02:00
sum2012
109ec60b85 Update Android Readme.txt 2014-07-19 21:42:31 +08:00
Henrik Rydgård
87dd301719 Merge pull request #6580 from unknownbrackets/snappy-up
Update Snappy to 1.1.2
2014-07-19 15:25:09 +02:00
Henrik Rydgård
9fdbbe4ade Merge pull request #6579 from thedax/ui-minor
Tweak the UI a bit.
2014-07-19 08:09:01 +02:00
The Dax
d65227e3dd Change the MAC address randomiser, proAdhoc server editor, and post processing shader choices to ChoiceWithValueDisplay, so we can see their values. 2014-07-18 19:05:44 -04:00
The Dax
382ad3552d Update native with a required new Choice subclass. 2014-07-18 18:59:46 -04:00
Henrik Rydgård
6b375f708f Merge pull request #6577 from thedax/win32-buildfix
Win32 buildfix. Remove the new MAC address editing prompt, too.
2014-07-18 23:23:48 +02:00
The Dax
bf648504bf Fix Win32 builds and remove the new MAC address editing prompt. 2014-07-18 17:15:48 -04:00
Henrik Rydgård
29f55f0b25 Merge pull request #6518 from thedax/ui-rand-mac
Remove the "Change MAC Address" screen, and generate a random one instead.
2014-07-18 23:02:45 +02:00
The Dax
c1fc04ee64 Remove the "Change MAC Address" screen, and simply generate a new (random) one upon pressing the button. 2014-07-18 16:58:26 -04:00
Unknown W. Brackets
0b34f14935 Cast away some warnings in Snappy. 2014-07-18 09:39:58 -07:00
Unknown W. Brackets
79657af5c8 Update to the latest Snappy 1.1.2.
Not clear if there are any bugfixes, but there are minor performance
improvements.
2014-07-18 09:22:08 -07:00
Henrik Rydgård
17126abb2d Merge pull request #6568 from sergiobenrocha2/master
Debian packaging
2014-07-18 13:27:07 +02:00
Henrik Rydgard
6358cff5eb Update native with some ui tweaks 2014-07-18 12:23:02 +02:00
Henrik Rydgard
135795a664 Update submodule. Use new text input for mac addresses etc. 2014-07-18 12:07:52 +02:00
Henrik Rydgard
27b4403cae UI: Use the new "PopupTextInputChoice" for nicknames where available (windows) 2014-07-18 11:05:32 +02:00
Henrik Rydgård
06f058de54 Merge pull request #6506 from unknownbrackets/replace-funcs
Detect Peace Walker's anti-cheat hash func
2014-07-18 09:34:46 +02:00
Unknown W. Brackets
a59d8b5c1f Override the codehashing func used in Peace Walker.
This makes the demo work fine even with jit enabled.  May help the full
game when fighting a certain boss.
2014-07-18 00:23:26 -07:00
Unknown W. Brackets
1fd6214945 Improve function range detection.
This improves a pattern like this:

  j endOfLoop;
  li v0, 0;
  startOfLoop:
  addiu v0, v0, 1
endOfLoop:
  bne v0, a0, startOfLoop;
  nop
  jr ra
  nop

Where it jumps to the end of the loop, which only jumps back to the top of
the loop.  This might misdetect a few cases of tail recursion, but only
when the funcs are right next to each other.

Also, stops scanning at a jr ra, which was causing funcs to be incorrectly
long in cases.
2014-07-18 00:22:19 -07:00
Unknown W. Brackets
aa28c0f40d Improve a crash in disassembly on game shutdown. 2014-07-18 00:22:19 -07:00
sergiobenrocha2
3a0c3fe0b5 Fixed debian/changelog 2014-07-17 23:02:44 -03:00
Sacha
2754bff429 Error when attempting to use Qt via CMake. Otherwise it will build successfully but not actually run, confusing users. 2014-07-18 05:01:20 +10:00
Henrik Rydgård
c33833284f Merge pull request #6566 from thedax/win32-fullscr-fix
Win32: Fix a bug in fullscreen, and consolidate the fullscreen code into one function.
2014-07-17 17:21:56 +02:00
Henrik Rydgård
986f29fff3 Merge pull request #6569 from sum2012/patch-1
Auto save state load: set current slot to loaded one. by juhalaukkanen
2014-07-17 17:20:49 +02:00
Juha Laukkanen
8d34c6bf66 Auto save state load: set current slot to loaded one. 2014-07-17 22:18:45 +08:00
sergiobenrocha2
c871875010 Missing dependence in debian/control, fixed again debian/copyright 2014-07-17 04:17:04 -03:00
sergiobenrocha2
4105fcab21 new line at the end of file 2014-07-17 03:07:39 -03:00