Commit Graph

1031 Commits

Author SHA1 Message Date
Henrik Rydgard
de882e493e Mysterious buildfix 2013-10-28 17:57:05 +01:00
Henrik Rydgård
7a83deaeea Android build: Set -march=armv6 for our armeabi build, we don't support
anything lower anyway.
2013-10-28 16:46:16 +01:00
Henrik Rydgård
fc2edfa8b3 Merge pull request #4351 from DanyalZia/patch-32
Slightly improves scanlines
2013-10-28 08:10:36 -07:00
danyalzia
074379e3de Update Credits 2013-10-28 20:06:14 +05:00
Henrik Rydgård
787db5812d UI cleanup and a crashfix for duplicate back key events 2013-10-28 16:04:53 +01:00
Henrik Rydgård
b2fa3b54fe MSVC buildfix attempt 2013-10-28 15:38:25 +01:00
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
Henrik Rydgård
c17dd02ace Merge pull request #4345 from shenweip/patch-14
Move Exit botton to last column.
2013-10-28 03:55:17 -07:00
Henrik Rydgård
5515737200 Merge pull request #4346 from shenweip/patch-15
Update Credits.
2013-10-28 03:15:42 -07:00
shenweip
f70fb9de28 Update Credits. 2013-10-28 18:01:22 +08:00
shenweip
103aece36c Move Exit botton to last column. 2013-10-28 17:41:09 +08:00
Sacha
d616cc72a2 Add Blackberry statistics overlay option. 2013-10-28 14:19:27 +10:00
Siddharth
ec0e0d7047 implemented full tilt based D-pad controls 2013-10-27 23:28:47 +05:30
Sacha
2c74693f6c VSync codepath only works on _WIN32 so only show it and check it there. 2013-10-27 23:09:46 +10:00
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
974376735e Merge pull request #4332 from bollu/clickEntireButton
fix checkbox bug in touch control visibility screen
2013-10-27 02:07:36 -07:00
Henrik Rydgård
0ae5e5cf1c Fix returning to game with ESC or other mapped back button, minor
cleanups.
2013-10-27 10:04:38 +01:00
Siddharth
b50f4d4287 merged upstream changes 2013-10-27 11:48:59 +05:30
Siddharth
ee58091b87 link Choice onClick to checkbox Toggle so that click is registered
fix merge linker error
2013-10-27 11:30:23 +05:30
Unknown W. Brackets
4f090f4122 Get rid of some magic numbers. 2013-10-26 19:35:51 -07:00
Sacha
fc37c16aa2 No need to enable FZ every frame. 2013-10-25 21:52:50 +10: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
Henrik Rydgård
a588b46321 Clear the JIT cache correctly when exiting the cheat dialog. 2013-10-23 17:23:05 +02:00
Henrik Rydgård
70738c1755 Automatically clear the JIT when exiting the Cheats dialog box.
Plus some simple cleanup.
2013-10-23 16:10:58 +02:00
Henrik Rydgard
62685b6145 Fix a bug where we would push two gamepausescreens in some circumstances.
+ a cosmetic fix.
2013-10-22 16:19:46 +02:00
Henrik Rydgard
a88ab80477 Only clear the shader cache when toggling "Disable alpha test" 2013-10-22 14:34:16 +02:00
Henrik Rydgard
bf59f3db73 Add ugly hack setting for PowerVR to disable alpha test
Causes glitches but the speedup is truly massive in some games so I relent :/

Please do not report graphics bugs when this is enabled...

Future: Maybe remove this setting except on PowerVR?
2013-10-22 13:00:19 +02:00
The Dax
62e3afd297 Tidy up a couple things. toggleSwitch doesn't need to be public. 2013-10-21 16:57:31 -04:00
The Dax
db370c1fd3 Call the base class sendMessage when handling messages from native, so every screen can refresh from a language update at any time. 2013-10-21 16:52:44 -04:00
The Dax
17b7ec1d59 Truncate the OpenGL version string so it doesn't run amok. 2013-10-21 11:47:35 -04:00
Henrik Rydgård
598e06faa8 Make Home in the game browser available on linux/mac/etc too.
Misc tweaks.
2013-10-21 12:21:22 +02:00
Henrik Rydgård
d31ff07e79 Merge pull request #4275 from shenweip/patch-7
Draw default background when pic doesn't exist.
2013-10-21 01:12:58 -07:00
Unknown W. Brackets
c486a09c2c Use a better default font path on Linux/Mac OS X.
This way people don't have to copy to ~/.ppsspp/flash0.
The override in ~/.ppsspp/PSP/flash0 still works.
2013-10-20 23:45:56 -07:00
shenweip
6aa887e76a Draw default background when pic doesn't exist. 2013-10-21 13:20:12 +08:00
Unknown W. Brackets
569f6132b9 Warning fix. 2013-10-20 22:13:54 -07:00
Henrik Rydgård
a39974b06b Merge pull request #4267 from ufdada/master
Translating the Back and Toggle All Buttons
2013-10-20 11:51:31 -07:00
Henrik Rydgård
cc1f0872f5 Merge pull request #4261 from bollu/auto-hide-recents
auto hide recents tab when no recent games exist
2013-10-20 09:34:06 -07:00
Siddharth
2359bda823 now highlights games tab if recents is empty 2013-10-20 21:48:06 +05:30
ufdada
022c033f57 Translating the Back and Toggle All Buttons
Correcting the Toggle all Button function (it was reverting the selection)
2013-10-20 17:57:35 +02:00
Henrik Rydgård
99d4ef1e06 Enable/disable access to the control layout editor properly 2013-10-20 17:40:18 +02:00
Henrik Rydgård
3ab09f6bce Make the touch visibility thing a "subdialog" of the layout editor.
Reorder options a bit too.
2013-10-20 17:33:46 +02:00
The Dax
fd7ae05b80 Fix incorrect translation category. 2013-10-20 10:53:46 -04:00
Siddharth
0edfe5744a auto hide recents tab when no recent games exist 2013-10-20 19:47:27 +05:30
Henrik Rydgård
b290b31bd8 Merge pull request #4257 from bollu/control-layout-improvements
Control layout improvements
2013-10-20 04:50:04 -07:00
Siddharth
55a664bd13 made buttons invisible in the layout screen if they are disabled 2013-10-20 17:17:32 +05:30
Henrik Rydgard
950951920a buildfix 2013-10-20 12:47:00 +02:00
The Dax
fc64b9a64f Make the text and images centered. 2013-10-20 00:36:05 -04:00
The Dax
d18253e7d5 Fix Android build, adjust includes. 2013-10-20 00:12:55 -04:00
The Dax
11a34746cf Default to true for all touch control visibility, and actually translate Control Visibility. 2013-10-20 00:01:29 -04:00
The Dax
7bfa071370 Make the header and Control Visibility texts translatable. 2013-10-19 23:56:04 -04:00
The Dax
cdf819c9eb Remove rebase junk, update CMakeLists.txt, update Android.mk. 2013-10-19 23:51:58 -04:00
The Dax
83c70baada Add TouchControlVisibility.cpp/h to Visual Studio project "UI". 2013-10-19 23:34:00 -04:00
The Dax
3d1f396467 Make non-image Choices translatable from the MappableControls section. 2013-10-19 23:24:38 -04:00
The Dax
d099692ed0 Make Toggle All actually function. 2013-10-19 23:24:38 -04:00
The Dax
c5c0945559 Adjust a couple styling issues. 2013-10-19 23:24:10 -04:00
The Dax
a88a30fb1d Add a touch control visibility screen. All touch controls can now be toggled on or off, except for the Pause button on platforms that have it, as a safety precaution. 2013-10-19 23:24:09 -04:00
Unknown W. Brackets
023dbbc967 iOS buildfix. 2013-10-19 19:46:30 -07:00
Henrik Rydgard
9c59990edc More tweaks to control layout editing 2013-10-20 01:17:19 +02:00
Henrik Rydgard
74ab8376a7 Fix button layout (square got swapped with circle by the layout editor code) 2013-10-20 01:10:13 +02:00
Henrik Rydgard
f15e21c5f8 Remove the Enable Atrac3+ checkbox 2013-10-20 01:07:18 +02:00
Henrik Rydgard
dea4668ae8 Editable touch controls: Added Reset button and fixed build in VS 2010 2013-10-20 00:39:42 +02:00
Siddharth
38442c090e allow loading and unloading of onScreen control coordinates. Also, use sane (bottom left origin)coordinate system for all onScreen elements
can now reposition on screen controls

removed unnessecary files

fixed indenting issues

renamed RepositionOnScreenControlScree to TouchControlLayoutScreen
2013-10-20 00:39:38 +02:00
Unknown W. Brackets
9131371df9 Fix Qt, update native. 2013-10-19 15:15:19 -07:00
Unknown W. Brackets
9a9aa5b194 Fix initialization order warnings. 2013-10-19 14:57:45 -07:00
Sacha
8c1d4e8ad7 Some Qt compatibility improves for Windows.
(Reapplied since I lost it in a bad push :/)

Conflicts:
	Qt/Core.pro
	Qt/PPSSPP.pro
2013-10-19 23:18:10 +02:00
Henrik Rydgård
70783eaa48 Windows build fixes 2013-10-19 23:09:27 +02:00
Henrik Rydgård
2c5adc96cf Rip out the support for the Atrac3+ plugin. It is gone, to never return. 2013-10-19 23:09:26 +02:00
Henrik Rydgård
850b5d2961 Merge pull request #4228 from thedax/i7CPUDetection
System Info screen: Add correct core count detection for i7(and maybe i5/i3?) CPUs.
2013-10-17 16:27:01 -07:00
The Dax
0400a61d51 Add correct core count detection for i7(and maybe i5/i3?) CPUs, and update the SysInfo screen to show more information about threads on x86/x64. 2013-10-17 19:03:33 -04:00
shenweip
4489547073 Add a function to change log channel for convenience. 2013-10-18 00:23:57 +08:00
Sacha
e112cf5aff Also install the langregion file on Blackberry & Symbian. Don't auto enable hardware transform on Symbian. 2013-10-17 23:24:49 +10:00
Sacha
4f6b0225ed Cosmetic fix for small screen or <= 1:1 aspect ratio. 2013-10-17 16:11:19 +10:00
Henrik Rydgard
805bea5ec8 Cosmetic fix to gamescreen 2013-10-16 22:33:47 +02:00
Siddharth
06c13926ee made atomic lock optional
fixed an incorrect merge to nativeApp.cpp

made atomic locks init correctly

reintroduced atomic locks in audio as an optional setting

converted global pointers to global objects on stack

moved all mixing code into PSPMixer

internaized all code into __sceAudio.cpp

cleaned up rebase

cleaned up rebase
2013-10-16 23:42:47 +05:30
Henrik Rydgard
80702109f5 Move gpu vendor detection to native with the rest of the gl init.
Also disable vertical layout for mainscreen entirely.
2013-10-16 00:48:44 +02:00
Henrik Rydgard
5b9123b3c5 Main screen: Add Browse button on Windows to choose a folder easily 2013-10-15 13:28:09 +02:00
Henrik Rydgård
f68a672c0b Merge pull request #4198 from thedax/sysDirectoriesRevamp
Eliminate GetSysDirectories and instead provide a new function: GetSysDirectory.
2013-10-15 03:18:45 -07:00
The Dax
cdb3eae803 Move CwCheatScreen.* under the "Screens" filter folder. 2013-10-15 04:16:06 -04:00
The Dax
0571a8c513 Remove ifdefs. All platforms use the same cheat directories now(or they should :/ ). 2013-10-15 03:41:11 -04:00
The Dax
fec7dab628 Have CWCheats use it, too. It's useful pretty much anywhere one needs the real path instead of a virtual memory stick path. 2013-10-15 03:41:11 -04:00
The Dax
6efd5b33f7 We don't really need DIRECTORY_FLASH0 or DIRECTORY_MEMSTICK. 2013-10-15 03:41:10 -04:00
The Dax
c7bdeb3084 Eliminate GetSysDirectories and instead provide a new function: GetSysDirectory.
On Win32, call InitSysDirectories before the emuthread starts just to be safe.
2013-10-15 03:41:10 -04:00
Siddharth
45059bfffc added my name (bollu) to credits 2013-10-15 12:59:53 +05:30
Sacha
be47964ff2 Use 'Cores' instead of 'Threads' for ARM. 2013-10-15 15:28:19 +10:00
The Dax
22e7b64df3 Don't write files before creating the directory in the first place. 2013-10-14 17:28:27 -04:00
The Dax
be97799a6e use g_Config.memCardDirectory/PSP/SCREENSHOT for screenshots, to match the real PSP. 2013-10-14 14:51:42 -04:00
Henrik Rydgård
0173c860c5 Revert "Also replace "//" to "/"."
This reverts commit 60ef33b1e0.
2013-10-14 11:36:33 +02:00
Henrik Rydgård
06a69cef09 Merge pull request #4177 from shenweip/patch-5
Also replace "//" to "/".
2013-10-14 02:27:39 -07:00
shenweip
60ef33b1e0 Also replace "//" to "/". 2013-10-14 17:10:46 +08:00
Unknown W. Brackets
8fefd15d58 Allow "Run Tests" on iOS with alternate location.
Either place is annoying, easier to install via Xcode.
2013-10-14 00:53:13 -07:00
The Dax
54de8739f1 Fix critical bug with GetSysDirectories. 2013-10-13 19:30:07 -04:00
The Dax
b3018eb37f Allow Win32 to store its saves, config files, etc., elsewhere.
If installed.txt exists(or the executable directory is read-only), use the user's My Documents(XP) or Documents(7/8/8.1) directory to search for everything. If it doesn't, or we can't determine the directory for some reason, use the old behaviour.
2013-10-13 16:45:59 -04:00
The Dax
7000b63082 When using a debug build, always show the debug log/enable logging on start. 2013-10-13 14:31:48 -04:00
The Dax
9c868351de Make Enable Debug Logging checkbox instant as it was intended to be. 2013-10-13 14:18:50 -04:00
The Dax
3d8b68e88e Make Fullscreen checkbox instant. 2013-10-13 13:34:55 -04:00
Henrik Rydgård
cdba174ab7 Merge pull request #4148 from unknownbrackets/config-files
Allow config files and fonts to be on the memstick
2013-10-13 04:01:01 -07:00
Henrik Rydgard
e54107033d Don't crash on post-shader compile errors. 2013-10-13 12:06:55 +02:00
Unknown W. Brackets
98b49db82a Minor warning fixes. 2013-10-12 16:49:22 -07:00
Henrik Rydgård
f650a46783 Merge pull request #4146 from thedax/fixRunCPUTests
Don't enable Run CPU Tests without the presence of g_Config.memCardDirectory/pspautotests/tests.
2013-10-12 16:27:11 -07:00
The Dax
ebe5834767 Use consistent "Postprocessing Shader" key. 2013-10-12 19:22:42 -04:00
Unknown W. Brackets
af2ccbb9da Rename flashDirectory to flash0Directory. 2013-10-12 16:08:39 -07:00
Unknown W. Brackets
79143b56d2 Allow config files to be placed under the memstick.
This way, they can be configured more easily on Android, etc.
2013-10-12 16:02:03 -07:00
The Dax
4f98e1de1e Don't enable Run CPU Tests without the presence of g_Config.memCardDirectory/pspautotests/tests. Restore the previous PSP_CoreParameter().pixelWidth & PSP_CoreParameter().pixelHeight before exiting RunTests. 2013-10-12 16:01:22 -04:00
The Dax
2b12fc0c54 Remove hack fix for switching shaders. Create new native messages for EmuScreen to avoid threading issues. Remove gpu function calls from WndMainWindow.cpp and use NativeMessageReceived instead. 2013-10-12 13:51:27 -04:00
Sacha
03711b1993 Symbian buildfix. 2013-10-13 01:40:25 +10:00
bhavin192
3bfae23009 Update CwCheatScreen.cpp
Fix cheat.db problem for symbian
2013-10-12 15:10:13 +05:30
Unknown W. Brackets
21f522746f Cleanup shutdown on Windows to avoid races.
Was still getting crashes sometimes.
2013-10-12 01:40:33 -07:00
Sacha
d49b4fad9a Miscellaneous changes for Blackberry. 2013-10-12 17:19:02 +10:00
Henrik Rydgård
4e4b49ce70 Merge pull request #4023 from makotech222/cwcheat
CWCheat: Fix for crashing when exceeding cheat list size.
2013-10-11 18:08:50 -07:00
Steven Cherry
bbd2e12f97 Changed vector<bool> to deque<bool>. 2013-10-11 20:04:15 -05:00
Henrik Rydgård
b56cf00015 Merge pull request #4124 from thedax/sysInfoRedesign
Redesign the System Info screen to have tabs.
2013-10-11 17:24:09 -07:00
Henrik Rydgård
b9e8491f42 Merge pull request #4126 from thedax/fixLANLoading
Win32: Fix dumb typo involving slash replacements.
2013-10-11 17:22:57 -07:00
Henrik Rydgard
b16b837719 Display "fancy" names for post shaders 2013-10-12 02:15:55 +02:00
The Dax
fda6c42f6d Fix dumb typo involving slash replacements. 2013-10-11 20:10:16 -04:00
Henrik Rydgard
e0b19decca Add generic "PostShader" functionality, replacing FXAA (it's one of them).
Replaces #4018, sorry DanyalZia :)
2013-10-12 02:05:55 +02:00
The Dax
d5ca3c28ed Redesign the System Info screen to have tabs. 2013-10-11 19:23:43 -04:00
danyalzia
71ee2a01f3 Add auto-tex scaling in UI 2013-10-11 19:33:02 +05:00
Henrik Rydgård
5721836d44 Add basic haptic feedback to on-screen touch buttons. 2013-10-10 16:44:57 +02:00
danyalzia
66e48f5a69 Show CPU in System info (UI) 2013-10-10 16:09:13 +05:00
Henrik Rydgard
f374593a05 Update native with OpenGL init fixes, may fix some crashes on startup.
Fix a rotation issue.
2013-10-10 11:09:48 +02:00
Henrik Rydgård
014b3d0a2b Better vertical layout for home screen 2013-10-09 16:26:15 +02:00
shenweip
63b54db45e Set saveDataSize and installDataSize to 0 if deleted savedata. 2013-10-09 19:34:36 +08:00
Henrik Rydgård
ab759a9350 If bPrescaleUV is enabled, no need to flush on change of these params.
Also disable the QCOM hint, not sure it does any good at all.
2013-10-09 10:44:12 +02:00
Henrik Rydgard
4c2c015774 Expose the experimental "bPrescaleUV" as "Texture Coord Speedhack"
It's actually quite beneficial in some games, can substantially reduce
glUniform4fv calls.

Also throw in a second shot at glDrawRangeElements.
2013-10-08 22:59:40 +02:00
Henrik Rydgård
2558d3bf4b Merge pull request #4076 from bollu/SaveStateHighlight
Highlight save states in use
2013-10-08 08:36:52 -07:00
Siddharth
bb66c442e5 less obnoxious color 2013-10-08 19:22:21 +05:30
Siddharth
4dba847ea4 Uses StickyChoice's Highlight() to highlight save slots in use 2013-10-08 19:08:50 +05:30
Henrik Rydgård
ef3c947fe3 Add a few pixels of margin around the path in the game browser 2013-10-08 12:04:36 +02:00
Henrik Rydgard
f938b95925 Revert "Merge pull request #4068 from bollu/AudioArtefactFix"
This reverts commit e4c6ba9b01, reversing
changes made to 061efd35db.
2013-10-07 20:25:35 +02:00
Siddharth
1708febac1 sets audio samples to 0 if audio was not mixed. 2013-10-07 22:03:14 +05:30
Siddharth
34f7109821 removed SaveChoice class (was useless) 2013-10-07 21:58:00 +05:30
Siddharth
630201017b save states with data on them are now highlighted 2013-10-07 21:46:02 +05:30
Henrik Rydgård
a63744eda4 Merge pull request #3881 from vnctdj/patch-1
Small translation-related changes
2013-10-05 13:44:40 -07:00
Henrik Rydgård
da5b52ce1f Merge pull request #4031 from shenweip/patch-11
Make a distinction between savedata size and installdata size.
2013-10-05 13:32:06 -07:00
adrian17
572f6c9c0e Changed requirement for rendering resolutions over 5x 2013-10-05 15:59:17 +02:00
adrian17
c9f732fd0d UI: Increased rendering resolution selection range to 10x on Windows 2013-10-04 21:31:40 +02:00
Sacha
f82833c362 Merge branch 'master' of https://github.com/hrydgard/ppsspp 2013-10-04 22:42:44 +10:00
zixiken
c4304b5c2e Added include to remove error: 'sort' is not a member of 'std' 2013-10-03 16:13:16 -04:00
shenweip
a304e9b420 Make a distinction between savedata and installdata. 2013-10-03 20:44:16 +08:00
Steven Cherry
19efa9ef8a Fix one more small thing 2013-10-02 17:39:18 -05:00
Steven Cherry
e2e74b7292 Fix Mem Leak and other small fixes. 2013-10-02 17:37:39 -05:00
Sacha
ae42a4b95d Algorithm include needed. Update native. 2013-10-03 04:00:00 +10:00
Steven Cherry
1578bb16ba Cleanup 2013-10-01 21:14:34 -05:00
Steven Cherry
b0afdff3e9 CWCheat: Fix for crashing when exceeding cheat list size. Its now a pseudo-vector! Can accept any amount of cheats now. 2013-10-01 21:11:15 -05:00
Unknown W. Brackets
80ae3f247f Merge pull request #4006 from thedax/buildFix
Build fix.
2013-09-30 13:08:56 -07:00
The Dax
dda0bfea33 Build fix. 2013-09-30 16:00:41 -04:00