Commit Graph

1327 Commits

Author SHA1 Message Date
The Dax
9672701743 Win32 buildfix and warning fix.
I don't know how many pads are supposed to be supported, but I went with a reasonable number until the proper amount is committed.
2014-06-01 18:25:35 -04:00
Peter Tissen
5e34dbf3fc limit Dinput devices to the max supported in input_state and update the native submodule to get the MAX_NUM_PADS constant 2014-06-01 12:37:32 +02:00
Peter Tissen
46eb74e98a undo visual studio auto-indenting 2014-06-01 12:37:31 +02:00
Peter Tissen
7d25a1591c fix formatting 2014-06-01 12:37:30 +02:00
Peter Tissen
1024eb7b63 initial commit for multiple DInput devices.
allow multiple dinput devices but still block all dinput devices if an xinput device is present.
This still has some issues with devices not being able to be dynamically added or removed but
even many commercial games react to hot-plug DInput events. Also, the axis handling is not really
ideal yet but it works for now.
2014-06-01 12:37:30 +02:00
Unknown W. Brackets
9f01c02626 Don't try to read breakpoint info after exit.
Fixes a crash on exit when on a breakpoint.
2014-05-31 10:03:01 -07:00
debugzxcv
295961c37e Windows: Fix Delete keymap 2014-05-26 03:10:22 +08:00
Henrik Rydgard
3023f7d06b Android: Switch dpad default to use HAT X/Y +/- instead of "dpad", as documented.
Add a simple "autoconfigure" facility for input devices, that lets the user choose
if several are connected.

Can be expanded in the future to provide custom default mapppings for various devices as long as we manage to identify them.

Ideally, key mappings should be unique per device but they aren't yet.
2014-05-19 23:31:11 +02:00
Unknown W. Brackets
fc7b5f3141 Make sure not to break when GE debugger closed.
Also, try to fix a might-be race condition.
2014-05-15 22:45:51 -07:00
Henrik Rydgard
281ff6ce2a Windows: Get rid of that silly inner "display" window. Should be zero functional change. 2014-05-11 18:04:07 +02:00
The Dax
f08f237bfa MSBuild scripts: Enable parallel build and in effect, fix x64.
For some reason it was complaining about the platform being invalid with the /m switch at the end.
2014-05-08 17:26:22 -04:00
The Dax
26054fd801 Add bin-release to the gitignore file. Fixes an issue with TortoiseGit on Windows relating to that directory.
More specifically: It doesn't like bin-release\lang\.git, but it doesn't need to concern itself with bin-release\* at all.
2014-05-01 14:41:03 -04:00
The Dax
987b97125a Win32: Add some MSBuild scripts. 2014-04-29 13:43:20 -04:00
The Dax
6bedad2aa5 Enable --escape-exit for all relevant platforms. It makes PPSSPP more front-end friendly by letting escape quit the emu. 2014-04-26 01:00:45 -04:00
Henrik Rydgård
d67f91d899 Merge pull request #5841 from unknownbrackets/ge-signals
Improve sync and pause GE signal handling
2014-04-12 23:40:27 +02:00
Unknown W. Brackets
7fd7337911 Update GE lists when switching.
This uses a mutex, so it should be safe to do any time.  Really helps
debugging hung lists.
2014-04-11 23:50:20 -07:00
The Dax
b82e85f9fc Win32: Properly shutdown when using File->Exit, or when g_Config.bEscapeExitsEmulator is true. 2014-04-11 14:18:27 -04:00
sum2012
75c31ebe4d Small fix for DebugLog.bat 2014-04-01 22:16:44 +08:00
Henrik Rydgard
47145745dc Fix GL context creation on Windows. Was creating 3.1 contexts on new nVidia drivers. 2014-04-01 11:03:36 +02:00
The Dax
abbceb095b Update the DebugLog batch file so it works with the new command-line option. 2014-03-31 22:49:21 -04:00
The Dax
3259b61cf2 Win32: Implement "-d" command-line switch. It didn't do anything, previously.
Also added a helper func to set all log levels at once. Should be handy if we clean up the logging channels screen.
2014-03-31 22:44:05 -04:00
Kingcom
6256f64507 Display label name in status bar 2014-03-31 17:00:48 +02:00
The Dax
c5036511b0 Include the renderer string too, for possibly extra helpful info. 2014-03-26 16:27:54 -04:00
The Dax
842fb2f94d Win32: when an invalid OpenGL driver is detected, don't offer a choice of quitting or not, just quit. 2014-03-26 16:27:54 -04:00
raven02
6f9259169c Menu : Disable Vertex Cache when HW T&L is disabled 2014-03-26 08:01:37 +08:00
The Dax
bda7db293d Win32/NVidia: switch to fullscreen after showing the window. Fixes a weird issue with vsync being ignored otherwise. 2014-03-24 20:13:35 -04:00
Unknown W. Brackets
b641ced7e0 Poll controllers on a separate thread on Windows.
This means controllers will sample more than the game fps, and will work
whenever keyboards do.
2014-03-23 23:46:10 -07:00
Henrik Rydgard
cbc46be3f9 Update version to 0.9.8 2014-03-22 11:58:53 +01:00
Unknown W. Brackets
1ce6bf399a Buildfix for 32-bit x86, arg. 2014-03-17 21:52:45 -07:00
Unknown W. Brackets
a843cbd580 Shrink the very common sceKernelThread.h include. 2014-03-15 11:44:02 -07:00
The Dax
04837f7ba6 Remove redundant ifdef; we're already on Win32, so there's no need for them here. 2014-03-03 11:30:58 -05:00
The Dax
520eb5b012 Win32: On Optimus systems, use the NVidia GPU, not the IGP. 2014-03-03 11:26:27 -05:00
Unknown W. Brackets
f70f70925d Highlight arguments from the selected range.
For example, if "lui v0,0x8000" is selected, highlight "v0" or "0x8000"
used as arguments on other lines.  Makes it a bit easier to follow.
2014-03-02 22:49:22 -08:00
Unknown W. Brackets
a3ad15b295 Allow screenshot out of game. 2014-03-01 13:55:17 -08:00
Unknown W. Brackets
a0f3b2b40e Disable a few debug menu items outside of a game.
They won't work anyway.
2014-03-01 11:25:40 -08:00
Peter Tissen
60036c42e3 actually handle pen/touch disambiguation, now let's hope no driver misreports this 2014-02-24 13:28:20 +01:00
Peter Tissen
bc54fab98a Try to fix Stylus input, this needs testing to see if it interferes with Touch 2014-02-24 12:11:40 +01:00
Henrik Rydgård
b7651b61c7 Merge pull request #5546 from chinhodado/fixes
some minor fixes and changes
2014-02-23 19:12:42 +07:00
chinhodado
9ba79f31a2 minor change in file filter 2014-02-22 22:35:15 -05:00
chinhodado
6491557c17 fix a wrong parameter 2014-02-22 21:29:03 -05:00
Unknown W. Brackets
f6abfb9444 Fix hang if you use disasm goto outside game. 2014-02-20 01:02:39 -08:00
Unknown W. Brackets
f62eb4848d Add a few more safety checks for SendMessage().
Broadcasting is bad.
2014-02-17 21:08:34 -08:00
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
The Dax
4a2b984e5f Fix minor styling issue. 2013-12-10 19:31:29 -05:00
The Dax
f3e76d6d79 Win32 UI: Enable sound properly when Enable Sound is chosen. 2013-12-10 19:24:50 -05:00
Henrik Rydgard
d4eee74b54 SoftGPU: Prepare for mipmapping. Getting the uv deltas seems tricky though... 2013-12-10 15:33:59 +01:00
sum2012
917598e03d Improve windows log
Log name now ppsspplog.txt
Enable debug loggng
2013-12-10 07:18:55 +08:00
pal1000
4a00383f4b Fix typo 2013-12-09 17:01:00 +02:00
pal1000
7ff511ed63 Add .ZIP files to load ROM. Also made some organizing in the Load ROM dialog 2013-12-09 16:47:37 +02:00
Henrik Rydgard
6e47401baf Fix headless build 2013-12-08 11:47:41 +01:00
Sacha
a0c5af288c Add InputBox as a platform-specific system function instead of a host function. Enable it on all Qt platforms. Add Set Nickname to mobile Qt. 2013-12-08 20:16:34 +10:00