Commit Graph
100 Commits
Author SHA1 Message Date
James Rowe 1d419bac1b Disable accelerated texture copy for Texture surfaces 2018-03-04 22:06:09 -07:00
James RoweandGitHub f3234db5e2 Merge pull request #3440 from B3n30/file_read_delay
File_Sys: Add a size dependent delay for each file read
2018-03-04 21:32:50 -07:00
James Rowe 739f8e5367 Fix clang format 2018-03-04 20:59:42 -07:00
James RoweandGitHub ce725f24ca Merge pull request #3444 from jroweboy/fix-multiplayer
UDS: Add non zero mac address to the shared page
2018-03-04 20:40:37 -07:00
James Rowe d26cf11399 Fix clang format 2018-03-04 20:27:22 -07:00
James Rowe 878217372b Remove useless static cast 2018-03-04 20:16:36 -07:00
James Rowe 1f87766b86 Change to use CryptoPP random and address review comments 2018-02-22 22:31:58 -07:00
James Rowe 752cfcaaae Move writing to shared page to the nwm init 2018-02-22 10:20:34 -07:00
James Rowe ffe94421b2 UDS: Add non zero mac address to the shared page
Apparently several games check the shared page mac address and wifi
link level values, and will refuse to start UDS if they are not correct.
This change gives a default value (in case you aren't connected to a
network) and will read the value from Room if you are connected.
2018-02-22 10:17:38 -07:00
James RoweandGitHub 33fe6c30e0 Merge pull request #3322 from MerryMage/DSP
audio_core: Remove global state
2018-02-19 09:08:37 -07:00
James Rowe 18456ff9e6 Address Lioncash's comments 2018-02-05 20:31:50 -07:00
James RoweandGitHub 587450cd04 Merge pull request #3422 from BreadFish64/BreadFish64-patch-1
correct escape sequence warning
2018-02-03 14:21:42 -07:00
James RoweandGitHub b002511df0 citra-qt: Add customizable speed limit target (#3353)
citra-qt: Add customizable speed limit target

* Update SDL config for the new frame_limit option
* Made max lag time a function of target speed percent.
* Added a checkbox to enable/disable frame limiter
* UI: Prevent frame_limit from under/overflowing
* UI: Hide target speed percent when frame limiter is off
* Disable frame limit spin box when framelimit isn't enabled
2018-01-25 22:24:40 -07:00
James RoweandGitHub 44d07574b1 Merge pull request #2882 from danzel/movie-squash
Movie (Game Inputs) recording and playback
2018-01-23 01:03:37 -07:00
James RoweandGitHub 0e8c25fdfa Merge pull request #3361 from wwylele/ptm-new-framework
Service/PTM: convert to ServiceFramework
2018-01-22 11:57:44 -07:00
James RoweandGitHub bf4e35b916 Merge pull request #3399 from FearlessTobi/patch-1
Remove "tr" from image formats in graphics_surface.cpp
2018-01-19 08:17:40 -07:00
James RoweandGitHub 0086b57d5a Merge pull request #3401 from Reegea85/patch-1
citra-qt: fix broken About box link
2018-01-19 08:09:37 -07:00
James RoweandGitHub e1ffcde355 Merge pull request #3297 from wwylele/translation-tx
citra-qt: add translation support; link translation with transifex
2018-01-18 09:01:00 -07:00
James Rowe 1c4d1d1ace Move trasnfer_framebuffer to a member of RasterCache. Address review comments 2017-12-23 16:10:32 -07:00
James Rowe 10fb9242ae Fix clang format 2017-12-23 16:10:32 -07:00
James Rowe 4e053220a8 When downloading from a surface into gl_buffer, ingore any x/y offsets in rect and use 0,0 as the origin 2017-12-23 16:10:31 -07:00
James Rowe 7e673af527 Remove the correct intervals from the surface when validating 2017-12-23 16:10:31 -07:00
James Rowe ac4c589ab5 Workaround for ICE on gcc5 2017-12-23 16:10:31 -07:00
James Rowe 91fad7010b Fix compilation on mac and linux 2017-12-23 16:10:30 -07:00
James Rowe 34ff77f5f7 Revert "OpenGL Cache: Ignore format reinterpretation hack"
Testing found a few games that did some crazy things which breaks the
assumptions made in that commit.
2017-12-23 16:10:29 -07:00
James Rowe 72034b772d Minor style changes 2017-12-23 16:10:29 -07:00
James Rowe 0498d34d18 OpenGL Cache: Ignore format reinterpretation hack
Several games such as Smash will cause some regions that are cached on
the gpu to be revalidated, but (seemingly) we can just ignore these
cases. If the data is already found on the gpu in dirty_regions, then we
validate those, and skip flushing that region from cpu.

Its unknown if this breaks any games, but it does speed up many games.
Additionally, it removes outlines in the pokemon games.
2017-12-23 16:10:29 -07:00
James Rowe 5b872c41d8 OpenGL Cache: Reorder methods
The previous commits added the methods where they were located
originally to try to get an easy to read diff between changes. This
commit fixes compliation since the static methods are now declared
before they are used.
2017-12-23 16:10:28 -07:00
James Rowe 24e187891f OpenGL Rasterizer: Update to use the new cache 2017-12-23 16:10:28 -07:00
James Rowe e5adb6a26b OpenGL Cache: Add the rest of the Cache methods
Fills in the rasterizer cache methods using the helper methods added in
the previous commits.
2017-12-23 16:10:27 -07:00
James Rowe 81ea32d1e0 OpenGL Cache: Refactor Surface Cache interface
Changes the public interface of the surface cache to make it easier to
use. Reintroduces the cached page count cached pages that was removed in
an earlier commit.
2017-12-23 16:10:27 -07:00
James Rowe 3e1cbb7d14 OpenGL Cache: Split CachedSurface
Breaks CachedSurface into two classes, the parameters used to create or
find a cached surface, and the actual cached surface. This also adds a
few helper methods for getting surfaces from cache
2017-12-23 16:10:27 -07:00
James Rowe 0b98b768f5 OpenGL Cache: Add surface utility functions
Separates creating and filling surfaces into static functions that
can be reused from the different RasterizerCache methods.
2017-12-23 16:10:26 -07:00
James Rowe e9e2d444ef OpenGL Cache: Optimize Morton Copy to copy in tiles
Compiles two lookup arrays of functions for the different
configurations of Morton Copy.
2017-12-23 16:10:26 -07:00
James Rowe 160ac25527 OpenGL State: Change setters so they don't directly write to curstate 2017-12-23 16:10:25 -07:00
James Rowe 13606a6d0b Memory: Remove count of cached pages and add InvalidateRegion
In a future commit, the count of cached pages will be reintroduced in
the actual surface cache. Also adds an Invalidate only to the cache
which marks a region as invalid in order to try to avoid a costly flush
from 3ds memory
2017-12-23 16:10:25 -07:00
James Rowe c821c14908 Settings: Change resolution scaling to an integer instead of a float 2017-12-23 16:10:25 -07:00
James RoweandGitHub 6e2a4ba665 Merge pull request #3305 from lioncash/fwd
game_list: Use forward declarations where applicable
2017-12-16 12:42:26 -07:00
James RoweandGitHub b88ed528a3 Merge pull request #3275 from MerryMage/shutdown-before-init
core: Don't Shutdown before we've even Init-ed
2017-12-11 18:50:16 -07:00
James RoweandGitHub a709e6528e Merge pull request #3242 from Subv/extdata
HLE/FS: Always use 0x48000 as the high dword when opening the SharedExtData archive
2017-12-09 10:18:30 -07:00
James RoweandGitHub a5b7a1fa7a Merge pull request #3247 from muemart/crash
Fix crash when loading an unsupported file
2017-12-09 09:49:24 -07:00
James RoweandGitHub af45f2b2de Merge pull request #3241 from wwylele/process-info-fix
svc: correct GetProcessInfo(20)
2017-12-08 13:13:26 -07:00
James RoweandGitHub fcf0d104c9 Merge pull request #3161 from lioncash/catch
externals: Update catch to v2.0.1
2017-11-30 12:02:45 -07:00
James RoweandGitHub b7cf793814 Merge pull request #3113 from shinyquagsire23/sdl-cia-install
SDL CIA Installation
2017-11-24 10:23:20 -07:00
James RoweandGitHub de0af83719 Merge pull request #3135 from MerryMage/d-ClearInstructionCache
arm_dynarmic: ClearInstructionCache should clear all instruction caches
2017-11-19 16:39:04 -07:00
James RoweandGitHub c810a3f3b0 Merge pull request #3126 from chris062689/master
Added Webhook notifications for Appveyor.
2017-11-16 20:35:30 -07:00
James Rowe 9d9693c13d Revert "Extracted the attribute setup and draw commands into their own functions"
This reverts commit b3b34a1e76. This
commit causes a performance regression for not enough benefits
2017-11-16 11:46:17 -07:00
James RoweandGitHub 5eabe60aa3 Merge pull request #2969 from mailwl/ptm_step
Service/PTM: Stub GetStepHistory function
2017-11-15 09:39:17 -07:00
James RoweandGitHub 78fc1822c2 Merge pull request #3007 from KAMiKAZOW/patch-1
Install Linux icon in hicolor instead of pixmaps
2017-11-15 09:37:07 -07:00
James RoweandGitHub fae52d3056 Merge pull request #3109 from acnleditor2/fix-ini
sdl2 default ini: fix framelimit
2017-11-13 21:08:20 -07:00
James RoweandGitHub ddee442ff8 Merge pull request #3093 from Subv/missing_includes
Added missing headers to CMakeLists.txt and fixed includes.
2017-11-07 20:09:19 -07:00
James RoweandGitHub bd5fe0c48f Merge pull request #3081 from wwylele/fix-about
citra-qt: fix broken About box
2017-11-06 10:42:04 -07:00
James Rowe 2e6c80d1aa Qt updater integration, based on QtAutoUpdater 2017-11-04 15:00:20 -06:00
James RoweandGitHub c14f802381 Merge pull request #2992 from Subv/ac_srvframework
Services/AC: Converted the ac:i and ac:u services to the new service framework.
2017-11-04 10:42:09 -06:00
James RoweandGitHub edfc8d133a Merge pull request #3044 from Dragios/wnarrowing
Get rid of narrowing conversion warning (-Wnarrowing)
2017-10-27 15:55:14 -06:00
James RoweandGitHub 465e619cbb Merge pull request #3053 from wwylele/debug-build-please
file_sys: Add missing header for PRIU64
2017-10-27 14:47:11 -06:00
James RoweandGitHub 26065fd872 Merge pull request #3047 from Hexagon12/sdl2-sound-fix
Workaround for SDL2 2.0.6 audio issues
2017-10-24 20:40:38 -06:00
James RoweandGitHub b36f748acd Merge pull request #3046 from MerryMage/sdl-disallow-device-changes
sdl2_sink: Disallow audio device from changing any parameter other than the frequency
2017-10-24 09:22:28 -06:00
James RoweandGitHub b4c1c26511 Merge pull request #3028 from MerryMage/fix-3023
citra_qt: Remove use of QKeySequence::Cancel
2017-10-24 09:21:27 -06:00
James RoweandGitHub ceb9880034 Merge pull request #3037 from acnleditor2/dll
Fix Missing libpcre2-16-0.dll from both latest Nightly and Canary builds #3036
2017-10-23 13:25:53 -06:00
James RoweandGitHub 5b22cf08f0 Merge pull request #3024 from MerryMage/hle-lock
hle/lock: Remove #pragma once in cpp file
2017-10-21 08:43:59 -06:00
James RoweandGitHub dcb48840c3 Merge pull request #2993 from shinyquagsire23/am-and-archive-ncch-rework
AM Service and NCCH Archive Rework
2017-10-20 22:59:38 -06:00
James RoweandGitHub f47bf6c8c9 Merge pull request #3001 from Styleoshin/qt_fullscreen
citra-qt : Adding fullscreen mode
2017-10-19 15:30:55 -06:00
James RoweandGitHub e1bb198eae Merge pull request #2966 from jroweboy/qtifw_build_installer
Qtifw build installer
2017-10-11 21:21:51 -06:00
James Rowe 1fc1e2bbd5 Installer: Capitalize T in Team and update install location for linux 2017-10-11 19:24:05 -06:00
James RoweandGitHub d15e15bd05 Merge pull request #2996 from MerryMage/split-travis
travis: Split build scripts for different platforms
2017-10-09 17:27:46 -06:00
James RoweandGitHub 9b19c218a9 Merge pull request #3002 from Dragios/nwm-cmdhdr-fix
Change command header in nwm::UDS Initialize function
2017-10-08 20:23:37 -06:00
James RoweandGitHub 26629c661c Merge pull request #2982 from MerryMage/lazy-macos-opt
macOS: Build x86_64h slice
2017-10-03 11:15:01 -06:00
James RoweandGitHub 8244762b89 Merge pull request #2972 from Subv/ignore_.vs
Add the .vs folder and the CMakeSettings.json file from Visual Studio to gitignore
2017-09-30 10:11:53 -06:00
James Rowe e7da39a382 Installer: Address review comments
Correctly set permissions on mac installer and create a missing folder
2017-09-30 09:12:07 -06:00
James Rowe 709c89a1d8 Installer: Converted the build scripts to cmake and added an "installer" target 2017-09-28 10:46:05 -06:00
James RoweandGitHub 5620327e03 Merge pull request #2954 from Subv/cache_unmapped_mem
Memory/RasterizerCache: Ignore unmapped memory regions when caching physical regions
2017-09-26 16:55:47 -06:00
James RoweandGitHub 93930a966f Merge pull request #2921 from jroweboy/batch-fix-2
GPU: Add draw for immediate and batch modes
2017-09-24 07:57:16 -06:00
James Rowe 19d41dcc6e Remove pipeline.gpu_mode and fix minor issues 2017-09-23 09:28:20 -06:00
James Rowe ad0b57f407 GPU: Add draw for immediate and batch modes
PR #1461 introduced a regression where some games would change configuration
even while in the poorly named "drawing" mode, which broke the heuristic
citra was using to determine when to draw the batch. This change adds
back in a draw call for batching, and also adds in a draw call in
immediate mode each time it adds a triangle.
2017-09-11 09:21:43 -06:00
James Rowe 9e847b7549 Build: Enable SSL in mingw by linking against WinSSL
The mingw builds aren't submitting telemetry because the curl library
they are linked against is configured to use openSSL and openSSL looks
for the certificates in the users home folder. This keeps it from
contacting web services because it can't communicate over SSL.

This commit adds a download in mingw builds that will download a
precompiled curl for mingw linked against winssl and sspi.
2017-09-11 09:10:17 -06:00
James RoweandGitHub 3dcda15195 Merge pull request #2923 from B3n30/system_curl_osx
travis_OSX: build with system curl
2017-09-10 16:07:33 -04:00
James RoweandGitHub 4af793c591 Merge pull request #2918 from jroweboy/remove-debug
Remove excess debug dlls for mingw build
2017-09-06 10:26:38 -04:00
James Rowe ef8925b7ac Remove excess debug dlls for mingw build 2017-09-05 18:57:47 -06:00
James Rowe 79f177c6d2 Fix icon for citra qt 2017-09-03 11:26:10 -06:00
James RoweandGitHub 3fd864d67b Merge pull request #2911 from DaMan69/master
Add manifest
2017-09-03 12:48:02 -04:00
James RoweandGitHub 415d3c0bac Merge pull request #2912 from jroweboy/mingw-master
Build: Add mingw64 compile support to appveyor
2017-09-01 21:37:34 -04:00
James Rowe ab47bf6ad6 Build: Add mingw64 compile support to appveyor
Releases will be built with both mingw and msvc and the binaries of both
builds will be uploaded to github releases
2017-09-01 07:56:36 -06:00
James RoweandGitHub 61442d6afb Merge pull request #2839 from Subv/global_kernel_lock
Kernel/HLE: Use a mutex  to synchronize access to the HLE kernel state between the cpu thread and any other possible threads that might touch the kernel (network thread, etc).
2017-08-23 18:17:44 -06:00
James RoweandGitHub a8675f4287 Merge pull request #2888 from Subv/warnings
Fixed some warnings in the core project.
2017-08-22 08:09:09 -06:00
James RoweandGitHub bbfa9d0635 Merge pull request #2861 from wwylele/motion-refactor
Refactor MotionEmu into a InputDevice
2017-08-19 23:43:01 -06:00
James RoweandGitHub 8afa81ac1b Merge pull request #2871 from wwylele/sw-spotlight
SwRasterizer/Lighting: implement spot light
2017-08-19 20:10:24 -06:00
James RoweandGitHub 8fd28244e4 Merge pull request #2869 from j-selby/docker-build
Travis: Use Docker to build for Linux
2017-08-11 08:39:14 -06:00
James RoweandGitHub a3aa8617bc Merge pull request #2867 from j-selby/tag-naming
Implement correct folder structure for CI builds
2017-08-11 08:36:04 -06:00
James RoweandGitHub 9f6868ad9b Merge pull request #2857 from j-selby/deploy-fix
Travis/AppVeyor: Deploy based upon tags
2017-08-09 19:13:55 -06:00
James RoweandGitHub 343bbfdabc Merge pull request #2860 from anodium/patch-1
Quickfix typo in OpenGL 3.3 error message
2017-08-04 21:14:49 -06:00
James RoweandGitHub 0dc285dcfd Merge pull request #2855 from bunnei/telemetry-additional-fields
Telemetry: Add several more useful fields
2017-08-03 18:37:03 -06:00
James RoweandGitHub fc43e027f6 Merge pull request #2849 from j-selby/master
Produce 7zip artifacts on Travis and Appveyor
2017-07-28 19:34:43 -06:00
James Rowe 0f81e18793 Use WinSSPI instead of OpenSSL
Appveyor has OpenSSL installed, so cURL tries to link against it.
This causes dll not found errors because we would also need to ship
OpenSSL, so we link against Windows SSPI instead.
2017-07-24 09:56:44 -06:00
James RoweandGitHub 68db4f3ece Merge pull request #2830 from linkmauve/master
Make enet use the same convention as other submodules
2017-07-16 16:29:58 -06:00
James Rowe 5990cae193 Update enet submodule
This includes a fix merged upstream to support mingw compilation
2017-07-12 20:39:47 -06:00
James RoweandGitHub 22e7402ab1 Merge pull request #2814 from Kloen/macro-remove
Remove unnecessary WIN32_LEAN_AND_MEAN macro definition
2017-07-01 08:45:42 -06:00
James RoweandGitHub 19f1216e72 Merge pull request #2811 from MerryMage/qtdebug
configure_debug: Add label warning that CPU JIT needs to be disabled …
2017-06-28 12:19:05 -06:00
James RoweandGitHub 7af6931fb5 Merge pull request #2812 from tiagmoraismorgado/patch-1
fixing a couple of typos
2017-06-28 07:32:45 -06:00
James RoweandGitHub 8c22334f96 Merge pull request #2737 from Subv/decryptbeacondata
Services/UDS: Implement DecryptBeaconData.
2017-06-07 10:08:43 -06:00