Yuri Kunde Schlesner
08325e51e5
Merge pull request #1045 from LittleWhite-tb/qt-recent-files
...
Improvements for MRU
2015-08-19 13:04:03 -07:00
Yuri Kunde Schlesner
a9fc659809
Merge pull request #996 from yuriks/texture-copy
...
GPU: Implement TextureCopy-mode display transfers
2015-08-18 20:52:40 -07:00
Yuri Kunde Schlesner
734f4b7041
Merge pull request #1043 from yuriks/boost-v1_59
...
Update boost external to v1.59.0
2015-08-16 17:32:09 -07:00
Yuri Kunde Schlesner
3007d0c651
Update boost external to v1.59.0
2015-08-16 21:20:48 -03:00
Yuri Kunde Schlesner
b3e64813f5
Merge pull request #1036 from LittleWhite-tb/fix-compilation-memset
...
Fix Linux GCC 4.9 build (complaining about undeclared memset)
2015-08-16 10:54:27 -07:00
Yuri Kunde Schlesner
0aa443a871
Merge pull request #1033 from bbarenblat/master
...
Handle `FileType::CIA` in `switch` statements
2015-08-15 22:40:29 -07:00
Yuri Kunde Schlesner
7d0c17d2ae
citra-qt: Give RG8 format a proper name in the texture viewer
2015-08-16 02:36:33 -03:00
Yuri Kunde Schlesner
9ae5a09655
GPU: Implement TextureCopy-mode display transfers
...
Fixes glitchy garbage in Fire Emblem 3D scenes.
2015-08-16 01:52:51 -03:00
Yuri Kunde Schlesner
2e5696dba4
Merge pull request #1031 from bbarenblat/master
...
Handle invalid `Log::Class`
2015-08-15 15:34:12 -07:00
Yuri Kunde Schlesner
254582aa35
OpenGL: Fix state tracking in situations with reused object handles
...
If an OpenGL object is created, bound to a binding using the state
tracker, and then destroyed, a newly created object can be assigned the
same numeric handle by OpenGL. However, even though it is a new object,
and thus needs to be bound to the binding again, the state tracker
compared the current and previous handles and concluded that no change
needed to be made, leading to failure to bind objects in certain cases.
This manifested as broken text in VVVVVV, which this commit fixes along
with similar texturing problems in other games.
2015-08-06 00:59:37 -03:00
Yuri Kunde Schlesner
ff68db61bc
OpenGL: Remove redundant texture.enable_2d field from OpenGLState
...
All uses of this field where it's false can just set the texture id to 0
instead.
2015-08-05 22:55:22 -03:00
Yuri Kunde Schlesner
a96502edd3
Videocore: Implement simple vertex caching
...
This gives a ~2/3 reduction in the amount of vertices that need to be
processed through the vertex loaders and the vertex shader, yielding a
good speedup.
2015-08-04 23:41:47 -03:00
Yuri Kunde Schlesner
48393d452c
Common: Work around bug in MSVC2015 standard library
...
The char16_t/char32_t implementations aren't present in the library and
cause linker errors. This is a known issue that wasn't fixed in VS2015
RTM.
2015-08-02 19:03:55 -03:00
Yuri Kunde Schlesner
1af1c5c37b
Merge pull request #999 from LittleWhite-tb/qt-save-location
...
Save the path leading where the last file have been loaded
2015-07-31 16:00:09 -07:00
Yuri Kunde Schlesner
ea1b04f5da
Merge pull request #1013 from lioncash/unused
...
dyncom: Remove an unused variable
2015-07-29 09:59:37 -07:00
Yuri Kunde Schlesner
8165de065b
Merge pull request #1009 from lioncash/table
...
am_net: Update function table data
2015-07-29 08:40:19 -07:00
Yuri Kunde Schlesner
428154da45
OpenGL: Add a profiler category measuring framebuffer readback
2015-07-28 17:37:46 -03:00
Yuri Kunde Schlesner
429b9de9a2
Merge pull request #998 from LittleWhite-tb/qt-continue-menu
...
Update Start menu text to match with the real state of the emulator.
2015-07-28 13:25:33 -07:00
Yuri Kunde Schlesner
ce2dd86f8f
Merge pull request #1005 from chinhodado/patch-1
...
Settings: Fix saving wrong values for input configuration
2015-07-28 10:59:31 -07:00
Yuri Kunde Schlesner
12f78c2ba6
Enable linker optimizations in MSVC Release builds
...
Apparently /DEBUG implicitly disables linker optimizations. This
explicitly re-enables them, giving a 40% reduction in binary sizes and
a very slight runtime speed improvement.
2015-07-28 14:32:29 -03:00
Yuri Kunde Schlesner
1762267de4
OpenGL: Make OpenGL object resource wrappers fully inline
...
The functions are so simple that having them separate only bloats the
code and hinders optimization.
2015-07-26 10:58:58 -03:00
Yuri Kunde Schlesner
e130dac7de
Videocore: Don't reinitialize register name map on every query
...
This greatly speeds up the command list debug widget.
2015-07-26 10:10:10 -03:00
Yuri Kunde Schlesner
a99fb226fe
Merge pull request #995 from linkmauve/remove-dead-option
...
Remove dead gpu_refresh_rate option from the default ini file
2015-07-26 05:18:39 -07:00
Yuri Kunde Schlesner
edc8b11e25
Merge pull request #994 from yuriks/vsh-interpreter-opt
...
Optimisations and cleanups in the shader interpreter
2015-07-26 04:56:51 -07:00
Yuri Kunde Schlesner
4909a1486e
Videocore: Simplify variables in vertex shader interpreter
...
Simplifies the code and gives a tiny speed-up.
2015-07-26 08:49:35 -03:00
Yuri Kunde Schlesner
877d2a0e48
Videocore: Replace std::stack in shader interpreter with static_vector
...
Shaves off 1/3rd of the vertex shader time in Fire Emblem
2015-07-26 08:49:35 -03:00
Yuri Kunde Schlesner
a25d1814d5
Update nihstro to latest master
2015-07-26 07:12:28 -03:00
Yuri Kunde Schlesner
13347997ba
VideoCore: #ifdef out some debugging routines
...
Some disabled debugging functionality was being called from rendering
routines in VideoCore. Although disabled, many of them still allocated
memory or did some extra work that was enough to show up in a profiler.
Gives a slight (~2ms) speedup.
2015-07-26 06:55:47 -03:00
Yuri Kunde Schlesner
453764aefc
Merge pull request #989 from lioncash/extern
...
armdefs: Remove unnecessary extern keywords
2015-07-25 15:40:23 -07:00
Yuri Kunde Schlesner
6e1659c9fd
Merge pull request #988 from lioncash/else
...
loader: Remove unnecessary else usages
2015-07-25 15:19:38 -07:00
Yuri Kunde Schlesner
24d7c05c8d
Merge pull request #888 from zawata/Warning-Fixes-2
...
Core\HLE : Fix Warning
2015-07-25 12:55:34 -07:00
Yuri Kunde Schlesner
00529c71d4
Address error that remained in last merge
2015-07-25 16:54:51 -03:00
Yuri Kunde Schlesner
9a0f9f12cd
Merge pull request #892 from zawata/another-warning-fixes
...
Yet More Warning Fixes
2015-07-25 12:50:32 -07:00
Yuri Kunde Schlesner
43e1f56ff5
Merge pull request #981 from Subv/checkboxes
...
Qt/GPU Breakpoints: Changed the widget to have a checkbox next to each bp type
2015-07-25 12:00:10 -07:00
Yuri Kunde Schlesner
a989522384
Merge pull request #983 from yuriks/null-memory-fill
...
GSP: Don't try to write memory fill registers if start address is 0
2015-07-23 17:31:38 -07:00
Yuri Kunde Schlesner
3b61dd97e0
GSP: Don't try to write memory fill registers if start address is 0
...
Verified to be what GSP does via REing. Fixes invalid virt->phys
translation error spam in some games.
2015-07-23 21:20:01 -03:00
Yuri Kunde Schlesner
1fe9b0b82e
VideoCore: Fix values of unset components in input attribute arrays
...
If an input attribute array had a field with less than 4 components, the
remaining components were left unset if not specified by a default
vertex attribute. If neither mechanism would set a component, it would
assume a garbage value.
It has been verified that the hardware behavior is to instead to set the
missing components from the fixed default of (0 0 0 1). The default
vertex attribute values aren't used at all if a vertex array is
specified for that attribute.
Fixes UI graphics on Fire Emblem: Awakening, a small texturing glitch
when selecting a character in Cubic Ninja, as well as eliminating the
unset-W hack which was required for Ocarina of Time to not have
garbled triangles.
This change has been tested against hardware.
2015-07-23 16:51:25 -03:00
Yuri Kunde Schlesner
4e09202226
VideoCore: Saturate vertex colors before interpolating
...
During testing, it was discovered that hardware does not interpolate
colors output by the vertex shader as-is. Rather, it drops the sign and
saturates the value to 1.0. This is done before interpolation, such that
(e.g.) interpolating outputs 1.5 and -0.5 is equivalent to as if the
shader had output the values 1.0 and 0.5 instead, with the interpolated
value never crossing 0.0.
This change has been tested against hardware.
2015-07-23 16:51:24 -03:00
Yuri Kunde Schlesner
e5c4fe0098
GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) calls
...
In OpenGL 3, texturing is always enabled, and this call is invalid.
While it produced no effect in the rest of the execution, it wouldn't
have the intended effect of disabling texturing for that unit. Instead
bind a null texture to the unit.
2015-07-22 01:22:09 -03:00
Yuri Kunde Schlesner
a48aa4f924
Resolve issue accidentally left unaddressed in PR #930
2015-07-21 06:48:30 -03:00
Yuri Kunde Schlesner
8833852acd
Merge pull request #930 from neobrain/copypaste_commandlist
...
citra-qt: Add support for copying the command list contents to clipboard.
2015-07-20 21:44:57 -07:00
Yuri Kunde Schlesner
ae985bf500
Pica: Correct switched S/T texture wrapping registers
...
This was found and hwtested by Lectem
2015-07-19 19:27:23 -03:00
Yuri Kunde Schlesner
5a75cf8fd2
Pica: Fix DP3 instruction, which wasn't assigning to the w component
2015-07-19 19:01:59 -03:00
Yuri Kunde Schlesner
618434d7fc
Merge pull request #947 from archshift/hex-log
...
Change trace/unimplemented service call logs to use hex
2015-07-19 14:32:39 -07:00
Yuri Kunde Schlesner
71be5853e0
Merge pull request #941 from citra-emu/armv6-thumb-mov
...
Dyncom: Support for a new ARMv6 Thumb MOV encoding
2015-07-18 12:49:02 -07:00
Yuri Kunde Schlesner
13286903e6
Dyncom: Support for a missing ARMv6 Thumb MOV encoding
2015-07-18 03:41:49 -03:00
Yuri Kunde Schlesner
41513cfb0c
Merge pull request #938 from Subv/querymem
...
Kernel/SVC: Implemented svcQueryMemory.
2015-07-17 12:33:26 -07:00
Yuri Kunde Schlesner
dc39d06950
Ensure all kernel objects are released during shutdown
...
This commit fixes several kernel object leaks. The most severe of them
was threads not being removed from the private handle table used for
CoreTiming events. This resulted in Threads never being released, which
in turn held references to Process, causing CodeSets to never be freed
when loading other applications.
2015-07-17 02:24:13 -03:00
Yuri Kunde Schlesner
8932b23dcc
Merge pull request #935 from lioncash/smlaw
...
arm_dyncom_interpreter: Simplify assignment in SMLAW
2015-07-16 19:15:33 -07:00
Yuri Kunde Schlesner
078bf29d1d
Remove webchat link from readme
...
Hopefully this should reduce the amount of drive-by spam and annoying support requests in the channel.
2015-07-16 20:11:31 -03:00
Yuri Kunde Schlesner
04cb7ae601
Merge pull request #767 from Lectem/DOT3_RGB
2015-07-14 02:17:06 -03:00
Yuri Kunde Schlesner
62c2a262b2
Loader: Fix variable type and remove unused variable
2015-07-13 21:10:13 -03:00
Yuri Kunde Schlesner
a1f08788d9
Archive: Correct a few incorrect types in function signatures
...
Buffer lengths should be size_t, and file offsets should be u64.
2015-07-13 21:10:12 -03:00
Yuri Kunde Schlesner
2d7299a86f
Loader: Remove unnecessary pointer indirection to IOFile
2015-07-13 20:00:56 -03:00
Yuri Kunde Schlesner
5161699452
getopt: Fix macro redefinition warning
...
We already define _CRT_SECURE_NO_WARNINGS
2015-07-13 19:47:08 -03:00
Yuri Kunde Schlesner
1bf030f4af
getopt: Fix compilation settings
...
INTERFACE doesn't define the symbol when compiling the library itself.
PUBLIC should be used when the definition is needed both by the library
and by the users.
2015-07-13 19:47:04 -03:00
Yuri Kunde Schlesner
1fc0347d27
Merge pull request #924 from aroulin/qt-disassembly-step
...
Qt: Fix disassembly widget stepping
2015-07-13 14:16:36 -07:00
Yuri Kunde Schlesner
c4e11519af
Merge pull request #859 from Apology11/master
...
build with visual studio 2015
2015-07-12 15:02:11 -07:00
Yuri Kunde Schlesner
d4f35fd989
Kernel: Add CodeSet case to Object::IsWaitable
2015-07-12 18:15:16 -03:00
Yuri Kunde Schlesner
4e900d56f3
Merge pull request #912 from yuriks/process-loading
...
Core: Properly configure address space during binary loading
2015-07-11 20:07:49 -07:00
Yuri Kunde Schlesner
5c5cf2f8e0
Core: Properly configure address space when loading a binary
...
The code now properly configures the process image to match the loaded
binary segments (code, rodata, data) instead of just blindly allocating
a large chunk of dummy memory.
2015-07-11 23:54:42 -03:00
Yuri Kunde Schlesner
51820691e7
Memory: Fix unmapping of pages
2015-07-11 23:49:53 -03:00
Yuri Kunde Schlesner
34f5f77507
Loader: Clean up 3dsx loader a bit, fixing a potential buffer overrun
2015-07-11 23:49:52 -03:00
Yuri Kunde Schlesner
fdbf410bd7
Loader: Make 3dsx loader logs a bit less confusing
2015-07-11 23:49:52 -03:00
Yuri Kunde Schlesner
d9556912b4
Kernel: Remove unused member from Event
2015-07-11 23:49:51 -03:00
Yuri Kunde Schlesner
b0d72e3de1
Merge pull request #914 from yuriks/bitfield-mask
...
Common: Fix mask generation in BitField
2015-07-11 19:01:57 -07:00
Yuri Kunde Schlesner
d4f19736a6
Update style rules with to better match current practice.
2015-07-11 19:59:50 -03:00
Yuri Kunde Schlesner
8968c1dfec
Merge pull request #916 from lioncash/unused
...
Common: Remove thunk.h
2015-07-10 17:13:31 -07:00
Yuri Kunde Schlesner
867c28ae03
Merge pull request #876 from linkmauve/include-cleanups
...
Cleanup includes, mostly in common
2015-07-10 16:36:12 -07:00
Yuri Kunde Schlesner
6fc605a196
Travis: Replace before_install with install
2015-07-10 20:24:19 -03:00
Yuri Kunde Schlesner
a60f2a93d2
Travis: Update GLFW on Linux to 3.1.1
2015-07-10 20:11:09 -03:00
Yuri Kunde Schlesner
73b6a715ee
Travis: Remove use of sudo to enable use container-based builds
2015-07-10 20:00:59 -03:00
Yuri Kunde Schlesner
d5b5280501
Common: Remove redundant masking in BitField
...
For the signed case, the shifts already remove the rest of the value, so
ANDing by the mask is redundant.
2015-07-10 18:43:41 -03:00
Yuri Kunde Schlesner
d7f9529bdd
Common: Fix mask generation in BitField
...
Fixes #913
2015-07-10 18:43:40 -03:00
Yuri Kunde Schlesner
a24a0fbd8a
CMake: Fix Debug build configuration in MSVC
...
Debug was missing compiler flags, causing MSVC to default it to building
with optimizations enabled (making for a not very useful binary for
actual debugging...). Additionally, the variables were re-organized to
remove some redundancy, the old Release build type was removed, and
RelWithDebInfo was renamed to take its place instead.
2015-07-09 16:10:08 -03:00
Yuri Kunde Schlesner
ac7bc214ab
Merge pull request #906 from aroulin/loader-format-specifier-warning
...
Loader: Fix format specifier warning
2015-07-07 15:10:00 -07:00
Yuri Kunde Schlesner
eaaf951de6
AppVeyor: Remove submodule checkout depth
...
This avoid intermittent build failures due to a commit not being
reachable using a fixed depth, at the expense of longer checkout times.
2015-07-07 16:22:26 -03:00
Yuri Kunde Schlesner
fb66b0677b
Merge pull request #897 from lioncash/return
...
vfp: Change return type of VFPInit from unsigned int to void.
2015-06-29 12:17:16 -07:00
Yuri Kunde Schlesner
19d5fbce8e
Merge pull request #894 from linkmauve/no-union-types
...
Remove unused type unions breaking aliasing rules in horrible ways
2015-06-28 13:21:02 -07:00
Yuri Kunde Schlesner
176aded020
Merge pull request #884 from chinhodado/patch-1
...
AppVeyor: Remove os: unstable
2015-06-24 22:07:50 -07:00
Yuri Kunde Schlesner
76dfafc906
Merge pull request #877 from yuriks/ipc-headers
...
Add helpers to create IPC command buffer headers and descriptors
2015-06-23 12:40:32 -07:00
Yuri Kunde Schlesner
81488d7a6a
Add helpers to create IPC command buffer headers and descriptors
2015-06-22 19:24:19 -03:00
Yuri Kunde Schlesner
a9fd93347d
Display line numbers in CI whitespace check
2015-06-21 23:21:30 -03:00
Yuri Kunde Schlesner
dc09a2ecb5
Merge pull request #860 from yuriks/y2r-color
...
Color support for Y2R
2015-06-21 17:22:34 -07:00
Yuri Kunde Schlesner
3e6663da43
Y2R: Rework conversion process, enabling support for all formats
2015-06-21 20:58:55 -03:00
Yuri Kunde Schlesner
772ef097ea
Merge pull request #839 from Lectem/whitespacepolicy
...
Enforce the "no tab, use spaces" policy with a pre-commit hook.
2015-06-21 14:21:02 -07:00
Yuri Kunde Schlesner
29d2b70ea4
Y2R: Re-organize how params are stored. Support SetConversionParams
2015-06-20 19:21:16 -03:00
Yuri Kunde Schlesner
9b7d85a4f5
video_core: add extra braces around initializer
...
Trivial change and fixes several warnings in the clang build.
2015-06-14 00:33:08 -03:00
Yuri Kunde Schlesner
bd5c943c65
Merge pull request #843 from chinhodado/patch-2
...
Use correct style name: PascalCase instead of CamelCase
2015-06-13 13:43:42 -07:00
Yuri Kunde Schlesner
8a04c65e20
Merge pull request #810 from yuriks/memmap
...
Kernel: Add VMManager to manage process address spaces
2015-05-29 18:00:17 -07:00
Yuri Kunde Schlesner
d65b42a69a
Remove gpu_refresh_rate configuration option
...
Changing it makes emulation inherently inaccurate. It also had a wrong
default value (30, whereas the real system has a refresh rate of 60 Hz)
which, even if changed, would continue to be used unless people manually
removed it from their config files.
2015-05-29 19:39:26 -03:00
Yuri Kunde Schlesner
a489a84656
Merge pull request #818 from linkmauve/no-trailing-whitespace
...
Ban trailing whitespace from the entire project, forever
2015-05-29 15:09:26 -07:00
Yuri Kunde Schlesner
fb597b6d68
Merge pull request #817 from linkmauve/citra.ico
...
Move src/assets/citra.ico and doc-icon.png to dist
2015-05-29 13:56:58 -07:00
Yuri Kunde Schlesner
3c47522e67
Merge pull request #828 from lioncash/seq
...
hid: Get rid of undefined behavior
2015-05-27 11:50:57 -07:00
Yuri Kunde Schlesner
88365a23e7
Memmap: Remove unused global pointers to memory areas
2015-05-27 03:24:12 -03:00
Yuri Kunde Schlesner
0a60aa75c2
Kernel: Add VMManager to manage process address spaces
...
This enables more dynamic management of the process address space,
compared to just directly configuring the page table for major areas.
This will serve as the foundation upon which the rest of the Kernel
memory management functions will be built.
2015-05-27 03:24:12 -03:00
Yuri Kunde Schlesner
ad883db7a9
Merge pull request #826 from lioncash/tables
...
arm_dyncom_thumb: Merge STR/LDR table subsets.
2015-05-26 22:05:13 -07:00
Yuri Kunde Schlesner
33c57361a9
Update bundled GLFW to 3.1.1
...
It may be necessary to fix the CMake paths manually for an exsting CMake
cache after this change.
2015-05-25 00:42:21 -03:00
Yuri Kunde Schlesner
c9244a03c7
Qt: Silence a bogus warning printed when using the debug runtime
...
The Qt debug runtime prints a bogus warning on the console if you
haven't called makeCurrent since the last time you called swapBuffers.
This presumably means something if you're using QGLWidget the "regular"
way, but in our multi-threaded use case is harmless since we never call
doneCurrent in the rendering thread.
2015-05-23 02:27:27 -03:00
Yuri Kunde Schlesner
4c207798b4
Merge pull request #803 from lioncash/typo
...
gl_state: Fix a condition typo in Apply
2015-05-22 16:54:06 -07:00