The Dax
7a1be69ec0
Win32: Change --gfx to --graphics (and its suboptions) to be consistent with Headless.
...
Also, software force-activates OpenGL mode, since it does not work with Direct3D currently.
Thanks to @unknownbrackets for the suggestions.
2014-09-13 01:49:05 -04:00
Henrik Rydgard
010cf68545
If OpenGL is not supported properly on Windows, switch to D3D automatically.
...
Needs some lang work and probably better wording.
2014-09-13 02:46:27 +02:00
Henrik Rydgård
405f67fbef
Merge pull request #6870 from hrydgard/vtxdec-centralize
...
Centralize the vertex decoder
2014-09-13 01:03:22 +02:00
The Dax
1caaa59adf
Small styling fixes.
2014-09-12 16:58:05 -04:00
The Dax
5fa929bbba
Win32: Add a command-line argument to pick the GPU backend.
2014-09-12 16:16:37 -04:00
Henrik Rydgard
37e3cf362f
Move vertexdecoder files into GPU/Common
2014-09-12 02:00:32 +02:00
Henrik Rydgard
7cf05e44a2
Add option to vertexdecoder to expand UVs to floats
2014-09-12 02:00:31 +02:00
Henrik Rydgård
cf9a6143ff
Merge pull request #6869 from unknownbrackets/d3d9
...
d3d: Centralize more framebuffer management
2014-09-10 09:09:37 +02:00
Henrik Rydgard
94ad48c32b
Disable D3D9Ex until we can tune for it.
2014-09-10 09:08:08 +02:00
Unknown W. Brackets
22db52dbeb
d3d: Don't statically import Direct3DCreate9Ex().
2014-09-09 23:51:24 -07:00
Henrik Rydgard
422ae62b63
D3D9: Add support for D3D9Ex, which has faster flipping and an option for lower latency, and some other stuff.
...
MANAGED textures are not allowed though so compensate for that by making them dynamic for now.
2014-09-09 22:28:35 +02:00
Unknown W. Brackets
32cc6bc845
Disable the PC/LR buttons outside a game.
...
They don't want and can cause hangs if clicked after a game is stopped.
2014-09-07 20:44:55 -07:00
Unknown W. Brackets
5d313d1af4
Fix crash in GE debugger when game quit.
...
Fixes #6856 .
2014-09-07 20:38:51 -07:00
Unknown W. Brackets
9f3deddef6
d3d: Release on shutdown in headless.
...
Could sync it up, just want to be able to run tests without major leaks.
2014-09-07 13:34:14 -07:00
Unknown W. Brackets
858df90dff
d3d: Release shaders and fbos on shutdown.
2014-09-07 13:15:39 -07:00
Henrik Rydgard
995da23425
XInput: Try a different mapping of circular stick values to square psp stick values. May help #6772 ?
2014-09-05 23:31:25 +02:00
The Dax
612cc37878
Fix a couple small style issues.
...
Trying to be consistent with the coding style..
2014-08-31 04:16:22 -04:00
The Dax
906396c602
GetWideCmdLine doesn't need to be exposed in the header anymore.
...
Also fix a warning.
2014-08-31 03:07:52 -04:00
The Dax
3590352429
Win32: Use wide strings to parse most command-line arguments.
...
Also do a tiny bit of cleanup in main.cpp (replacing strcmps with simple string equality checks).
2014-08-31 02:47:25 -04:00
Unknown W. Brackets
4a615dc46c
Support BGRA formats in the debugger previews.
2014-08-24 22:08:28 -07:00
Unknown W. Brackets
42aa494aeb
d3d: Get some initial GE previews working.
...
Wrong colors.
2014-08-24 21:52:47 -07:00
Henrik Rydgard
1d7642fa48
Remove most mentions of the "_XBOX" define
2014-08-24 14:21:35 +02:00
Unknown W. Brackets
afe2a17ef5
Compile projects using GLEW_STATIC.
...
To avoid compilation warnings about dllimport.
2014-08-23 21:53:33 -07:00
Henrik Rydgard
4231af2c0f
Disable OpenGL debug log output
2014-08-23 10:47:32 +02:00
Henrik Rydgard
7f4758baae
Provide more info to thin3d d3d init
2014-08-23 10:20:57 +02:00
Henrik Rydgard
1556234825
Bit more d3d stuff. Can't get depth right, pretty sure it's the projection matrix calc.
2014-08-23 01:52:46 +02:00
Henrik Rydgard
e2ecbb7a4d
Convert more UI code to Thin3D
2014-08-22 20:55:18 +02:00
Henrik Rydgard
e539c7009f
Hook up DX9 backend. Not really working though, it seems.
2014-08-22 20:55:12 +02:00
Henrik Rydgard
92c3775d95
Start hooking up D3D
2014-08-22 20:55:04 +02:00
Henrik Rydgard
808f05da89
(Partially) slip thin3d underneath DrawBuffer.
2014-08-22 20:54:53 +02:00
Henrik Rydgård
d234ab03c6
Merge pull request #6696 from LunaMoo/master
...
Add Buffer Scalling Filter option
2014-08-19 07:55:45 +02:00
Henrik Rydgard
bf709790c4
Update version to 0.9.9.1
2014-08-18 22:35:25 +02:00
Unknown W. Brackets
0ae9f06376
Skip emuhacks when showing encodings in debugger.
...
This can cause confusion when it doesn't match the displayed disasm.
2014-08-18 07:49:34 -07:00
sum2012
c2f4247809
One more
2014-08-17 21:20:34 +08:00
sum2012
a09555daaa
Remove chinese forum
2014-08-17 21:15:51 +08:00
Luna
62a1023615
Add "Screen Scaling Filter" option
2014-08-08 20:51:15 +02:00
Henrik Rydgård
b2ade10bfb
Merge pull request #6651 from thedax/win32-fullscreen
...
Win32: Fix a minor fullscreen bug.
2014-08-05 09:39:07 +02:00
Henrik Rydgard
841c709710
Make GPU driver version check lazy, add error checks. May take care of #6669
2014-08-02 12:49:09 +02:00
The Dax
895d7927ff
Tiny style typo fix.
2014-07-31 04:00:48 -04:00
The Dax
85bb1188c0
Win32: Query WMI for the GPU driver version, and display it in the System Information screen.
2014-07-31 01:24:41 -04:00
The Dax
8c27b5f456
Win32: Fix a minor fullscreen bug.
...
If the window is maximized before going fullscreen, the taskbar appears on top, which is not desirable.
Also, apply the maximized state properly again after exiting, if the user had the window maximized.
2014-07-29 18:28:47 -04:00
Henrik Rydgard
b421e29391
Merge branch 'version-bump' of github.com:thedax/ppsspp into thedax-version-bump
2014-07-22 16:14:59 +02:00
Henrik Rydgard
4dfe7b86fb
Add ability to set the clipboard. Update native with corresponding textedit change.
...
Fixes #6601 .
2014-07-21 17:37:17 +02:00
sum2012
ad3c8ebaa0
Avoid crash of paste null string to UI's text
2014-07-21 20:54:17 +08:00
Henrik Rydgard
590724ea5c
Add read-clipboard support (for TextEdit)
2014-07-21 11:59:47 +02:00
The Dax
9af40da53e
Make the ini tweak available for everybody.
2014-07-21 10:30:52 +02:00
The Dax
8a78f5e814
Pause rendering when minimized, when appropriate (hopefully? This is sort of hard to test.).
2014-07-21 10:30:51 +02:00
The Dax
1fbd94d589
Win32: Make pausing when minimizing optional in the ini.
2014-07-21 10:30:51 +02:00
Henrik Rydgard
49fb0bd65b
Set WS_POPUP for fullscreen windows, rumoured to help certain gl drivers do the right thing.
...
Remove an outdated comment.
2014-07-20 17:28:25 +02:00
Henrik Rydgard
39cde7fc48
Hide "immersive mode" on pre-kitkat Android.
2014-07-20 12:11:50 +02:00
Unknown W. Brackets
55403e42c2
Introduce a memory shutdown lock.
...
This allows the debugger to access memory in a safe way that should never
crash.
2014-07-19 23:30:19 -07:00
The Dax
0f593c7a0f
Remove unused parameter.
2014-07-17 00:06:52 -04:00
The Dax
61944e2c90
Typo fix.
...
Should probably be using goingFullscreen too, just for consistency.
2014-07-17 00:03:41 -04:00
The Dax
023eb30b3e
Win32: Fix a bug in fullscreen. Consolidate the fullscreen code into one function. 99% of the code is the same anyway.
2014-07-16 23:58:22 -04:00
vnctdj
cf00fd1ac8
Switch to fullscreen on the monitor PPSSPP is.
...
When using more than one monitor, PPSSPP was always switching to full screen on the main monitor.
Now it will switch to full screen on the monitor he currently is.
Many thanks to @unknownbrackets for explaining me how to do this !
2014-07-14 12:59:02 +02:00
The Dax
db34490b9c
Kill off some usages of sprintf.
2014-07-10 03:24:53 -04:00
Henrik Rydgård
69a89feaba
Merge pull request #6466 from Kingcom/Symbols
...
Add options to import/export .sym files from the menu
2014-06-30 00:03:25 +02:00
Kingcom
dc80123b93
Add options to import/export .sym files from the menu
2014-06-30 00:02:22 +02:00
Henrik Rydgard
01cb22f16a
Windows: Add WM_CHAR input support (not used for anything yet).
...
Some unicode cleanup.
2014-06-29 23:30:40 +02:00
The Dax
be223d4c9c
Win32: Go fullscreen before showing the window to avoid an ugly artifact.
2014-06-29 16:24:54 -04:00
Henrik Rydgard
f127bb715b
Revert "Windows: Get rid of that silly inner "display" window. Should be zero functional change."
...
Should help #6295 .
This reverts commit 281ff6ce2a
.
Conflicts:
Windows/WindowsHost.cpp
Windows/WndMainWindow.cpp
2014-06-29 22:13:53 +02:00
Henrik Rydgard
56cee3c00e
Prevent rendering and multiple WM_SIZE events when switching between windowed and fullscreen
...
May help #6295 but also it may not, I can't test it as I don't have that GPU.
Also gets rid of some outdated code.
2014-06-29 21:08:20 +02:00
Henrik Rydgard
3cdf53732b
Make the emuthread idle when minimized on Windows.
2014-06-29 13:11:58 +02:00
Henrik Rydgard
38609f3e6b
Cleam up thread names a bit, name the Main thread.
...
Also makes some logging VERBOSE.
2014-06-29 12:53:03 +02:00
Henrik Rydgard
412acc7b5f
Clamp zoom to 1, thanks to unknown for pointing out this oversight.
...
May help #4319 .
2014-06-24 22:33:58 +02:00
Henrik Rydgard
3005d75c6f
Don't override WM_PAINT like that, weird effect ensued (popup menus broke)
2014-06-23 20:27:50 +02:00
Henrik Rydgard
c125205c00
Win32: Set the minimum size of the PPSSPP window to exactly 1x.
...
Makes it convenient to set 1x, and smaller sizes don't really make
much sense anyway. Also, it prevents the rendering area from ever
becoming 0, which might be an issue with buggy drivers.
2014-06-23 20:24:37 +02:00
Henrik Rydgard
3689cdedc4
Minor tweaks for smoother window resize on Windows. May help #6295 ?
2014-06-23 20:05:13 +02:00
The Dax
b767de934a
Bump version to 0.9.9.
2014-06-23 12:08:56 -04:00
Henrik Rydgard
dc3806b700
Win32: Keep DSound running even when in the menu.
...
This will make it possible to play the game-selection audio later.
2014-06-22 14:17:57 +02:00
Henrik Rydgard
6ec74ef99e
Be consistent about how we read and update the UI state variable
2014-06-22 09:57:01 +02:00
Unknown W. Brackets
9efbc2694b
Add an invalidate all method to the jit.
2014-06-19 01:13:06 -07:00
Unknown W. Brackets
3793bd5a02
Avoid xinput pad jitter resetting axis state.
...
Should take care of #5526 .
2014-06-16 01:37:20 -07:00
Unknown W. Brackets
95e4e04f8d
Fix a crash in the GE debugger on matrix tab.
2014-06-16 00:36:16 -07:00
Unknown W. Brackets
f6649794df
Respect max texture level in GE debugger preview.
2014-06-15 10:31:16 -07:00
Unknown W. Brackets
913914a4c1
Fix some type conversion warnings.
2014-06-15 10:01:54 -07:00
Unknown W. Brackets
d7e5b7956e
Add buttons to select texture level in ge debugger.
2014-06-15 10:01:32 -07:00
Unknown W. Brackets
eaf3288304
Add debug interface for non-L0 texture preview.
2014-06-15 09:30:37 -07:00
Unknown W. Brackets
030b562eb9
Support render-to-offset within a framebuffer.
...
Fixes #6324 .
2014-06-14 17:08:41 -07:00
pal1000
a3c7c90517
Control mapper now overrides default shortcuts for saved states related commands
2014-06-06 11:52:36 +03:00
pal1000
c9983fb3da
Add some defines to separate hardcoded shortcuts from the mapped ones
2014-06-06 11:52:35 +03:00
pal1000
ca21c1d076
Fix a typo
2014-06-06 11:52:34 +03:00
pal1000
a41737ebe7
Save state, load state and next save slot shortcuts are no longer hardcoded.
2014-06-06 11:52:33 +03:00
Henrik Rydgård
91cb320e6f
Merge pull request #6212 from thedax/win32-buildfix
...
Win32: fix three warnings.
2014-06-02 23:42:58 +02:00
The Dax
70e1abac08
Win32: Use CALLBACK (__stdcall) for DinputDevice::DevicesCallback. Fixes 32-bit compilation.
2014-06-02 08:28:35 -04:00
The Dax
1059f99d69
One more warning fix.
2014-06-01 18:53:35 -04:00
The Dax
58411136ee
Remove the const int, and fix another warning.
2014-06-01 18:32:14 -04:00
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