Commit Graph

1235 Commits

Author SHA1 Message Date
Unknown W. Brackets
ec34c31416 Initialize the status bar earlier.
We try to set its text sometimes before creating it, which can cause a
random hang.  It could also maybe be causing the window titles to be
blanked out.
2014-02-17 20:52:38 -08:00
Dante38490
d996b3aa06 -Update VS 2013
While the project is already in 2013, except the SLN file.
2014-02-17 15:45:29 +01:00
The Dax
62075a1e9b Use a safer method of calling the DPI stuff. 2014-02-17 04:02:56 -05:00
The Dax
1b23c51a9f Win32: Make PPSSPP DPI aware to avoid flickering in fullscreen on some PC hardware setups. 2014-02-17 03:39:24 -05:00
chinhodado
1ed1f719bc remove unnecessary nonnegative check for unsigned variable 2014-02-16 12:25:42 -05:00
Unknown W. Brackets
2459f4e351 Avoid a char * for a constant string. 2014-02-15 01:56:27 -08:00
Henrik Rydgård
0dd9e2dbaf Merge pull request #5452 from unknownbrackets/win-fixes
Clean up some Windows leaks, optimize symbol map a bit
2014-02-15 09:31:37 +01:00
Unknown W. Brackets
d0d4e665d1 Clean up double creation of memory debugger. 2014-02-14 21:17:36 -08:00
Unknown W. Brackets
8f09a341df Fix a few leaks in the Windows UI code. 2014-02-14 21:08:24 -08:00
Henrik Rydgård
3a08693946 Merge pull request #5440 from thedax/097VersionBump
Bump version numbers for 0.9.7 release.
2014-02-14 15:58:29 +01:00
The Dax
f6e6b54f2a Bump version numbers for 0.9.7 release. 2014-02-13 16:55:17 -05:00
The Dax
965a3333b4 Don't crash by reading a nullptr when changing the rendering resolution. 2014-02-13 16:30:08 -05:00
Henrik Rydgard
3b2d61af09 Win32: Don't flicker when moving around the window. Fixes #5429 2014-02-13 17:56:26 +01:00
Henrik Rydgård
ddaf60976c Only apply the FMA3 workaround in x64.
http://connect.microsoft.com/VisualStudio/feedback/details/809664/the-crt-function-powf-will-crash-in-win8-1-pe
2014-02-13 16:02:10 +01:00
Henrik Rydgård
5850514245 Work around VS2013 CRT bug that affects Vista and Win7 RTM. 2014-02-13 15:57:36 +01:00
Henrik Rydgård
c158d0ad10 Merge pull request #5427 from Kingcom/ListCheckboxes
Use checkboxes in breakpoint list
2014-02-13 11:57:04 +01:00
Kingcom
2b7a601c17 Add checkboxes to GenericListControl, use them in CtrlBreakpointList 2014-02-13 10:24:42 +01:00
Henrik Rydgard
e0c81ab662 Fix remaining problems in #5396 and #5401 2014-02-12 11:35:38 +01:00
Henrik Rydgard
fb3febb22b Fix in-game rendering resolution changes on Windows. Fixes #5401 2014-02-12 10:43:10 +01:00
Unknown W. Brackets
d279dcd454 Fix renaming a function from disassembly. 2014-02-11 07:45:13 -08:00
Henrik Rydgard
49de482e6a Fix blank screen on fullscreen bug (#5396) 2014-02-10 18:34:57 +01:00
Henrik Rydgard
8a2b50af64 Fix bug causing the screen to go blank when resizing the window using scale factors on Windows. 2014-02-10 16:22:16 +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
Henrik Rydgard
333580e3b2 Warning fixes 2014-02-10 09:56:52 +01:00
Unknown W. Brackets
80704d013e Fix #5390, crash on Exit on Windows. 2014-02-09 17:35:43 -08:00
Unknown W. Brackets
7380c5b664 Stop showing z = 1.0 for non through in debugger.
Oops.
2014-02-09 00:33:15 -08:00
Unknown W. Brackets
442b3171dc Typo. 2014-02-09 00:20:09 -08:00
Unknown W. Brackets
fc6bbbff76 Add select all to all generic list controls. 2014-02-09 00:08:37 -08:00
Unknown W. Brackets
7deeb813a7 Make all list controls copy by default.
Yay.  Much better than screenshots.
2014-02-09 00:00:20 -08:00
Unknown W. Brackets
9e8e9ec62f Add a tab to show matrices as well. 2014-02-08 23:27:05 -08:00
Unknown W. Brackets
e7eca477b0 Add a tab to show vertex values to the GE debugger.
Should be pretty useful, especially for depth issues.
2014-02-08 22:03:29 -08:00
Unknown W. Brackets
cd4cd77938 Clean up defines in MSVC project files.
This way they're all basically the same.  A lot of cases where
debug/release/etc. where inconsistent...

Also, define USING_WIN_UI.
2014-02-08 16:38:44 -08:00
Unknown W. Brackets
2c204e8028 Update project to MSVC 2013 tools.
Retaining XP support, using SDK 7.1a (v120_xp.)  Disables SSE2 flag on x64
since it's implied and causes compile warnings.
2014-02-08 13:41:28 -08:00
The Dax
7efaadaf3c Win32: Add a command-line option to let the escape button exit the emulator. 2014-02-07 16:46:40 -05:00
Henrik Rydgård
d055954a83 Merge pull request #5241 from DanyalZia/patch-50
Properly show OSD information of resolution
2014-01-27 01:01:13 -08:00
DanyalZia
afc36d557e Properly show OSD information of resolution 2014-01-27 11:46:09 +05:00
Henrik Rydgård
b74119c416 Merge pull request #5233 from Kingcom/Debugger
Module list in Windows debugger
2014-01-26 16:05:51 -08:00
sum2012
abbbdb41b8 Change error string 2014-01-27 07:47:31 +08:00
sum2012
93cd5ecec3 Show warning instead of crash in windows non 32 bit colour 2014-01-27 07:36:39 +08:00
Kingcom
880be6d41d Module list in Windows debugger 2014-01-27 00:35:16 +01:00
Henrik Rydgård
efd44a6933 Merge branch 'debugger2' of https://github.com/unknownbrackets/ppsspp into unknownbrackets-debugger2
Conflicts:
	Core/Debugger/Breakpoints.cpp
2014-01-26 23:10:37 +01:00
Henrik Rydgård
241c78fb4c Merge pull request #5221 from unknownbrackets/debugger
Add module info to the symbol maps
2014-01-26 14:07:29 -08:00
Henrik Rydgård
289729f43c Merge pull request #5216 from DanyalZia/frameskip
Separates out auto-skip from frameskiping
2014-01-26 14:06:45 -08:00
Unknown W. Brackets
fe2b62c27d Make the "on change" checkbox for memchecks work.
But, for now, only on sw and similar instructions, the rest don't work
yet and just always break.
2014-01-26 11:57:39 -08:00
DanyalZia
61a15c1465 Fix a bug where changing resolution wouldn't make a difference on a fly 2014-01-26 19:02:21 +05:00
Unknown W. Brackets
76afb2a8d5 Avoid returning points from the symbol map.
Now that it uses a lookup, this is even more dangerous.  But, the maps
could be reordered while it's trying to print the pointer and cause that
data to become invalid.

This should be safe from race conditions.
2014-01-25 21:40:23 -08:00
Unknown W. Brackets
b1af4f4911 Write symbol maps as ".ppmap" instead.
This has some benefits:
 * They are smaller, but zgrep/zcat etc. still work.
 * Since the format is slightly different, bisecting won't overwrite.
 * It avoids conflicts with .map file associations.
2014-01-25 21:12:16 -08:00
DanyalZia
83eb96bab8 Separates out auto-skip and frameskip 2014-01-26 01:21:03 +05:00
DanyalZia
251b0e86ee Separates out auto-skip from frameskipping 2014-01-26 00:50:00 +05:00
Unknown W. Brackets
2bf061d05b Trigger a touch event before sending a right click.
This way we can know what they actually right clicked on.
2014-01-25 11:19:41 -08:00
Henrik Rydgård
b360f5a1e5 Merge pull request #5148 from Bigpet/WinTouchSupport
Add Windows touch support
2014-01-24 10:31:40 -08:00
Peter Tissen
e1d115284e remove more test code 2014-01-23 20:50:33 +01:00
Peter Tissen
d8b4d653f1 revert test code 2014-01-23 20:30:35 +01:00
Peter Tissen
4a4488eb98 Enable touch support by default
Check for touch support and enable it automatically if available.
It's probably possible to hack around Vista with the HID stuff but
I don't think Vista that want multitouch is a large enough group
to invest the time.
2014-01-23 20:16:38 +01:00
The Dax
b58746816a Make the bool a class member instead. 2014-01-22 18:36:40 -05:00
The Dax
97a5382b50 Win32: Use a hacky workaround to prevent a rare hang when starting up. 2014-01-22 17:38:34 -05:00
Peter Tissen
b991d49049 Add Windows touch support
This is disabled by default

break out WindowsTouchHandler into a seperate Class ,  that file is way too big anyway
2014-01-22 21:25:49 +01:00
Unknown W. Brackets
cddd537f36 Minor tweak, no need for this check anymore. 2014-01-22 01:24:41 -08:00
Unknown W. Brackets
3a186a9d7f Show CLUT shift value in GE debugger. 2014-01-22 00:32:31 -08:00
Unknown W. Brackets
83eb5f05bc windows: Ignore key/mouse input while menu focused.
This prevents arrow and shortcut keys from being considered inputs to the
game or UI.
2014-01-20 00:57:20 -08:00
Unknown W. Brackets
0e286d6603 windows: Re-enable scaling on gl_extensions change.
This fixes the fact that it's not filled in the first time UpdateMenus()
is called, since it's called again whenever you open the menu anyway.
2014-01-20 00:42:04 -08:00
Henrik Rydgård
70f8b14156 Merge pull request #5155 from unknownbrackets/texscaling
Disable scaling to odd multiples when unsupported.
2014-01-19 23:57:20 -08:00
Unknown W. Brackets
eeaeb91610 Disable scaling to odd multiples when unsupported.
May help #4000.
2014-01-19 21:14:21 -08:00
Unknown W. Brackets
360068075b windows: Show the open dialog on a separate thread.
Allows the screen to continue rendering, which should prevent black
screens, etc. while browsing.

May help #2755.
2014-01-19 20:15:08 -08:00
Unknown W. Brackets
0fa371ccbf windows: Check PSP_IsInited() in more places.
This prevents showing buttons as clickable, etc. in the debugger mainly.
2014-01-19 14:25:12 -08:00
Unknown W. Brackets
16cdbbf0d2 windows: Skip gamepad HIDs, don't work everywhere. 2014-01-19 14:24:49 -08:00
Unknown W. Brackets
8540d819a9 windows: Stub out HID rawinput. 2014-01-19 12:40:49 -08:00
Unknown W. Brackets
0421207d8b windows: Clean up rawinput code a bit. 2014-01-19 12:16:52 -08:00
Unknown W. Brackets
8af9f62f6b windows: Move rawinput stuff into its own file. 2014-01-19 11:59:11 -08:00
Henrik Rydgård
c7dbb69722 Merge pull request #5084 from Kingcom/Debugger
Jump to function on pressing return in the function list
2014-01-11 16:18:39 -08:00
Kingcom
b6404728ec Jump to function on pressing return in the function list 2014-01-12 01:12:35 +01:00
shenweip
b5d1ebf71d Win32: Fix wrong menu position. 2014-01-09 21:15:46 +08:00
The Dax
c07702e7ef Win32 buildfix. 2014-01-08 19:11:32 -05:00
The Dax
c8535ced2a Remove keyboard hook and make the ignore Windows key option work. 2014-01-08 19:08:32 -05:00
Henrik Rydgård
51484e48a9 Merge pull request #5043 from thedax/win32IgnoreWindowsKeyOption
Win32: Add an option to disable the Windows key when the emulator is the active window.
2014-01-08 10:46:47 -08:00
The Dax
f6606e2e2b Win32: Add the option to the Game Settings menu, too, and add a separator in NewUI. 2014-01-07 16:08:11 -05:00
The Dax
9dc2a67076 Let's be consistent with our spacing and if's. 2014-01-07 16:02:00 -05:00
The Dax
8f86f5898a Add a comment for the keyboard hook. 2014-01-07 16:02:00 -05:00
The Dax
9d2868b7ce Win32: Add option to disable the Windows key. 2014-01-07 16:02:00 -05: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
vnctdj
522f9176a4 Make "Extract File..." menu item translatable 2014-01-04 12:33:02 +01:00
The Dax
910d8c2e13 Use a std::set instead. 2014-01-03 13:13:24 -05:00
The Dax
55d716fb19 Rename keyHeld to keyDown, too. 2014-01-03 13:13:24 -05:00
The Dax
a5873ab7a4 Change bool name for better readability. 2014-01-03 13:13:23 -05:00
The Dax
f90aebcebf Release held keys on the keyboard when window focus is lost. 2014-01-03 13:13:23 -05:00
Henrik Rydgard
9bde25dfa9 Moving the lang mapping to Config clears up some obcure file-to-file build dependency.
Should fix the build.
2014-01-03 19:04:43 +01:00
The Dax
52aa7ee9cf Only set the dialog text if the virtual PSP is inited, as well. 2014-01-02 16:49:26 -05:00
The Dax
db4abcd0c5 Don't crash when the virtual PSP isn't inited. 2014-01-02 14:55:09 -05:00
Unknown W. Brackets
2618f2ed39 Add a simple extract file command.
Mostly useful for quickly/easily extracting pmf/atrac/etc. files.
2014-01-01 16:47:15 -08:00
Unknown W. Brackets
db77dcd149 Fix some includes on Windows/etc. 2013-12-29 15:59:36 -08:00
Unknown W. Brackets
ed759d32ff Correctly identify a blockwise memcpy.
Oops, I didn't realize this one went in blocks of 16.
2013-12-27 21:39:05 -08:00
Henrik Rydgard
455a73bba7 Bugfix replace function inlining (compilerPC needs to be increased). Misc. 2013-12-20 15:37:37 +01:00
Unknown W. Brackets
438361d0bc Clean up code pointer naming for the jit.
Now it properly identifies thunk code which is actually a decent percent
when fastmem is off at least.
2013-12-18 23:57:39 -08:00
Henrik Rydgard
2eab4aa1bf Play around with function replacement. Turned off by default of course. 2013-12-17 23:40:27 +01:00
Henrik Rydgard
2140892074 Initial preparations for ability to replace game functions with custom implementations.
Also auto-saves hashmap additions and reapplies the hashmap on function
rename so that if you rename a function that exists in several copies
they will all be labelled.

Note that actual function replacement is not activated yet.
2013-12-17 12:27:20 +01:00
Unknown W. Brackets
3f674f7ef6 Always update framebuffer tex sampling params.
Otherwise they are not always correct and cause glitches.
2013-12-15 18:23:47 -08:00
The Dax
de4a3aed14 Bump version numbers for 0.9.6 release. 2013-12-11 15:54:15 -05:00