Commit Graph

1179 Commits

Author SHA1 Message Date
Unknown W. Brackets
df1a26793b When the language changes, recreate all views.
Not just the current screen's views.  Fixes language not switching on main
screen when changed in settings.
2014-02-17 11:40:59 -08:00
Unknown W. Brackets
3dea6fdd86 Cache reporting support to avoid slowdown.
Turns out checking flash0:/ was not fast, oops, but especially when
disabled.

Also, make the box show as disabled when it's been disabled during the
session, and make it not do that in the menu.
2014-02-15 20:34:03 -08:00
Henrik Rydgard
3ba629081b Temporary: Exit "hard" on Android again.
This is to prevent more unforeseen issues like the rotation lock
problem in the bugfix release.

Will be reverted again later.
2014-02-15 10:00:29 +01:00
Henrik Rydgård
0dd9e2dbaf Merge pull request #5452 from unknownbrackets/win-fixes
Clean up some Windows leaks, optimize symbol map a bit
2014-02-15 09:31:37 +01:00
Unknown W. Brackets
75de50123a Don't need to check inited for PSP_Shutdown() now. 2014-02-14 23:02:29 -08:00
Henrik Rydgård
0f1032841b Merge pull request #5380 from ufdada/patch-2
Only enable autoframeskip if frameskipping != 0
2014-02-14 13:27:55 +01:00
Henrik Rydgard
002a4f2f72 Prevent messages from getting lost by adding a queue. Fixes #5431 2014-02-13 17:48:33 +01:00
The Dax
72546b83a7 Allow the language ini path to be overridden for translation testing purposes. 2014-02-12 18:31:54 -05:00
Unknown W. Brackets
ab8a8a61dc Shut down emulation when the game exits.
Fixes #5421.
2014-02-12 08:06:53 -08:00
ufdada
76e81c182a another approach 2014-02-11 18:32:26 +01:00
Henrik Rydgård
1e1cd730bd Fix crash on exit in SDL builds and possibly others.
This was caused by NativeShutdown getting called twice.

Native* functions should not be called by the app directly, they should
always be called by the platform abstraction. Dunno what I was thinking
here.
2014-02-11 11:32:54 +01:00
Henrik Rydgard
8a2b50af64 Fix bug causing the screen to go blank when resizing the window using scale factors on Windows. 2014-02-10 16:22:16 +01:00
Henrik Rydgard
984554fe7c Make the UI scale and move correctly when the UI bounds are modified. 2014-02-10 16:08:19 +01:00
Henrik Rydgard
ca9d0ea5cf Remove more bad uses of dp_xres. Fix a data flow issue
(could end up with "feedback" if modifying the screen bounds)
2014-02-10 15:55:21 +01:00
Henrik Rydgard
c6caff61bf Update native with buildfix. Fix some resizing issues. 2014-02-10 15:14:45 +01:00
Henrik Rydgard
4d00a9b4bc Reduce use of display.h (dp_xres, dp_yres) now that uicontext has bounds 2014-02-10 12:44:36 +01:00
Henrik Rydgard
8b6b491820 Remove obsolete outputWidth/outputHeight 2014-02-10 12:44:35 +01:00
Henrik Rydgård
25bf95fcf3 Merge pull request #5388 from unknownbrackets/reporting
Adjust reporting to track and send more things
2014-02-10 09:48:20 +01:00
Unknown W. Brackets
739da04322 Also need this to prevent double-shutdown.
That exit(0) before was skipping a lot of stuff..
2014-02-09 18:18:36 -08:00
Unknown W. Brackets
b46ca9f94b Lock out reporting if harmful settings are used.
Before, if you turned it on, broke stuff, and then turned it off, we
reported the broken stuff.  This could be responsible for various
messages that have seemed strange.
2014-02-09 17:39:16 -08:00
Unknown W. Brackets
274160bc22 Centralize game background drawing code.
No need to duplicate it everywhere.
2014-02-09 17:39:15 -08:00
Henrik Rydgard
ca500b0bf4 Add setting for Kitkat Immersive Mode on Android. 2014-02-09 23:16:08 +01:00
ufdada
bf580ec2e1 Only enable autoframeskip if frameskipping != 0
Referencing #5373.
2014-02-09 13:20:38 +01:00
Unknown W. Brackets
7add81fbd2 Use USING_WIN_UI instead of _WIN32 for differences.
Just makes the code clearer and probably helps other UIs work on Windows
more easily.
2014-02-08 16:38:45 -08:00
Unknown W. Brackets
cd4cd77938 Clean up defines in MSVC project files.
This way they're all basically the same.  A lot of cases where
debug/release/etc. where inconsistent...

Also, define USING_WIN_UI.
2014-02-08 16:38:44 -08:00
Unknown W. Brackets
d2108a962e Switch from USING_GLES2 to MOBILE_DEVICE.
Still using USING_GLES2 for, well, GLES2.  But for things that are really
about mobile, we need a new define.  Devices are coming that don't use
GLES2.
2014-02-08 16:37:58 -08:00
Unknown W. Brackets
2c204e8028 Update project to MSVC 2013 tools.
Retaining XP support, using SDK 7.1a (v120_xp.)  Disables SSE2 flag on x64
since it's implied and causes compile warnings.
2014-02-08 13:41:28 -08:00
ufdada
0fc8c35297 Fix language selection list
You can´t choose any language on android, probably because of a bugfix (see ca8311b4b8)
2014-02-04 17:24:28 +01:00
Henrik Rydgård
8bc6e3f861 Add a setting in System to set the screen rotation. Default is locked to landscape. 2014-02-04 12:58:37 +01:00
Henrik Rydgård
536fcbd719 Add support for new "native-method" NativeQueryConfig, which will be
used to implement settings like rotation lock where the implementation
is on the Java side on Android.
2014-02-04 12:09:14 +01:00
The Dax
73f61d908c Use [Unknown]'s suggested method instead. 2014-01-31 00:54:38 -05:00
The Dax
910abacb3f Skip showing the info menu if the RMB is bound. 2014-01-31 00:48:25 -05:00
The Dax
87c2201873 Don't crash when enable debug stats is enabled in a game, then turned off after exiting a game. 2014-01-27 23:34:02 -05:00
Henrik Rydgård
289729f43c Merge pull request #5216 from DanyalZia/frameskip
Separates out auto-skip from frameskiping
2014-01-26 14:06:45 -08:00
DanyalZia
251b0e86ee Separates out auto-skip from frameskipping 2014-01-26 00:50:00 +05:00
Unknown W. Brackets
8f98fa78aa Allow right click / triangle on a game item.
Fixes #3866, makes keyboard navigation a bit better.
2014-01-25 11:24:06 -08:00
Unknown W. Brackets
d820768396 Properly exit error screen when hitting cancel.
Fixes #3351.
2014-01-25 00:40:14 -08:00
Unknown W. Brackets
eeaeb91610 Disable scaling to odd multiples when unsupported.
May help #4000.
2014-01-19 21:14:21 -08:00
Unknown W. Brackets
a73b15b963 In multithreadead, load the game async.
This way if it takes time to load, things aren't frozen while it's doing
that.  This allows us to show any sort of loading animation or etc. we
want.

Before, it might show a odd looking game select screen while loading, and
then finally go to black.  Now it immediately goes to black.

Fixes #2030.
2014-01-19 14:41:01 -08:00
adrian17
c52c2375c0 Removed dead code from UI 2014-01-19 13:51:24 +01:00
Henrik Rydgard
c55578367f Add option "Small Display", useful for large tablets to avoid overlapping touch controls with the screen.
Will later replace with a multiselect of different sizes, or something more advanced
like multitouch drag & zoom of the screen to get it exactly where you want it.
2014-01-16 00:22:39 +01:00
raven02
a4ac0de131 0 is FAT and 1 is SLIM 2014-01-13 20:45:28 +08:00
raven02
30181fab43 Option to select PSP models (1000, 2000/3000) 2014-01-13 20:04:15 +08:00
Unknown W. Brackets
79864a5ee0 Fix some initialization order warnings. 2014-01-10 22:21:24 -08:00
Henrik Rydgård
51484e48a9 Merge pull request #5043 from thedax/win32IgnoreWindowsKeyOption
Win32: Add an option to disable the Windows key when the emulator is the active window.
2014-01-08 10:46:47 -08:00
The Dax
f6606e2e2b Win32: Add the option to the Game Settings menu, too, and add a separator in NewUI. 2014-01-07 16:08:11 -05:00
The Dax
9d2868b7ce Win32: Add option to disable the Windows key. 2014-01-07 16:02:00 -05:00
zack-vii
26fbb4c32c "Next Slot" control mapping
-added "Next Slot" to control mapping menu
-added VIRTKEY_NEXT_SLOT -> incremented VIRTKEY_TOGGLE_FULLSCREEN
-added SaveState::NextSlot(); as replacement for code in
WndMainWindow
-added entry in EmuScreen using SaveState::NextSlot();
2014-01-07 15:56:04 +01:00
Henrik Rydgard
a387f6dd8b Also disable some weird axis events we get on Ouya from mapping. 2014-01-07 00:01:41 +01:00
Henrik Rydgard
5f2954bc69 Prevent the accelerometer from being mapped to controls directly until we can create sane UI for that. 2014-01-06 23:58:59 +01:00