Commit Graph

1987 Commits

Author SHA1 Message Date
Unknown W. Brackets
fd546ff21d Fix some type comparison warnings. 2016-08-05 10:47:45 -07:00
Unknown W. Brackets
e55198f7e7 Correct some initialization order warnings.
Also, another missing init with IRBlocks.
2016-08-05 10:46:11 -07:00
Unknown W. Brackets
372798e16c Auto-disable CRC reporting in power save mode. 2016-07-24 17:31:41 -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
Henrik Rydgård
c6d4966067 Make really sure we're not using the IRBlock copy constructor other than on Symbian.
Turns out it ended up being used on Mac, and our asserts just debugprint and don't actually assert...
2016-07-09 09:32:41 +02:00
Henrik Rydgård
1f8afd7467 Merge pull request #8847 from unknownbrackets/ui-textwrap
Allow text wrapping in UI TextViews
2016-07-05 13:25:17 +02:00
Unknown W. Brackets
5479f10102 UI: Allow longer load errors to wrap.
This should make translations easier.
2016-07-04 16:03:23 -07:00
Unknown W. Brackets
27286d0949 Add notice about battery-consuming CRC. 2016-07-04 12:19:25 -07:00
Unknown W. Brackets
42fd4aeb12 Show feedback when the compatibility is submitted. 2016-07-04 12:12:40 -07:00
Unknown W. Brackets
45218be5e3 Send a CRC hash with compatibility reports. 2016-07-04 12:07:15 -07:00
Henrik Rydgård
cbb1ab17ca Merge pull request #8845 from unknownbrackets/http
Add UI for wifi remote disc streaming
2016-07-04 20:38:54 +02:00
Unknown W. Brackets
3c47440d0c http: Set an explicit timeout on HTTP connect.
Before we were just relying on whatever timeout connect() wanted.
2016-07-04 09:46:19 -07:00
Unknown W. Brackets
f53735f1d8 http: Add a safety bailout on list load.
Hopefully this will prevent a crash.  Currently http::Client uses blocking
reads so it will just hang.
2016-07-04 07:32:49 -07:00
Unknown W. Brackets
287d1967a5 http: Properly stop server on stop server. 2016-07-04 07:24:04 -07:00
Unknown W. Brackets
c793efd69a http: Load actual game list. 2016-07-04 00:16:58 -07:00
Unknown W. Brackets
c3e70c11f8 http: Save last-used port.
This is necessary for better caching, in case you share often.
2016-07-03 22:13:54 -07:00
Unknown W. Brackets
66479add92 http: Disallow browsing when sharing.
Because it's probably not what you want to do.  This is less confusing.
2016-07-03 22:13:53 -07:00
Unknown W. Brackets
2b613443cd http: Fix paths with spaces in them.
Should ideally escape other characters, but only space is necessary for
our server to parse.
2016-07-03 22:13:53 -07:00
Unknown W. Brackets
60afdc40b9 http: Implement discovery for game share server. 2016-07-03 22:13:51 -07:00
Unknown W. Brackets
3eee81953a http: Report local address to server.
This allows matching inside a network.
2016-07-03 22:13:51 -07:00
Unknown W. Brackets
bde07bf9e7 http: Fix translations. 2016-07-03 22:13:50 -07:00
Unknown W. Brackets
42080f05e2 http: Show a stopping status for clarity. 2016-07-03 22:13:49 -07:00
Unknown W. Brackets
a67c103063 http: Add a note about the recent list. 2016-07-03 22:13:49 -07:00
Unknown W. Brackets
bc614b6f85 http: Add actual serving of recent ISOs. 2016-07-03 22:13:48 -07:00
Unknown W. Brackets
0edc4d1652 http: Check server status asynchronously. 2016-07-03 22:13:47 -07:00
Unknown W. Brackets
f4e2ca0359 http: Add a screen under tools for the server. 2016-07-03 22:13:47 -07:00
Unknown W. Brackets
4d4e334fc4 Vulkan: Allow C++ to determine use of JavaGL.
Based on config - this way we can enable Vulkan more easily even before we
determine why some devices don't like C++ EGL for GLES.
2016-07-01 14:05:15 -07:00
Unknown W. Brackets
9d6684a776 Consistently resolve PBP paths, use /s in recent.
Drag and drop was using \s causing duplicate recent entries and confusing
some of the PBP parsing.  Let's make it all a bit safer.
2016-06-26 20:33:25 -07:00
Unknown W. Brackets
7695cd78cb Show a confirmation screen after feedback submit. 2016-06-25 23:11:20 -07:00
LunaMoo
24fd336e60 Create openIniFile function in FileUtil to avoid duplicates
+ correction
2016-06-22 05:55:45 +02:00
LunaMoo
434c95700e Write some defaults to textures.ini on creation. 2016-06-22 02:01:25 +02:00
LunaMoo
8b17793c9f Add basic TextureReplacement UI options. 2016-06-22 00:58:05 +02:00
LunaMoo
101df1da2b Ooops;3, remove leftover 2016-06-21 06:29:26 +02:00
LunaMoo
27a616c765 Name homebrew games ini files differently 2016-06-21 00:15:29 +02:00
LunaMoo
6c14b82005 Fix #8448 properly, in case we fail to generate ID.
Limit homebrew ini file generation to UI.
2016-06-20 20:50:13 +02:00
LunaMoo
778c518a37 Cheat menu access from gameScreen + minor bugfix +
Invalidate JIT for 0xE/0xD checks
And big thanks to [Unknown] for help:3
2016-06-20 11:33:02 +02:00
LunaMoo
36debd03f5 Create screenshot directory if not exist when using Report Feedback 2016-06-18 09:48:18 +02:00
Unknown W. Brackets
85e7980c44 Prompt for reporting even when disabled.
To improve visibility.
2016-06-12 10:46:57 -07:00
Unknown W. Brackets
2ceee79324 Send screenshots with compatibility reports. 2016-06-12 10:00:32 -07:00
Unknown W. Brackets
a02237d6f6 Show a screenshot when reporting compatibility. 2016-06-12 07:21:56 -07:00
Unknown W. Brackets
5b402dd6e5 Generate mipmap levels for screenshot views. 2016-06-12 07:15:45 -07:00
Unknown W. Brackets
16897bd19d Force "Nothing" compatibility to bad stars.
Reporting "Great" speed with "Nothing" compatibility makes no sense.
2016-06-09 21:07:30 -07:00
Unknown W. Brackets
677693b764 Disable reporting when game id is missing.
We can't track compatibility without a game id.  That either means
inventing one for homebrew (one that is consistent for all copies) or not
reporting homebrew.
2016-06-09 20:40:04 -07:00
Unknown W. Brackets
419b960403 x86jit: Fix params in Replace_fabsf. 2016-05-31 10:40:14 -07:00
Unknown W. Brackets
a1fbcc3d93 Avoid directly calling osm from Core/GPU code.
This allows UI to handle the message however it wants to, and reduces
cross linkage issues.
2016-05-27 22:05:30 -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
2862253f12 Avoid showing all slots in a row when cycling.
This was longer now, so more annoying.  Better to sync with the preview.
2016-05-27 20:56:10 -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
Unknown W. Brackets
2bd447e78c Flip the meaning of the -g switch.
I like asking people if they see FBOs being created, it's helpful.
2016-05-21 09:58:25 -07:00
Unknown W. Brackets
a913e0f0fc Remove some unused private properties. 2016-05-21 09:29:04 -07:00
Unknown W. Brackets
b09c2b1f75 Add some missing override definitions. 2016-05-21 09:29:03 -07:00
Henrik Rydgard
f8659b8e1e Move the IR interpreter out into its own file. Rename it in the UI. First CMake and Android fixes. 2016-05-08 22:06:13 +02:00
Henrik Rydgard
ce8aae5ed1 Make the IRJit core selectable in developer tools 2016-05-08 01:43:27 +02:00
Henrik Rydgard
a4ca07e683 Hide the Vulkan option on Android until it works. 2016-05-02 17:47:54 -07:00
Henrik Rydgard
8b450c8034 Merge NativeJit.cpp/h with JitCommon.cpp/h 2016-05-01 11:39:59 +02:00
Henrik Rydgard
a5be0976bd Remove preprocessor hacks to choose JIT implementation.
Opens up for having multiple JIT implementations available at runtime,
which could be use for experimenting with new JIT compiler types or for
unit testing one JIT on another architecture.

Very few of the newly virtual calls are on any sort of critical path so
hopefully there will not be a performance loss.
2016-05-01 11:39:53 +02:00
Unknown W. Brackets
a518ad783d UI: Align screenshot preview in savestate manager. 2016-04-24 11:51:06 -07: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
4197148dc4 Add some paranoid checks hoping to fix crashes reported in Google Play developer console. 2016-04-09 18:27:35 +02:00
Henrik Rydgard
5ef608fa50 GPU stats: Have each backend format its own string. 2016-03-31 10:17:02 +02:00
Unknown W. Brackets
9b15ce0934 UI: Fix texture scaling level selection.
It previously was not possible to select 4 on a POT-only device, since it
would become 3, which would in turn become 2.

Also, this allows selection on other backends, e.g. Vulkan.
2016-03-26 15:02:10 -07:00
Henrik Rydgard
20f227cc4d Vulkan: Fix Prescale UV 2016-03-21 18:50:11 +01:00
Unknown W. Brackets
9c3e12ead0 Remove some unused things reported by clang. 2016-03-20 23:14:08 -07:00
Unknown W. Brackets
ab6dd51d9c Fix a small resource handle leak. 2016-03-20 14:24:35 -07:00
Henrik Rydgård
2b46ae59a0 Merge pull request #8601 from hrydgard/vulkan
Vulkan rendering backend. Early Work-In-Progress
2016-03-20 21:08:58 +01: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
78b878222f Show backend chooser on Android so we can choose Vulkan. 2016-03-20 19:30:39 +01:00
Henrik Rydgard
432f276bec Cleanups. Don't loop over bones in vshader, causes trouble 2016-03-20 19:30:11 +01:00
Henrik Rydgard
01e3fbae95 Fix clearing bug, add FIFO_RELAXED flag, etc 2016-03-20 19:30:11 +01:00
Henrik Rydgard
56e358aa24 Show Vulkan information in system information. 2016-03-20 19:30:11 +01:00
Henrik Rydgard
d7e8f8433f Support multiple texture formats 2016-03-20 19:29:03 +01:00
Henrik Rydgard
2a449f78bb More vulkan fixing 2016-03-20 19:25:30 +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
b3402ef1fb Merge pull request #8560 from unknownbrackets/prescale-uv
Enable UV prescaling by default
2016-03-20 18:10:19 +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
Henrik Rydgard
92c6810954 Not using a GL config chooser seems to be the way to go, really, and was the way we used before the EGL attempt. 2016-03-17 22:22:57 +01:00
Henrik Rydgard
4c0e6d0138 Some renaming, fixes and tweaks to the gl_lost mechanism, which is again needed 2016-03-17 21:30:16 +01:00
Henrik Rydgard
5ad772a8bf Further fixes to Java EGL support 2016-03-17 19:42:59 +01:00
Unknown W. Brackets
cc4e7c4b10 Oops, flush from queue before locking.
Added this last and clearly didn't test it carefully.  Fixes #8631.
2016-03-07 20:19:07 -08:00
Unknown W. Brackets
f38869141a UI: Correct a race condition when loading bgs. 2016-03-06 14:49:17 -08:00
Unknown W. Brackets
8a9e30f833 UI: Wait for the specific game info item to finish.
In case we have slow-loading ones.
2016-03-06 14:49:16 -08:00
Unknown W. Brackets
da03b80c97 Standardize on just one mutex implementation. 2016-03-06 14:49:15 -08:00
Unknown W. Brackets
955b0fb9db UI: Minor header cleanup. 2016-03-06 14:49:14 -08:00
Henrik Rydgard
f08ae677e8 Disable gfx logging in debug by default. 2016-03-06 11:48:14 -08:00
Henrik Rydgard
438c7c1344 Only show GL extensions in the GL backend. 2016-03-06 11:06:49 -08:00
Unknown W. Brackets
2d8484fd7d Put the storage button front and center.
This way it's harder to miss.
2016-03-05 17:18:24 -08:00
Unknown W. Brackets
50083a3c0c Avoid reloading save info on move/resize.
We don't really need to do this all the time, we can just do it on exit of
the entire screen.  Also fixes a crash on close.  Fixes #8619.
2016-03-01 18:19:18 -08:00
Unknown W. Brackets
ef566a3adf SaveState: Clean up some constant usage. 2016-02-28 18:21:57 -08:00
Henrik Rydgard
cef0a6311d ISOFileSystem: Remove the "restrictTree" functionality which is now obsolete with lazy directory loading. 2016-02-29 01:13:57 +01: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
7ab3de299c Set cache dir before loading config.
The config will try to check ISOs for existence, which may use the cache.
2016-02-27 13:10:08 -08:00
xiushu
80938a39ce Just remove useless space and fix translations
Oops
2016-02-21 13:12:35 +08:00
xiushu
7a2b4eea0a Add inputbox for android
For inputting  IP and NickName ,or something else in future on Android
2016-02-21 11:23:00 +08:00
Henrik Rydgard
e51e168e40 It is not a great idea to release locks that have been free'd. 2016-02-15 00:10:22 +01:00
Henrik Rydgard
b5959be2ec Update font atlas (Chinese, Korean updates) 2016-02-14 13:44:10 +01:00
Unknown W. Brackets
841267c083 d3d9: Allow software rendering selection in UI. 2016-02-13 14:01:57 -08:00
Henrik Rydgard
bfa5091c41 Exit cleanly on Android instead of hard-exiting using exit(0). 2016-02-13 19:57:05 +01:00
Henrik Rydgard
e1ebc12d7f Improve reliability of "menu background music". Fix issue with mixed navigation mentioned in #8565 2016-02-13 10:55:29 +01:00
Henrik Rydgard
35b6c7341b Fix a bunch of memory leaks, after enabling file+line-number memory leak tracking for the MS Debug CRT.
Few of these were serious, most were on-exit, but good to have a cleaner memory report after running.
2016-02-10 15:36:10 +01:00
Unknown W. Brackets
862e6fffd5 UI: Keep focus on game after displaying details.
Fixes #8539.
2016-02-07 17:15:19 -08:00
Unknown W. Brackets
19ec8c9502 Enable UV prescaling by default.
Fixes #4583.  It's been relatively stable since #8283.
2016-02-07 14:05:53 -08:00
Henrik Rydgård
0550cd306d Merge pull request #8496 from sum2012/ANR2ME-portset
Support port offset by @ANR2ME
2016-01-24 11:35:53 +01:00
sum2012
bbeaf67cd6 Support port offset by @ANR2ME
Useful of adhoc of non-windows
2016-01-24 16:52:39 +08:00
Unknown W. Brackets
d7f3cf0fca UI: Refresh pause screen after exiting settings.
This will update if any of the savestates were deleted.
2016-01-23 23:53:31 -08:00
Unknown W. Brackets
ae478aad41 UI: Delete screenshots with savestate files.
Fixes #8494.
2016-01-23 23:53:09 -08:00
Henrik Rydgård
19b0858d5e Merge pull request #8490 from unknownbrackets/ui-tweaks
Show save state titles in the save state manager
2016-01-24 00:51:04 +01:00
Unknown W. Brackets
a4a8e8f569 UI: Show savestate titles in manager.
Note: this will also show broken savestates with (broken).
2016-01-23 13:06:58 -08:00
Henrik Rydgård
94f61abea3 Merge pull request #8489 from unknownbrackets/ui-tweaks
More UI tweaks for save manager, etc.
2016-01-23 20:52:29 +01:00
Unknown W. Brackets
21a15e4728 UI: Display save state screenshots as icons.
This way the list is not just a bunch of words, if you have a lot of save
states.  Like me.
2016-01-23 11:27:41 -08:00
vnctdj
9e37dd9e70 Fix broken translations
https://github.com/hrydgard/ppsspp/issues/8480#issuecomment-174211517
2016-01-23 19:49:57 +01:00
Unknown W. Brackets
c0238de4ee UI: Add tags to all the scroll views. 2016-01-22 22:52:13 -08:00
Unknown W. Brackets
84d815768b UI: Set tags on tab views, in the typical case. 2016-01-22 22:39:58 -08:00
Unknown W. Brackets
5a01bb7836 Expand game browser path to fit available space.
Before it just was saying it wanted to be flexible.
2016-01-22 21:58:03 -08:00
Henrik Rydgård
27fac6e226 Merge pull request #8451 from unknownbrackets/volume
Add a volume configuration setting
2016-01-19 21:59:35 +01:00
Unknown W. Brackets
51a4ba9950 softgpu: Support screen scaling filter.
No reason it has to be nearest, we have an option for that.
2016-01-17 23:47:42 -08:00
Unknown W. Brackets
fb831b0f48 Add a global volume config setting.
This applies to all audio, UI, game, etc.  Fixes #7749.
2016-01-17 22:47:29 -08:00
Unknown W. Brackets
516147680c Merge pull request #8182 from LunaMoo/minor_cleaning
Move "Display Rotation" and stretching options to display layout editor.
2016-01-17 14:54:39 -08:00
LunaMoo
f54e9d8ac4 Rename variable to match others. 2016-01-17 22:56:42 +01:00
Henrik Rydgard
6df8573583 Minor fixes 2016-01-17 22:53:06 +01:00
LunaMoo
6751617c8f Smooth out touch moving and resize and other small changes. 2016-01-17 22:32:08 +01:00
Henrik Rydgard
b39206f922 Use the app cache directory on Android for the shader cache. 2016-01-17 22:15:23 +01:00
Henrik Rydgard
a53d31a8d7 Make virtual gamepad visible from the start if button fading is on. They'll fade out after a while. 2016-01-17 20:31:10 +01:00
Henrik Rydgard
27c71aa340 Get rid of the unused "InstallID" 2016-01-17 15:46:15 +01:00
LunaMoo
80fa2695bf Tabs can't live in space and some other corrections. 2016-01-17 12:13:15 +01:00
LunaMoo
6061ad7579 Some improvements, comments and polishing. 2016-01-17 09:21:12 +01:00
LunaMoo
e4271fe1bc Integrate stretching options into display layout editor. 2016-01-17 09:18:41 +01:00
LunaMoo
0c2efa6d44 Make sure display representation matches all cases and recreate views on window resize(this also fixes touch control layout screen). 2016-01-17 09:18:40 +01:00
LunaMoo
284600b1a7 Move "Display Rotation" to display layout editor.
Fix portrait rotation representation in the editor with auto setting.
Minor cleanup.
2016-01-17 09:18:36 +01:00
latot
53ac6d98d8 Little things
back 1

other little change, join 2 in 1
2016-01-09 20:44:02 -03: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
Henrik Rydgard
f7f9f321a0 Qt fixes 2016-01-03 15:03:08 +01:00
Henrik Rydgård
95822a165d Fix Mac build 2016-01-01 14:40:19 +01:00
Henrik Rydgard
f419281d16 Fix Android build 2016-01-01 14:40:17 +01:00
Henrik Rydgard
15de6e6b98 GraphicsContext: Abstract away things like swapbuffers etc before adding even more backends.
Needed to prevent clutter all over the codebase.

Does not go all the way yet, goal would be a common render loop between platforms but not there yet.
2016-01-01 14:40:16 +01:00
Karen Tsai
c4a28a2998 Restore JIT for armv7/armv7s iOS 9 devices, which were erroneously disabled when I fixed PPSSPP's arm64 crashing. 2015-12-28 14:20:28 -05:00
vnctdj
79737bc502 Fix some bad translation strings 2015-12-28 01:34:51 +01:00
Unknown W. Brackets
da65116f75 Oops, fix auto-hide timing issues.
If the game was not 60 fps, it was wrong, but also it added up frames too
quickly as static.  Was worried about missing touches when I added the
zeroing, dumb mistake.

Fixes #8309.
2015-12-26 11:31:37 -08:00
Henrik Rydgård
58ef5ee940 Merge pull request #8307 from unknownbrackets/minor
Allow shortcut min/max on Windows, fix config save on exit
2015-12-26 10:39:57 +01:00
Unknown W. Brackets
b811dfc51b Actually, might as well on all platforms. 2015-12-25 19:41:17 -08:00
Unknown W. Brackets
82e41a1392 Make sure the config is saved on exit.
May help #7724.
2015-12-25 19:39:52 -08:00
Henrik Rydgård
21bf73a612 Merge pull request #8281 from unknownbrackets/ui-tweaks
Add feature to auto-hide buttons after X seconds
2015-12-24 23:15:59 +01:00
Henrik Rydgård
1e2f45ec4f Merge pull request #8291 from unknownbrackets/ui-tweaks2
Show a scroll view inside the devtools window
2015-12-24 23:15:46 +01:00
Unknown W. Brackets
e6b5fbb40a Fix race conditions when reading game title.
Fixes #5030.
2015-12-24 13:18:46 -08:00
Unknown W. Brackets
bc9c3ca649 Simplify VFS icon reading. 2015-12-24 12:45:07 -08:00