Commit Graph

326 Commits

Author SHA1 Message Date
The Dax
d102baacd0 Prep PPSSPP for Visual Studio 2013. 2013-09-17 10:27:06 -04:00
Unknown W. Brackets
887a61ae56 Make it possible to add new sections optionally. 2013-09-15 07:58:52 -07:00
Henrik Rydgård
82ee817647 Convert to new-style DoState 2013-09-15 09:53:24 +02:00
Henrik Rydgård
52e4a7cf5d Merge branch 'patch-1' of https://github.com/shenweip/ppsspp into shenweip-patch-1 2013-09-15 09:46:52 +02:00
Unknown W. Brackets
50e9e45d65 Check version in each DoState() func.
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
shenweip
c018281509 fix style 2013-09-14 00:39:14 +08:00
shenweip
41dfea3150 Add PSPGamedataInstallDialog 2013-09-13 23:05:11 +08:00
The Dax
58aab2eeb8 Simplify NativeKeyboard, and only copy the amount of bytes of the output plus null terminator. 2013-09-11 15:42:32 -04:00
Unknown W. Brackets
db7496a37c Write only changed characters from OSK. 2013-09-11 08:04:01 -07:00
Unknown W. Brackets
5352432d8f Don't copy a negative size in savedata.
Not sure what's correct here, Street Fighter Alpha 3 passes -1.
It seems to call it twice, so probably the first time is to get the size?

Fixes #3722, thanks @thedax.
2013-09-10 22:23:47 -07:00
Unknown W. Brackets
e75ea49a66 Fix #3706, custom save dialog dates. 2013-09-10 02:09:18 -07:00
Unknown W. Brackets
9fb64183e6 Don't write more than the savedata buffer.
Fixes Numblast when there's savedata, probably others.
Could use more testing.
2013-09-10 01:46:49 -07:00
Henrik Rydgard
8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
Henrik Rydgård
8996bac23e Merge pull request #3631 from lioncash/master
Remove a redundant wcsncat call.
2013-09-07 08:45:49 -07:00
Lioncash
78f6808ece Remove a redundant wcsncat call.
Just makes the else statement the dominant branch.
2013-09-04 15:05:28 -04:00
sum2012
f941b09909 better fix 2013-09-04 23:14:39 +08:00
sum2012
3d20b8d7b0 Fix crash in debug build 2013-09-04 20:35:34 +08:00
sum2012
6358f4ec62 Fix Summon Night 5,when there is a save,make new game would crash 2013-09-04 20:18:21 +08:00
The Dax
91fe3a8d4c Remove old comment since this now supports wchar/Unicode. 2013-08-27 08:54:41 -04:00
The Dax
d5c4f6673c Switch from u32_le to u32, and truncate the user's input if it's too long(so that they still get something entered. It's probably confusing not to enter something). 2013-08-27 08:46:54 -04:00
The Dax
3c303925c9 Change u32_le to u32. 2013-08-27 08:41:59 -04:00
The Dax
f70faaa0c2 Terminate the loop early if it's going to overflow; there's no reason to keep riding it out. Also fix use of uninitialized variable. 2013-08-27 08:08:06 -04:00
The Dax
2e25f00585 Really prevent the possible buffer overflow. This is getting silly. 2013-08-27 08:02:42 -04:00
The Dax
58ca962d89 Prevent possible buffer overflow. 2013-08-27 07:44:32 -04:00
The Dax
05b860c167 Win32: Update OSK bypass with Unicode/wchar/wstring support. 2013-08-27 07:36:46 -04:00
adrian17
06a015983a Fixed some doubled semicolons 2013-08-25 19:43:18 +02:00
Unknown W. Brackets
1ed8edb0d3 Avoid some dangerous hex constant widths. 2013-08-22 23:23:48 -07:00
Unknown W. Brackets
83373b8d87 Fix a pointer ARRAY_SIZE() compare (eek.) 2013-08-12 23:33:40 -07:00
Unknown W. Brackets
008052e6d6 Fix some variable hiding warnings. 2013-08-12 23:32:38 -07:00
Unknown W. Brackets
c8716d9a02 Fix a few minor typos + small reporting change. 2013-08-12 23:02:39 -07:00
Henrik Rydgard
43978f0ed6 Auto-create .nomedia file on Android to hide savedata icons from Gallery 2013-08-12 21:49:02 +02:00
Yaroslav
62835aad40 Make more strings translatable. 2013-08-11 22:25:50 +07:00
Henrik Rydgard
51ffdfa132 Rename gpuStats.numFrames to numVBlanks. Switch to using numFlips for things like cache expirations. 2013-08-07 22:34:00 +02:00
The Dax
d549337080 Tidy up some newlines. 2013-08-06 19:40:59 -04:00
The Dax
f9067e15c9 Remove old comment, change another one, and change MenuScreens.cpp to use the new class Host's InputBoxGetString. 2013-08-06 19:36:51 -04:00
The Dax
40b1c6298a Fix Headless build error introduced by #3063. 2013-08-06 19:28:43 -04:00
Henrik Rydgard
993d3b01de Android buildfix 2013-08-06 19:00:32 +02:00
The Dax
4a2605d85e Switch to strncat instead of sprintf. 2013-08-05 23:46:00 -04:00
The Dax
b9541d9a15 Switch to size_t instead of u32. 2013-08-05 23:29:59 -04:00
The Dax
1da0454508 Add support for changing the InputBox's title to the description text provided by the game(or the emulator itself). If none is provided(empty string), fall back to a default string. 2013-08-05 23:17:26 -04:00
The Dax
22bceea46c Remove old comment, and change length value. 2013-08-05 22:49:04 -04:00
The Dax
4570d83c05 Fix crash in InputBox.cpp by offering an overloaded func which takes a size, and use it in MenuScreens.cpp / PSPOskDialog.cpp. 2013-08-05 22:45:51 -04:00
The Dax
d20ac3c4c2 Fall back on "VALUE" if for some reason we can't get the initial text. 2013-08-05 22:15:10 -04:00
The Dax
db00010eb2 Support initial text from the oskParams struct, instead of hard-coding "VALUE". 2013-08-05 22:12:51 -04:00
The Dax
78ab002fde ifdef away NativeKeyboard for non Win32 platforms, for now. 2013-08-05 21:50:21 -04:00
The Dax
80953ac56d Win32: Enable user to change emulated PSP nickname from the menu screens by popping a dialog box.
Win32: Enable user to bypass the in-game OSK by using the same dialog box. It doesn't support non-Roman characters yet.
2013-08-05 21:39:06 -04:00
Unknown W. Brackets
0b5bdeb1d3 Fix some compile failures under big endian. 2013-07-28 21:04:17 -07:00
raven02
e75f647bc4 Fix the YES/OK/No button sizing and code cleanup 2013-07-29 00:31:01 +08:00
Unknown W. Brackets
777074cfe1 Switch to _le memory layout specs in dialogs. 2013-07-27 15:30:18 -07:00
raven02
12a3a42d9a Buildfix 2013-07-21 17:59:04 +08:00