Commit Graph

949 Commits

Author SHA1 Message Date
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
Henrik Rydgård
802f60cc80 Merge pull request #4001 from thedax/conditionalSoftGPUDisable
Disable turning on/off software GPU when in-game. We don't support switching GPU backends dynamically yet.
2013-09-30 12:37:50 -07:00
The Dax
e1580bb8ba When a game is deleted via GameScreen, remove it from the recent ISOs list, if applicable. 2013-09-30 15:29:37 -04:00
The Dax
6504feeb0b Disable turning on software GPU when in-game. We don't support switching backends at in-game time yet. 2013-09-30 13:15:33 -04:00
Henrik Rydgård
ed1f4cd8d9 Merge branch 'patch-16' of https://github.com/raven02/ppsspp into raven02-patch-16
Conflicts:
	UI/GameSettingsScreen.cpp
2013-09-30 11:57:30 +02:00
Henrik Rydgard
e65d0b4791 Use EXT_blend_minmax when available. Minor tweaks. 2013-09-30 10:12:10 +02:00
danyalzia
8ffc56356e Update GameSettingsScreen.cpp 2013-09-30 00:47:15 +05:00
danyalzia
0394b78ca9 Only use tilt to control function in mobile 2013-09-30 00:07:38 +05:00
danyalzia
d09495b72c Only use tilt to control function in non-windows 2013-09-29 23:31:08 +05:00
Henrik Rydgård
4582902cf2 Make the ARM stuff build on clang so we can later get the unit test to
work there. also fixes the build.
2013-09-29 20:01:38 +02:00
Unknown W. Brackets
a2d1fd5a79 Linux buildfix (a bit blind.) 2013-09-29 10:46:46 -07:00
Henrik Rydgard
b661ae6c41 Add very simple jit viewer screen to dev menu. Add untested emitter for cvt.f32.f16 & c:o. 2013-09-29 13:41:56 +02:00
The Dax
79af94f4aa Update the host UI to avoid an UI scaling issue after resetting settings to default. 2013-09-28 22:41:47 -04:00
raven02
c9c7184d60 UI : Shift in-menu items 2013-09-29 09:53:04 +08:00
Henrik Rydgård
6395c11b46 Merge pull request #3903 from shenweip/patch-ui
Win32: Also receive "More Settings" or "Control Mapping" message in GameSettingsScreen and ControlMappingScreen.
2013-09-28 14:56:46 -07:00
Henrik Rydgard
a5d30d2f02 Enable FXAA on mobile. Hopefully the buildbot will copy the shader, too... 2013-09-28 23:51:10 +02:00
danyalzia
4a034f4a4d Show GL Shading Language Version 2013-09-28 14:34:04 +05:00
Henrik Rydgard
b10e2bce3c Add FXAA antialiasing on non-mobile. Works best when render resolution = window size. 2013-09-26 12:41:59 +02:00
The Dax
a15ba1322d Move GetLangValuesMapping out of MiscScreens.cpp so it can be used globally. 2013-09-25 21:06:58 -04:00
shenweip
b59636003d Don't push the second srcreen. 2013-09-25 01:37:25 +08:00
Henrik Rydgård
9e7769c337 Merge pull request #3906 from raven02/patch-4
Try to draw pic0 if pic1 is not available
2013-09-24 04:14:21 -07:00
raven02
c7021b0a2e Use better approach to show either pic0 or pic1 2013-09-24 19:07:27 +08:00
Henrik Rydgard
2b66a850be More spline/bezier optimization. Enable real splines. Add option "Low quality spline/bezier curves". 2013-09-24 11:14:49 +02:00
raven02
eeb50b354f Make sure ginfo->pic0Texture is not NULL 2013-09-24 16:16:37 +08:00
raven02
69234a1103 Try to draw pic0 if pic1 is not available 2013-09-24 15:54:40 +08:00
shenweip
a8692d36fe Also receive "More Settings" or "Control Mapping" message in GameSettingsSreen and ControlMappingScreen. 2013-09-24 13:03:59 +08:00
vnctdj
4968cd56e5 Some translation changes
"DeleteSaveData" & "DeleteGame" are now replaced by "ConfirmDelete"
2013-09-22 12:43:54 +02:00
vnctdj
85a1d0fb2e Revert to 4e3c4504b0
papel is wrong
2013-09-22 12:25:27 +02:00
Henrik Rydgård
e6ef2621ee Merge pull request #3855 from papel/patch
Fix translation string. It was not translating.
2013-09-21 09:56:34 -07:00
papel
4e3c4504b0 Fix translation string. It was not translating. 2013-09-20 13:41:15 -03:00
shenweip
c8603c01f8 Add "Remove From Recent" funtion,more convenient for the users. 2013-09-19 16:10:31 +08:00
The Dax
d102baacd0 Prep PPSSPP for Visual Studio 2013. 2013-09-17 10:27:06 -04:00
Henrik Rydgård
db92f26e56 Merge pull request #3806 from thedax/win32UITranslation
Win32 UI: Rewrite most of the menu translation code to be cleaner and simpler.
2013-09-17 06:43:24 -07:00
Henrik Rydgård
f061288926 Merge pull request #3812 from DanyalZia/patch-6
Add an option in UI to enable/disable frameskipping in unthrottle regardless of device
2013-09-17 05:26:52 -07:00
danyalzia
1160737d0b Update GameSettingsScreen.cpp 2013-09-17 15:57:07 +05:00
Henrik Rydgard
9beb727eac Make chainfire3d warning translatable. 2013-09-17 10:29:11 +02:00
Henrik Rydgard
fce5067279 Show a warning message on game start if Chainfire3D is installed. 2013-09-17 10:27:42 +02:00
danyalzia
6e22a26b23 Update GameSettingsScreen.cpp 2013-09-17 11:38:16 +05:00
The Dax
4e20f087fb Draw PPSSPP's D-pad logo on LogoScreen. 2013-09-16 23:07:10 -04:00
The Dax
e6d85cfb39 Rename Config::languageIni to Config::sLanguageIni for consistency. 2013-09-16 19:47:25 -04:00
The Dax
426e6630d9 Rewrite most of the translation stuff to be cleaner.
Also fix a bug where in-game only menu items become enabled after selecting a language when we're in various NewUI menus.
Rename Config::ilanguage to Config::iLanguage for consistency with other Config variables.
2013-09-16 18:45:09 -04:00
Henrik Rydgard
5997cdf6ad Add clearly missing parenthesis, see #3776.
Update contributors list.
2013-09-16 08:09:27 +02:00
Henrik Rydgård
06b2151939 Merge pull request #3784 from unknownbrackets/debugger
Enable the debug windows always, disable buttons
2013-09-15 15:07:13 -07:00
Unknown W. Brackets
1a77099b1c Don't crash if the pause screen is closed quickly. 2013-09-15 14:58:49 -07:00
Unknown W. Brackets
8902e85f0a Enable the debug windows always, disable buttons.
This way you can close them/whatever, and hopefully should avoid crashes.

Only downside is you can't pause the game now and then hit stop in the
debugger.
2013-09-15 09:35:58 -07:00
vnctdj
2b262971d9 Update MiscScreens.cpp
Update contributors with my name, I'm sure other people deserve to appear here too...

I allow me to make a pull request for that because of the following comment by Henrik : https://github.com/hrydgard/ppsspp/pull/3617#issuecomment-24465863
2013-09-15 15:28:23 +02:00
Henrik Rydgård
588d3e3c4f Merge pull request #3758 from thedax/win32Cleanup
Win32 UI: Some cleanups and simplifications, fix some small bugs.
2013-09-15 00:26:07 -07:00
The Dax
efa2c1c500 Use consistent directory slashes. We'll just replace all backslashes with forward slashes, eliminating the chance of duplicat recents. Fixes #3352. 2013-09-15 00:08:53 -04:00
Unknown W. Brackets
2cca2568c7 Make sure the saved git ver is null terminated.
strncpy() is a tricky beast.
2013-09-14 20:29:01 -07:00
The Dax
e8fd5881b8 Move global UI status out of WndMainWindow.cpp, simplify the menu translation code(it doesn't need to dictate checked or enabled items, the UI already does it later on anyway), and clear out a few old menu items that have been removed. 2013-09-14 12:49:50 -04:00
shenweip
42c5061e18 Receive language change message in another screen 2013-09-14 11:52:59 +02:00
shenweip
9907f4a740 Recreat all views when received language change message 2013-09-14 13:52:21 +08:00
Sacha
893ecffebe Symbian: Make distribution easier. 2013-09-12 10:58:13 +10:00
Henrik Rydgard
91f9161d76 Fix some bugs found in reports in the Android crash reporting console 2013-09-11 22:21:32 +02:00
Henrik Rydgard
e5e0a5e132 Forgot a null check 2013-09-11 07:13:06 +02:00
Henrik Rydgard
2745744d99 Split the resolution setting into Window Size and Rendering Resolution (internal resolution).
Gets rid of our "antialiasing" (simply crank up internal resolution to 2x your window size).

Proper MSAA is coming later.
2013-09-11 00:19:34 +02:00
The Dax
ebb2daff93 Remove unused pointer. 2013-09-10 11:41:17 -04:00
adrian17
78fd8863a0 Changed button opacity and scale slider min/max values 2013-09-10 14:38:57 +02:00
Henrik Rydgard
3b4cf31197 Try to prevent any remaining "stickiness" when you map analog axises to buttons/direction 2013-09-09 23:55:42 +02:00
Henrik Rydgard
b24ea4014a Simple tilt sensitivity setting 2013-09-09 23:48:11 +02:00
Henrik Rydgård
74418c13bf Merge pull request #3646 from raven02/patch-17
Toggle option "Disable Stencil Test" & "Always Depth Write"
2013-09-09 00:06:00 -07:00
shenweip
a1191325e1 Add a check in OnImportCheat to avoid crashing when can not get the title from cheat.db 2013-09-09 14:26:37 +08:00
The Dax
c95244b3e2 Remove stray tab. 2013-09-08 00:42:15 -04:00
The Dax
ac88cbd894 Let NewUI's Antialiasing option be instant so a game reboot isn't required. 2013-09-08 00:27:39 -04:00
The Dax
f594157374 Overhaul the Win32 UI. New things include:
-File -> Savestate Slot: Lets the user pick the savestate slot to be used.
-Game Settings -> More Settings...: Opens the main settings screen from anywhere.
-Game Settings -> Control Mapping...: Opens the key mapping screen from anywhere.
-Infrequently changed options were removed.
-Organised menus; nothing is out of place anymore.
-Simplified menus: as some options were removed or moved, it's easier to find what you're looking for, now.
2013-09-07 17:05:23 -04:00
Henrik Rydgard
8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
Henrik Rydgard
c31ae0645f Add optional "DevMenu" in-game button for quick access to things like log settings 2013-09-07 20:54:51 +02:00
Unknown W. Brackets
79d246aae9 Decouple win32 and UI a bit more. 2013-09-07 09:48:12 -07:00
Unknown W. Brackets
f97794136c Use a UI event for clearing recents.
This way it builds on Android, and is cross platform too.
2013-09-07 09:44:28 -07:00
Henrik Rydgard
26c5ee4a6d Add screen to control debug levels. Will make it easier to access later. 2013-09-07 13:38:37 +02:00
Henrik Rydgård
f24a7c83f5 Merge pull request #3636 from kaienfr/fix_recent_gamelist
Update recent games list & remove redundant recent games from ini file
2013-09-07 02:18:30 -07:00
Unknown W. Brackets
0ff64ec7d6 Fix some initialization order warnings. 2013-09-06 01:13:27 -07:00
raven02
1c583093f3 Change item-name to "Hack Settings" 2013-09-06 16:08:03 +08:00
Steven Cherry
46ba12cc85 Fix Reloading cheats 2013-09-05 17:36:14 -05:00
kaienfr
701e1263f0 New update in code style & fix load function
The load function can not load all recent games list if the Key is skeeped as:
FileName0 = ...
FileName2 = ...
...

In this case, only FileName0 is loaded.
Now the function is fixed and load all list.
2013-09-05 18:45:41 +02:00
kaienfr
137df18a00 Update recent games list & remove redundant recent games from ini file 2013-09-05 18:23:28 +02:00
raven02
a1aac79224 Toggle option "Disable Stencil Test" & "Always Depth Write" 2013-09-05 21:49:26 +08:00
Sacha
649ba06b37 Someone forgot this include. 2013-09-05 05:00:00 +10:00
The Dax
471a9990e5 Change PostMessage to host->UpdateUI(). 2013-09-04 11:22:53 -04:00
Henrik Rydgard
00b1fd6a75 Remove unnecessary RecreateViews call. 2013-09-04 17:21:13 +02:00
Henrik Rydgård
9930ecbab7 Merge pull request #3604 from thedax/dynamicUITranslation
Win32 UI: Add a runtime created Language submenu.
2013-09-04 05:48:16 -07:00
Henrik Rydgard
1c422d41ce Enable Arabic on Windows where we are using system fonts that can handle it. 2013-09-04 14:47:01 +02:00
The Dax
3f6361831e Rename "System Language" to just "Language". 2013-09-04 08:00:50 -04:00