Commit Graph
2166 Commits
Author SHA1 Message Date
Henrik Rydgård 13e7dae72d Merge pull request #9707 from unknownbrackets/softgpu-d3d9
SoftGPU: Fix rendering when using Direct3D 9
2017-05-21 12:32:44 +02:00
Unknown W. Brackets 259af56ee6 SoftGPU: Fix rendering when using Direct3D 9.
Since we restore dxstate when setting a framebuffer or backbuffer, we need
something that populates it.
2017-05-20 21:29:09 -07:00
Unknown W. Brackets 984060a85f Merge pull request #9677 from hrydgard/joystick-sensitivity
Quick hack to enable analog stick sensitivity on non-windows platforms.
2017-05-20 13:41:27 -04:00
Henrik Rydgård 4491c7e2ca Quick hack to enable analog stick sensitivity on non-windows platforms.
See #8028
2017-05-18 15:15:10 +02:00
Henrik Rydgård 6d58a8d8f6 Move up Software Rendering to Rendering where it belongs. Makes it easier to turn it off if enabled by accident. Also warn if used and it runs slow. 2017-05-18 14:56:10 +02:00
Henrik Rydgård d0613511b2 Many reported ANRs were from homebrew installs. Make sure installs run on the background thread. 2017-05-18 14:21:13 +02:00
Henrik Rydgård 049d06cdc4 More paranoia 2017-05-18 13:29:00 +02:00
Henrik Rydgård df6ce90c84 When what we need is a shared_ptr, we should just go ahead and use one.
One of the top crashes reported in the Play Console is a ManagedTexture crash, so seeing if this might help.
2017-05-18 13:28:56 +02:00
Henrik Rydgård 60378a0dcb Minor GameInfo memory handling improvements. Still not great. 2017-05-18 12:41:42 +02:00
Unknown W. Brackets 6e4898d24f UI: Enable some settings for software rendering.
These now affect softgpu, so let's not disable them.
2017-05-08 21:03:10 -07:00
Unknown W. Brackets 793178c106 Windows: Initialize WindowsHost in EmuThread.
This seems like a more appropriate place, and a more appropriate thread,
for it to be initialized on.
2017-05-05 06:53:48 -07:00
Henrik Rydgard d3ff35b2c0 Fix to partial restarts (when switching backends), plus misc. Helps #9666 2017-05-05 12:31:06 +02:00
Henrik Rydgard 7d89e5d84c Experiment (#9647): Prevent NaN values from getting into the UI system through TouchInput 2017-05-04 00:30:04 +02:00
Henrik Rydgard 9a1cd5a5e8 Add some paranoid checks around touch IDs that probably won't help #9647
Also adds LunaMoo to credits list.
2017-04-30 08:57:44 +02:00
Unknown W. Brackets 3b4103cb3b System: Use a separate API for bool props.
This simplifies defaulting, instead of -1 being "true".
2017-04-29 17:35:12 -07:00
Unknown W. Brackets ee68f09be5 Merge pull request #9653 from xiushudongfang/UI_background_android
UI: Allow choosing bgs (android)
2017-04-29 20:23:58 -04:00
Henrik Rydgård 712fb08105 Merge pull request #9655 from unknownbrackets/leaks
Fix some leaks
2017-04-29 22:15:54 +02:00
Unknown W. Brackets 9ea7281b3c Core: Cleanup MAC address handling.
No need to make it leak, even if it doesn't matter much on shutdown.
Better to have the leak listing empty.
2017-04-29 12:48:06 -07:00
Unknown W. Brackets 90f3ae14e0 Windows: Simplify host shutdown.
The whole nativeHost/oldHost thing is unnecessary.

This also fixes gl lost holder mismatches.
2017-04-29 12:04:54 -07:00
xiushu 93536997cd UI: Allow choosing bgs (android) 2017-04-30 02:06:37 +08:00
LunaMoo 5fd6d4aab6 Minor OCD fix;]. 2017-04-29 16:24:01 +02:00
Unknown W. Brackets 661b2a3aa8 UI: Make GPU events more consistent. 2017-04-27 20:03:50 -07:00
LunaMoo 26006e9d80 Add an option to trap mouse within window/display area. 2017-04-27 16:29:08 +02:00
LunaMoo 1d0dab2020 Add Tip to inform user how to use mouse control. 2017-04-27 12:06:39 +02:00
LunaMoo 45304476e2 Polish the new workaround, seems to be nice and simple. 2017-04-27 11:12:11 +02:00
LunaMoo a0b904c7e8 Try on a nicer mapping workaround. 2017-04-27 10:09:57 +02:00
LunaMoo 26c02478af Mouse Control(Windows only for now) 2017-04-26 18:03:48 +02:00
Unknown W. Brackets 75898392b9 UI: Proxy devmenu keypress through an event.
This prevents a mutex issue in #9626.
2017-04-17 20:33:22 -07:00
Unknown W. Brackets e8e65881b8 Windows: Avoid restarting completely on GPU change.
This retains the logger, avoids an annoying window open/close, and most
importantly for me: keeps the debugger attached.
2017-04-15 16:33:30 -07:00
Unknown W. Brackets 638a015ced Add a restarting flag to NativeInit/NativeShutdown.
Will be used externally.  Also cleanup some LogManager init/shutdown in
case these are called multiple times on Windows.
2017-04-15 16:30:37 -07:00
LunaMoo 372cbaac15 Disable pause button when not using touch.
Remove per-game status from some settings which shouldn't be per-game.
2017-04-14 17:11:16 +02:00
Unknown W. Brackets 989f19f83f UI: Respect the pause button display setting.
As of 22782b6, the setting stopped working.  It can be useful for Windows
touch devices.  Fixes #9609.
2017-04-12 22:09:05 -07:00
Henrik Rydgard f66e54c4cb Operator precedence fix in ifdef 2017-04-05 16:25:17 +02:00
Henrik Rydgard cf365bb257 Minor cleanup with GOLD define - only use it in System_GetPropertyInt 2017-04-05 16:21:08 +02:00
Henrik Rydgard fc730b76df Fix XInput polling in UWP apps. Should help #9555 2017-04-05 14:13:25 +02:00
Henrik Rydgard 22d5acb40e Depal: Use the full CLUT mode setting as the depal shader key. Fixes #9550 for both D3D11 and D3D9. 2017-04-04 11:09:29 +02:00
Henrik Rydgard 7e9bc84c06 Minor safety check 2017-04-02 23:58:27 +02:00
Unknown W. Brackets 6541413021 UI: Improve documentation on pop up use. 2017-04-02 10:56:41 -07:00
Unknown W. Brackets e59ebf8ad9 Windows: Add option to browse for bg image.
And also to clear the image.
2017-04-02 10:50:09 -07:00
Unknown W. Brackets 55908588eb UI: Allow choosing game bgs for all UI. 2017-04-02 10:48:38 -07:00
Henrik Rydgard 7230a8b427 Remove the "Disable alpha test" setting. It breaks too many things.
The  performance benefits in a few games on older hardware are not worth it.
We are able to automatically remove redundant alpha test in many cases now.
2017-04-01 11:36:35 +02:00
Henrik Rydgard 8d1ece05ca Finally move flash0 into assets, fixing #9468 and #9520
CMake fix
Fix the innosetup and zip scripts for the new assets location
2017-04-01 00:20:53 +02:00
LunaMoo d3bfb5cbbc Refresh bloomHackEnable_ also on resolution change. 2017-03-29 17:57:50 +02:00
Henrik Rydgård 84d7d5b8df Merge pull request #9501 from unknownbrackets/ui-background
UI: Add simple support for a custom background
2017-03-29 11:11:43 +02:00
Henrik Rydgård b0b72cd63e Merge pull request #9510 from xebra/fix_hwtess_gles
Fix hwtess gles
2017-03-28 13:17:32 +02:00
xebra a7c3b2f599 Add warning "experimental" to hardware tessellation because may cause crash with GLES. 2017-03-28 19:51:25 +09:00
xebra 73a898df2a GLES:Fix again compatibility for instanced rendering. 2017-03-28 19:49:37 +09:00
Unknown W. Brackets c9a5c00bf7 UI: Allow overriding colors in the ini. 2017-03-26 09:51:33 -07:00
Unknown W. Brackets 0a73828042 UI: Use theme colors in more places.
Hopefully everywhere.
2017-03-26 08:57:04 -07:00
Unknown W. Brackets ed11b8a8bd UI: Add a message handler to update the bg image. 2017-03-26 07:52:47 -07:00