Commit Graph

166 Commits

Author SHA1 Message Date
Unknown W. Brackets
75de50123a Don't need to check inited for PSP_Shutdown() now. 2014-02-14 23:02:29 -08:00
Unknown W. Brackets
ab8a8a61dc Shut down emulation when the game exits.
Fixes #5421.
2014-02-12 08:06:53 -08: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
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
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
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
d820768396 Properly exit error screen when hitting cancel.
Fixes #3351.
2014-01-25 00:40:14 -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
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
af8a9bcb5a Remove silly debug log 2014-01-03 17:48:21 +01:00
Henrik Rydgård
f570601f84 Preliminatory support for a fullscreen toggle for SDL platforms.
Does not seem to work on Mac.
2014-01-03 15:16:23 +01:00
Henrik Rydgård
b0bfda6333 Merge pull request #4515 from bollu/improvedTilControls
Redid the tilt controls in a nicer way
2013-12-22 02:13:28 -08:00
raven02
1ff9b5b21f emnu fix#5 2013-12-21 16:44:58 +08:00
bollu
fc1da7c796 Merge branch 'master' of https://github.com/hrydgard/ppsspp into improvedTilControls 2013-12-16 07:16:05 +05:30
Henrik Rydgard
214cc01976 Fix bugs in stencil2alpha, fix bugs in glsl 3 support, enable dual source blending where available
The stencil2alpha bug fixes fix some glows in Wipeout, dual source fixes the rest.
2013-12-15 12:49:13 +01:00
bollu
b0c7e824be Merge branch 'master' of https://github.com/hrydgard/ppsspp into improvedTilControls 2013-12-14 16:45:29 +05:30
Henrik Rydgard
3baddab8a9 Tweak the new button style to add slight drop shadows, add folder icons.
Set the new style as default now that it works on white backgrounds too.
2013-12-11 09:37:07 +01:00
Henrik Rydgard
76707aa81e Make the on screen touch control resize if you resize the window. 2013-12-11 09:37:05 +01:00
Henrik Rydgård
886607d529 Make Save/Load state mappable to controls. Not mapped by default. 2013-12-06 15:46:56 +01:00
Henrik Rydgård
cd2adf80a4 Add keybinding to rewind (backspace by default), if rewind states are enabled. Disable rewind on mobile. 2013-12-05 16:25:17 +01:00
Henrik Rydgård
d6c8c6cfa0 If the user opens a ZIP file, offer to install it (it will show up in Homebrew & Demos).
No progress bar yet, it just freezes during install.
2013-12-05 14:21:07 +01:00
Henrik Rydgard
32f479b0a6 Assorted log spam reductions.
Also let Java know of some important events. Not used for anything yet.
2013-12-04 17:43:00 +01:00
Henrik Rydgård
0d05a8f4a9 Merge pull request #4392 from hrydgard/multi-press
If an input (axis or key) is mapped to multiple targets, trigger them all.
2013-11-29 05:26:55 -08:00
Henrik Rydgard
1a6b4ceafb Compensate frame delay for the PSP refreshing at 59.94 Hz 2013-11-20 23:53:28 +01:00
Unknown W. Brackets
29d78e4b5e Resize and clear cache when changing res.
Native only handles one message at a time, and resizing can require both
(because of auto settings.)
2013-11-19 22:44:12 -08:00
Sacha
fb7c3d96fd Introduce Timer Hack.
Has been used in previous Symbian releases to improve speed. Was thought to only work on Wipeout but actually works on most games?
Games that run based on internal timer will experience 60 VPS without frameskip.
2013-11-16 02:16:17 +10:00
Henrik Rydgård
40bd1fa650 Add freeze-frame to developer menu. Only useful for developing, like when using nVidia PerfHud. 2013-11-15 13:11:44 +01:00
bollu
9c219bc18b moved tilt logic to separate unit and enabled tilt to control multiple input types 2013-11-11 17:22:04 +05:30
Unknown W. Brackets
712b582d26 Remove coreParam.disableG3Dlog and enableDebugging.
One was uninitialized, the other one unused.
2013-11-09 11:02:12 -08:00
Henrik Rydgård
23ac6ea2fd Merge branch 'autoLoadSave' of https://github.com/bollu/ppsspp into bollu-autoLoadSave
Conflicts:
	Core/Config.h
	UI/EmuScreen.cpp
2013-11-06 15:40:36 +01:00
Unknown W. Brackets
5328e213a6 Clear the jit cache when toggling debug stats.
This way we can bypass that check normally, for speed.
2013-11-04 08:03:50 -08:00
Henrik Rydgård
bf7f582c3c If an input (axis or key) is mapped to multiple targets, trigger them
all, not just the first one.
2013-10-31 16:50:27 +01:00
Siddharth
186f0a33ba fixed some more indentation 2013-10-30 23:24:41 +05:30
Siddharth
b5d8601f98 cleanup 2013-10-30 23:22:46 +05:30
Siddharth
b87342a433 now auto loads most recent save state 2013-10-30 23:21:25 +05:30
Siddharth
10ca6cac90 style changes 2013-10-30 22:48:14 +05:30
Siddharth
6cd5b748eb created auto load feature 2013-10-30 22:46:27 +05:30
Henrik Rydgård
9c546b5d36 Merge pull request #4340 from bollu/analogStickTiltControl
full tilt based analog controls
2013-10-28 05:20:46 -07:00
Siddharth
c7bb50ef00 some more indentation fixed 2013-10-28 16:58:46 +05:30
Siddharth
fce408ad81 renamed curve1 to tiltInputCurve 2013-10-28 16:49:36 +05:30
Siddharth
bc9852dad5 fixed indentation and code style 2013-10-28 16:45:27 +05:30
Siddharth
5daaaa3aad made deadzones configurable 2013-10-28 16:43:42 +05:30
Siddharth
ec0e0d7047 implemented full tilt based D-pad controls 2013-10-27 23:28:47 +05:30
Henrik Rydgård
525767dc27 EmuScreen: Only react to keydowns when looking for the back key. 2013-10-27 10:50:45 +01:00
Henrik Rydgård
4590e44954 add "onFinish" to screens so that ESC (etc) works the same as the back
touch button.
2013-10-25 13:19:08 +02:00