Commit Graph

484 Commits

Author SHA1 Message Date
Unknown W. Brackets
46ea88e096 UI: Add delay to tweens.
Also allow them to start out in an invalid state and accept first divert.
2017-12-10 09:00:52 -08:00
Unknown W. Brackets
c097910439 UI: Reset touch controls after config load.
This is potentially earlier than full init, better to move the controls as
soon as possible.
2017-12-09 14:11:39 -08:00
Henrik Rydgård
7d0fc9ce65 Rework GL lost-device to work more like Vulkan. Gets rid of gl_lost manager etc. 2017-12-07 15:05:59 +01:00
Henrik Rydgård
026d3d4a00 Recreate views after boot is done, to workaround #10360 . Not the best solution.. 2017-12-07 10:21:33 +01:00
Henrik Rydgård
cf5ede493b
Merge pull request #10247 from unknownbrackets/ui-tween
UI: Show a loading message during shader preload
2017-12-06 14:24:21 +01:00
Unknown W. Brackets
4e6c083807 UI: When stepping, clear on initial load.
Otherwise we get the UI rather than a black screen.
2017-12-03 19:22:00 -08:00
Unknown W. Brackets
fb91e7f043 UI: Show loading message while shaders preload.
This opens the door to doing this for other things we do on game start,
later.
2017-12-03 12:04:42 -08:00
Unknown W. Brackets
15152fc55b UI: Reorganize EmuScreen so it renders on loading. 2017-12-03 10:39:25 -08:00
Unknown W. Brackets
e945ad6ac1 UI: Avoid navigation with an active dialog.
Cleaning up next.
2017-12-02 11:55:05 -08:00
LunaMoo
95a14ca830 Add hotkey to toggle audio and video dumping together in sync. 2017-12-01 23:48:58 +01:00
LunaMoo
2ff4104ddf Requested changes. 2017-11-14 06:33:49 +01:00
Henrik Rydgård
230f72a110 Oops 2017-11-13 16:38:35 +01:00
Henrik Rydgård
8bfdf7b1b2 Fix annoying little flicker when starting a game. 2017-11-13 15:45:31 +01:00
Unknown W. Brackets
ac78b908d3 UI: Typo fix. 2017-11-12 09:34:22 -08:00
Unknown W. Brackets
2b194d30bf Debugger: Prevent clear while stepping.
So it's easier to see what's going on.
2017-11-11 18:31:13 -08:00
Henrik Rydgård
ec504756e0 Vulkan: Improve init/shutdown logging on Android. Fix a bug where we'd not run InitDeviceObjects on GPU_Vulkan sometimes. 2017-11-09 16:02:05 +01:00
Henrik Rydgård
d618b3673b Count readbacks in a frame and show in GPU debug stats. 2017-11-08 11:57:53 +01:00
Henrik Rydgård
944cc94630 Vulkan: Better way to make sure we bind the backbuffer at some point. 2017-11-06 23:48:47 +01:00
Unknown W. Brackets
9dfc9ff6ae Vulkan: Allow clearing the backbuffer to any color.
Helps with debugging sometimes.
2017-11-05 22:14:53 -08:00
Unknown W. Brackets
ead4c5f9a8 Vulkan: Make sure backbuffer is bound for UI.
Fixes #10048.
2017-11-05 09:22:14 -08:00
Henrik Rydgård
8d0209c7e4 Stop leaking framebuffers on shutdown. Fix other shutdown issues. 2017-11-01 21:43:08 +01:00
vnctdj
7f37c40382 Make dev menu pop-up title translatable 2017-08-17 23:10:12 +02:00
Gde Made Novan Priambhada
4420719a86 Bug fix 2017-08-09 03:50:31 +08:00
Unknown W. Brackets
7e753ed24a GLES: Set target w/h in buffered rendering.
Otherwise, the flipped scissors don't update on window resize.

Example: when toggling fullscreen.
2017-07-30 14:44:38 -07:00
Gde Made Novan Priambhada
8ec2d50c28 Add virtual key for opening chat 2017-07-02 01:28:38 +08:00
Gde Made Novan Priambhada
97a4d6424f Rebased and fix the update scroll 2017-07-02 01:28:38 +08:00
Ade Novan
6706698d21 build fix 2017-07-02 01:28:38 +08:00
Ade Novan
624d1cd82f chat screen & chat button position and hide ui on show chat 2017-07-02 01:28:38 +08:00
Ade Novan
6121dce9e1 remove pointer and using update() should fix random crash (thanks Uknown) 2017-07-02 01:28:38 +08:00
Ade Novan
f514b25c79 Windows CTRL + C Hotkey 2017-07-02 01:28:38 +08:00
Ade Novan
5187b9f118 Add New Chat Counter 2017-07-02 01:28:38 +08:00
Ade Novan
07b1d8b845 pointer fix random crash & better substring logic 2017-07-02 01:28:38 +08:00
sum2012
08a1cc7075 Add translation 2017-07-02 01:28:38 +08:00
sum2012
bd2342ad59 Enable chat box 2017-07-02 01:28:38 +08:00
Ade Novan
10e874cefd PPSSPP early chat feature rebranched 2017-07-02 01:28:38 +08:00
Unknown W. Brackets
979bc58cac UI: Translate AVI start/stop strings. 2017-06-03 08:37:55 -07:00
Unknown W. Brackets
d1c9cb8c63 UI: Start a render pass while stepping.
We won't start one otherwise.  This fixes a crash when auto run is off.
2017-05-31 20:04:02 -07:00
Henrik Rydgård
c173da49d3 Fix a number of bugs and stuff affecting Vulkan on Mali 2017-05-30 09:36:17 +02:00
Henrik Rydgard
32728553bd Further steps towards Vulkan framebuffer support 2017-05-30 09:36:17 +02:00
Henrik Rydgård
6bcfe539f7 Use vulkan-style clear-on-bind when switching render targets. Not optimally used yet.
Also removes a bunch of redundant render target binds.
2017-05-30 09:36:17 +02:00
Henrik Rydgård
0f171acacb Start refactoring things to be more vulkan-friendly 2017-05-30 09:36:17 +02:00
Unknown W. Brackets
259af56ee6 SoftGPU: Fix rendering when using Direct3D 9.
Since we restore dxstate when setting a framebuffer or backbuffer, we need
something that populates it.
2017-05-20 21:29:09 -07:00
Henrik Rydgård
df6ce90c84 When what we need is a shared_ptr, we should just go ahead and use one.
One of the top crashes reported in the Play Console is a ManagedTexture crash, so seeing if this might help.
2017-05-18 13:28:56 +02:00
Unknown W. Brackets
75898392b9 UI: Proxy devmenu keypress through an event.
This prevents a mutex issue in #9626.
2017-04-17 20:33:22 -07:00
Unknown W. Brackets
e59ebf8ad9 Windows: Add option to browse for bg image.
And also to clear the image.
2017-04-02 10:50:09 -07:00
Henrik Rydgard
3c52570552 Add UWP projects and rough UWP entry point application based on the sample
Delete sample load, hook things up. It now builds but doesn't run

Reformat, add an event
2017-03-23 10:02:27 +01:00
Unknown W. Brackets
07d2b4fb46 UI: Make popups transition their button. 2017-03-21 18:45:49 -07:00
zminhquanz
ea0aab9340 Add warning simulate block transfer , setting info
Add some games compatibility required buffered rendering and warning
required simulate block transfer set to on
2017-03-21 14:23:31 +07:00
Henrik Rydgård
e17772b58d Merge pull request #9430 from unknownbrackets/input-state
Remove legacy InputState tracking
2017-03-15 10:16:14 +01:00
Unknown W. Brackets
9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07:00
Unknown W. Brackets
2a745f86ac Switch to axis for accelerometer usage. 2017-03-14 22:07:03 -07:00
Henrik Rydgard
e37decc9a8 Warn if trying to run some games that are known to require buffered rendering with it not enabled. 2017-03-14 10:36:51 +01:00
Henrik Rydgård
a895936913 More log cleanup. Fix resize issue: Fixes #9392 2017-03-06 13:50:22 +01:00
Henrik Rydgård
440e72d250 Clean up among the logs. Remove MASTER_LOG. 2017-03-06 13:10:23 +01:00
Henrik Rydgard
fa80cfa4aa Additional UWP preparations 2017-02-25 09:57:14 +01:00
Henrik Rydgard
900539e200 Fix #9340 (touch controls not always getting repositioned correctly) 2017-02-23 09:31:45 +01:00
Henrik Rydgard
5c918da774 Minor cleanups (combined two identical enums, misc) 2017-02-15 11:06:59 +01:00
Henrik Rydgard
0b7f3720ae More FBO api cleanup 2017-02-04 22:25:34 +01:00
Henrik Rydgard
daee5c24e5 Work towards unifying the GL and DX FBO APIs 2017-02-04 22:25:34 +01:00
Henrik Rydgard
20d9e60a67 Just some renaming. Start moving away from the "thin3d" name 2017-01-30 14:38:31 +01:00
Henrik Rydgard
d9acd27126 Rename GLES files to match the convention the other backends use. 2017-01-23 17:08:58 +01:00
Henrik Rydgård
f86b9f7900 Guess what? More renaming 2016-12-27 11:59:06 +01:00
Henrik Rydgård
463251908b Rename things to closer match another project which I plan to share some code with 2016-12-27 11:59:02 +01:00
Henrik Rydgård
10393f5d4e Move Thin3D into the Draw namespace. 2016-12-27 11:58:03 +01:00
Florent Castelli
70593d1004 android: Change preprocessor define to standard __ANDROID__
ANDROID is only standard to the old Makefile buildsystem, not the platform.
2016-10-12 11:14:09 +02:00
Unknown W. Brackets
379ec56f0d Tweak wording to clarify battery save message. 2016-10-10 17:32:25 -07:00
Unknown W. Brackets
6bbb3c0442 Handle clear gpu cache as a global message.
This makes it so if you change texture scaling in the Windows menu on the
pause menu, it actually clears the cache.
2016-09-28 22:35:09 -07:00
Unknown W. Brackets
92d930887f Android: Add both a lost and restore phase.
Lost = delete, restore = create.  Let's stick to never overlapping.

May help #8912.
2016-09-10 21:58:42 -07:00
Unknown W. Brackets
b06359edd1 Merge pull request #8945 from RisingFog/frame_dump
Add Display Recording and Audio Dumping to Desktop
2016-09-04 15:30:26 -07:00
Unknown W. Brackets
cfbfbc1593 Disable audio on the game pause screen. 2016-09-04 14:03:59 -07:00
Unknown W. Brackets
995e056598 UI: Consistently set bgaudio on game start.
Before we were doing it only in certain cases.  This now means that
background audio will always play on the pause screen.

Fixes #8944.
2016-09-04 08:46:19 -07:00
Chris Burgener
78d1af4b50 Fix builds for non-Win32 2016-09-02 12:53:54 -04:00
Chris Burgener
7ca90872fb Add simple OSD display 2016-09-02 12:53:52 -04:00
Chris Burgener
1fc6191c85 Add Frame Dumping for Windows 2016-09-02 12:52:52 -04:00
Chris Burgener
f090551c2a Make variables static 2016-08-30 09:09:38 -04:00
Chris Burgener
4ab71eb936 Add check for numFlips to advance per drawn frame 2016-08-29 15:34:00 -04:00
Chris Burgener
e208eff8ab Set frameStep_ to false on EmuScreen start 2016-08-28 18:18:44 -04:00
Chris Burgener
842a29b0ae Add Frame Advance 2016-08-28 12:21:45 -04:00
Unknown W. Brackets
a3efa99cd4 UI: Suppress state slot switch preview during boot.
Boot may change the slot if the game has game-specific settings, but we
shouldn't show the preview.

Should fix #8916.
2016-08-16 21:24:01 -07:00
Unknown W. Brackets
1f7a137926 Android: Detect and report power save mode.
This shows a message when it's on, or when power drops to low.
2016-07-24 17:04:06 -07:00
Unknown W. Brackets
27d135d48a Decouple save states from UI.
It's the UI's job to decide how and what things are displayed, not Core's.
This also reduces reasons for linkage issues.
2016-05-27 21:25:05 -07:00
Unknown W. Brackets
ac21d2e84d Clean up save state preview fade.
Now it mostly matches the save slot text fade.
2016-05-27 20:53:58 -07:00
Unknown W. Brackets
e6cf296d1a Trigger save slot display from UI code.
Core shouldn't be calling UI code.
2016-05-27 20:53:20 -07:00
Unknown W. Brackets
afdd01571c Uncouple savestates from NativeApp some.
Still have osm.
2016-05-27 20:41:37 -07:00
Henrik Rydgard
ce8aae5ed1 Make the IRJit core selectable in developer tools 2016-05-08 01:43:27 +02:00
Henrik Rydgard
e611915a52 Rename some GPU classes and enums to fix some consistency issues between the backends. 2016-04-10 10:21:48 +02:00
Henrik Rydgard
5ef608fa50 GPU stats: Have each backend format its own string. 2016-03-31 10:17:02 +02:00
Henrik Rydgard
c33c3cf3d4 Vulkan: Add ugly temporary warning about buffered rendering not working 2016-03-20 20:26:52 +01:00
Henrik Rydgard
29bc07eb0a SoftGPU with Vulkan runs but displays black 2016-03-20 20:04:49 +01:00
Henrik Rydgard
2c61b1e763 Change the VulkanPushBuffer API to allow for adding support for dynamic growth 2016-03-20 19:35:03 +01:00
Henrik Rydgard
01e3fbae95 Fix clearing bug, add FIFO_RELAXED flag, etc 2016-03-20 19:30:11 +01:00
Henrik Rydgard
c64064024d Initial vulkan code.
This was squashed from nine commits but using old versions of Vulkan.
2016-03-20 19:18:35 +01:00
Henrik Rydgård
54a37f9bb8 Merge pull request #8591 from unknownbrackets/thin3d
Use thin3d for softgpu drawing (+thin3d improvements)
2016-03-20 18:06:53 +01:00
Unknown W. Brackets
ef566a3adf SaveState: Clean up some constant usage. 2016-02-28 18:21:57 -08:00
Henrik Rydgard
da1a04be8d Make the workqueue slightly safer. Put g_gameInfoCache on the heap.
Cherry-picked from #8592
2016-02-28 12:39:47 +01:00
Unknown W. Brackets
841267c083 d3d9: Allow software rendering selection in UI. 2016-02-13 14:01:57 -08:00
LunaMoo
6061ad7579 Some improvements, comments and polishing. 2016-01-17 09:21:12 +01:00
Henrik Rydgard
e11d0a7e1c Minor GPU interface cleanup 2016-01-06 23:49:02 +01:00
Unknown W. Brackets
aa0055cea7 Track the running GPU backend separate from config.
This way we can change the config directly when we want to save a new
setting, rather than having hacks to use a temp var.
2016-01-05 22:37:28 -08:00
Unknown W. Brackets
6c38b22467 Fix crashes when running games, tests, etc.
Need the graphicsContext value to stick around.
2016-01-03 11:05:36 -08:00
Unknown W. Brackets
f5d1a77155 Cut out a couple unused includes. 2015-12-19 19:58:56 -08:00
Henrik Rydgard
5d6d4a08f4 Change approach somewhat to avoid adding drawing code in the screen manager. 2015-11-18 14:18:35 +01:00
Henrik Rydgard
758ec5a027 Avoid clearing the backbuffer before actually doing any rendering to fbo on every frame - instead, clear when stretching the framebuffer into place. May save quite a bit of bandwidth on tiler GPUs with naive GL drivers. 2015-11-18 12:13:35 +01:00
Henrik Rydgard
22f71f1e9a Show simple info about currently playing audio in on-screen Debug Statistics 2015-10-28 21:20:20 +01:00
Henrik Rydgard
7f4e473e8c Add new shader viewing tool 2015-10-14 18:10:21 +02:00
Henrik Rydgard
39145252e3 Windows: Add the ability to turn on GL_ARB_debug_output via a hidden config option 2015-10-11 11:52:40 +02:00
Henrik Rydgard
77b40c2ee4 Fix #6541 where no error message was displayed when loading a non-existent save state through mapped hotkey 2015-10-04 10:18:32 +02:00
Henrik Rydgard
8996f58693 Generate save state IDs for homebrew using the elf or directory name where applicable. 2015-09-25 19:27:40 +02:00
Henrik Rydgard
c757931779 Android: Combine the two Java Eclipse projects into one.
Should make it easier to get ndk-gdb going, which I've always had crazy issues with with library projects.
2015-09-10 18:51:48 +02:00
Henrik Rydgard
d822cbf60b Move fbo.cpp/h from native into PPSSPP 2015-09-06 13:13:37 +02:00
Henrik Rydgard
72ae497350 Remove glstate usage except in the GPU implementation. Prepare for moving it into PPSSPP. 2015-09-06 12:42:15 +02:00
Henrik Rydgard
b22850720d Move the CheckGPUFeatures call to the Resize check 2015-09-06 00:13:46 +02:00
Henrik Rydgard
0237b84efd Reduce use of #ifdef USING_GLES2 some more 2015-09-05 23:09:06 +02:00
Henrik Rydgard
f524049277 Move more GPU feature checks upfront. Re-check when exiting settings menu. 2015-09-05 21:23:58 +02:00
Unknown W. Brackets
c4ea4e36d7 Let's use pixel_x[y]res directly.
There are many paths where this is actually zero still.
2015-07-16 07:29:55 -07:00
Unknown W. Brackets
c033162abb Use pixelWidth/pixelHeight for Auto (1:1) res.
By definition, it ought to be 1 PSP pixel for each host pixel.

The old way was accounting for dpi (thanks xperia64.)
2015-07-15 21:31:34 -07:00
Unknown W. Brackets
bf14ad4667 Add a shortcut key for the devmenu.
This is useful when you don't have touch or mouse, only keyboard/pad.
2015-07-05 16:09:29 -07:00
vnctdj
d4d91fc831 Consistently use *sc for the Screen i18n category 2015-07-02 00:50:07 +02:00
vnctdj
70d9e6cecb Consistently use *err for the Error i18n category 2015-07-01 23:34:50 +02:00
Henrik Rydgard
2e26a4798e Scale the frame profiler graph dynamically 2015-05-24 23:45:37 +02:00
Henrik Rydgard
26624709f7 Hook up the frame profiler to a few measurements 2015-05-24 23:45:36 +02:00
Henrik Rydgard
18655d14a4 Release PSP buttons when losing gameplay focus, fixes part 1 of #7758, and part 2 of #7758 on Windows only. 2015-05-21 10:49:47 +02:00
Henrik Rydgard
ee81c7f1a1 Rotate controls along with the display. Only rotates d-pad and analog stick, but easy to add more buttons if desired. 2015-05-15 18:49:54 +02:00
Unknown W. Brackets
2b0e0c547d Fix glInvalidateFramebuffer in EmuScreen. 2015-03-14 16:01:43 -07:00
Unknown W. Brackets
8f7e98f484 Keep Windows devices from sleeping while playing. 2015-03-01 08:29:11 -08:00
Mike
0653946acb fix for crash opening directory 2015-02-28 16:05:13 -08:00
Henrik Rydgard
ca512ea06a More minor cleanup. Update lang. 2015-02-03 21:59:36 +01:00
Henrik Rydgard
682ef7d083 Add a focus style to the little screenshot previews to make keyboard navigation less confusing 2015-02-02 10:09:00 +01:00
Henrik Rydgard
001eda39e0 Add really primitive save preview on "Next Slot". Improve pause screen layout a little. 2015-02-01 18:04:50 +01:00
Henrik Rydgard
86cee103f3 Add audio debug stats dev tool. Increase audio buffer low watermark a bit, hopefully helping #7370. 2015-01-29 12:56:17 +01:00
Henrik Rydgard
3d8e30e4c7 Fix #6898 - buttons could disappear in non-buffered rendering 2015-01-04 18:00:59 +01:00
Henrik Rydgard
87d221e069 Android: Ignore back-button events from other devices than Default if the back button is mapped.
Update native.

Should help #7254.
2015-01-02 16:43:08 +01:00
Henrik Rydgard
0cbff84489 Draw "OSM" as a view. ES 3.0: Tell tilers to discard depth/stencil of the backbuffer.
Also, don't even bind the UI texture unless there's UI to draw (probably negligible optimization).
2014-12-31 20:43:28 +01:00
Henrik Rydgard
2e675c7b0b Move GamePauseScreen into its own file 2014-12-22 10:48:17 +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
c52b73393b Try default constructors for Symbian. 2014-12-20 23:39:44 -08:00
Unknown W. Brackets
3f0b759746 Switch to std::function for savestate callbacks. 2014-12-20 22:23:26 -08: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
cd573cf731 Merge pull request #7063 from Pulfer/axis-swap
Add a hotkey to swap D-pad and left analog stick keys
2014-12-18 23:15:28 +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
de86b4c51c Fix controls disappearing in non-buffered rendering in some games 2014-12-14 01:40:52 +01:00
Henrik Rydgard
75a9420b21 Reduce the number of places we include JitCommon.h. Update native. 2014-12-12 23:49:08 +01:00
Andrey Bondrov
5201f03720 Add a hotkey to swap D-pad and left analog stick keys 2014-11-07 22:40:53 +10:00
Henrik Rydgard
02a89306d1 Warning fixes, sprintf->snprintf 2014-09-13 23:51:07 +02:00
Henrik Rydgard
9734fd1c1a Turn off scissor when rendering controls overlay 2014-09-13 21:52:10 +02:00
Henrik Rydgard
e539c7009f Hook up DX9 backend. Not really working though, it seems. 2014-08-22 20:55:12 +02:00
Henrik Rydgard
92c3775d95 Start hooking up D3D 2014-08-22 20:55:04 +02:00
Henrik Rydgard
808f05da89 (Partially) slip thin3d underneath DrawBuffer. 2014-08-22 20:54:53 +02:00
The Dax
cb07da198b Make the keyboard analog limiter customisable. 2014-08-17 14:36:35 -04:00
The Dax
8a78f5e814 Pause rendering when minimized, when appropriate (hopefully? This is sort of hard to test.). 2014-07-21 10:30:51 +02: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
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
Juha Laukkanen
8d34c6bf66 Auto save state load: set current slot to loaded one. 2014-07-17 22:18:45 +08:00
Unknown W. Brackets
408ea88cd6 Fix incorrect state after reset in multithreading.
This would change coreState from CORE_POWERUP too early.  It's already
done in BootDone().
2014-07-06 14:02:45 -07:00
Henrik Rydgard
dc3806b700 Win32: Keep DSound running even when in the menu.
This will make it possible to play the game-selection audio later.
2014-06-22 14:17:57 +02:00
Henrik Rydgard
6ec74ef99e Be consistent about how we read and update the UI state variable 2014-06-22 09:57:01 +02:00
Henrik Rydgard
e3bbf26731 Improve input event handling. Can now map volume keys on Android without issues. 2014-06-15 13:04:59 +02:00
Unknown W. Brackets
063e8508df Support drag-and-drop of savestate files.
Most likely you want to load the state, not see an error message.
2014-06-14 16:13:35 -07:00
mildlysec
c3dfb64839 Added ability to press analog keys lightly using shift button 2014-06-07 22:21:54 +02:00
Unknown W. Brackets
a5e3623742 Skip cpu change when game not running.
Oops, this happened when changing settings.  Fixes #6167.
2014-05-27 23:03:08 -07:00
Unknown W. Brackets
a70b5abfb9 Allow jit to be enabled/disabled at runtime. 2014-05-27 00:02:51 -07:00
Unknown W. Brackets
0a92d377b0 Avoid a race condition during game shutdown.
Hoping this is it.
2014-05-21 01:13:40 -07:00
Unknown W. Brackets
14be491aa8 Don't set pending boot flag on "stop".
And rename to boot pending, not "boot successful."
2014-05-15 22:17:19 -07:00
Unknown W. Brackets
bfa02f8fa1 Fix some spurious resets on stopping a game. 2014-05-11 10:58:33 -07:00
Unknown W. Brackets
6183dadc31 Improve reset (and delay) and boot of another game.
Fixes #6023.
2014-05-04 19:58:36 -07:00
Unknown W. Brackets
63b5ec3d85 Allow specifying a root path for host0:/.
This way, similar to the PSP, we can have a root path outside the test.
2014-04-19 21:43:09 -07:00
Klimis Ioannidis
a758781544 Blacklist GLTools (Chainfire3D-like app for 3.0+) 2014-04-13 23:25:56 +03:00
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