Subv
d9baef11f2
Kernel/Threads: Dynamically allocate the TLS region for threads in the BASE region of the linear heap.
...
Each thread gets a 0x200-byte area from the 0x1000-sized page, when all 8 thread slots in a single page are used up, the kernel allocates a new page to hold another 8 entries.
This is consistent with what the real kernel does.
2016-05-07 10:18:47 -05:00
bunnei
9b90317ced
Merge pull request #1685 from lioncash/hdr
...
core: Clean out some unnecessary header includes
2016-04-16 00:49:18 -04:00
Lioncash
0e86c22c25
core: Clean out some unnecessary header includes
2016-04-16 00:08:49 -04:00
bunnei
a3fd7cc273
Merge pull request #1667 from wwylele/ncch-loader-fix
...
loader: only decompress code section
2016-04-15 17:13:34 -04:00
bunnei
7cdc2b824f
Merge pull request #1673 from MerryMage/config-minimumSize
...
Configure Dialog: Remove minimumSize property
2016-04-15 10:00:58 -04:00
Mathew Maidment
45f80b65a2
Merge pull request #1671 from lioncash/mem
...
debug_utils: use std::make_unique for initializing PicaTrace
2016-04-15 07:37:10 -04:00
MerryMage
784e5a7007
Configure Dialog: Remove minimumSize property
2016-04-15 11:34:08 +01:00
JamePeng
68728eef38
Y2R: num_tiles should be allowed when its value is 128 ( #1669 )
2016-04-14 21:36:07 -07:00
Lioncash
c8c5cde430
debug_utils: use std::make_unique for initializing PicaTrace
2016-04-14 22:05:28 -04:00
bunnei
464b3bd20d
Merge pull request #1666 from MerryMage/barrier
...
Thread: Correct Common::Barrier implementation
2016-04-14 22:03:17 -04:00
bunnei
607667571d
Merge pull request #1665 from lioncash/file
...
IOFile: Minor API changes
2016-04-14 16:28:15 -04:00
wwylele
5ce844dff6
ncch:only decompress .code section
2016-04-14 18:33:42 +03:00
MerryMage
aecdc328a3
Thread: Make Barrier reusable
2016-04-14 13:59:58 +01:00
MerryMage
3b73cd6dd4
common/thread: Correct code style
2016-04-14 13:58:28 +01:00
bunnei
712021705c
Merge pull request #1546 from bunnei/refactor-shader-jit
...
Shader JIT Part 2
2016-04-13 23:36:39 -04:00
bunnei
42045d12c2
shader_jit_x64: Rename RuntimeAssert to Compile_Assert.
2016-04-13 23:04:53 -04:00
bunnei
73c082b647
shader_jit_x64.cpp: Rename JitCompiler to JitShader.
2016-04-13 23:04:53 -04:00
bunnei
76f9651a3a
shader_jit_x64: Free memory that's no longer needed after compilation.
2016-04-13 23:04:52 -04:00
bunnei
b6e8a9e52c
shader_jit_x64: Use a sorted vector instead of a set for keeping track of return addresses.
2016-04-13 23:04:52 -04:00
bunnei
276e57fea6
shader_jit_x64: Use CALL/RET instead of JMP for subroutines.
2016-04-13 23:04:52 -04:00
bunnei
2d9c714baf
emitter: Add CALL that can be fixed up.
2016-04-13 23:04:50 -04:00
bunnei
0f9796a63e
shader_jit_x64: Separate initialization and code generation for readability.
2016-04-13 23:04:50 -04:00
bunnei
aec7a517ea
shader_jit_x64: Get rid of unnecessary last_program_counter variable.
2016-04-13 23:04:49 -04:00
bunnei
5e6c1ccac7
shader_jit_x64: Execute certain asserts at runtime.
...
- This is because we compile the full shader code space, and therefore its common to compile malformed instructions.
2016-04-13 23:04:49 -04:00
bunnei
110725828a
shader: Remove unused 'state' argument from 'Setup' function.
2016-04-13 23:04:48 -04:00
bunnei
885208150d
shader_jit_x64: Specify shader main offset at runtime.
2016-04-13 23:04:47 -04:00
bunnei
13385606c3
shader_jit_x64: Allocate each program independently and persist for emu session.
2016-04-13 23:04:47 -04:00
bunnei
35f72f88ae
shader_jit_x64: Rewrite flow control to support arbitrary CALL and JMP instructions.
2016-04-13 23:04:44 -04:00
bunnei
88fb200dca
shader_jit_x64: Fix strict memory aliasing issues.
2016-04-13 23:04:43 -04:00
bunnei
98e70a3040
emitter: Support arbitrary FixupBranch targets.
2016-04-13 23:04:42 -04:00
Lioncash
9b38494bcd
file_util: In-class initialize data members
2016-04-13 20:17:24 -04:00
Lioncash
6c42d6bce9
file_util: const qualify IOFile's Tell and GetSize functions
2016-04-13 20:17:23 -04:00
Lioncash
dc210b6498
file_util: Don't expose IOFile internals through the API
2016-04-13 20:17:17 -04:00
Lioncash
d83fc0b4fd
file_util: Check for is_trivially_copyable
...
Also applies the template checks to ReadArray as well.
2016-04-13 19:20:26 -04:00
Lioncash
d1778d9220
file_util: Make IOFile data members private
2016-04-13 19:10:54 -04:00
bunnei
191c54393a
Merge pull request #1660 from MerryMage/file_util
...
FileUtil: Missing #include, Add const to IOFile methods
2016-04-12 11:58:41 -04:00
MerryMage
1d61185821
FileUtil: Missing #include, Add const to IOFile methods
2016-04-12 14:50:20 +01:00
bunnei
7acdfa9894
Merge pull request #1613 from mailwl/anp
...
Set Kernel config "Hardware Inited" to 1 (true)
2016-04-11 16:26:47 -04:00
Yuri Kunde Schlesner
159e479bb1
Merge pull request #1659 from JayFoxRox/apply-config
...
CitraQt: Apply config at startup
2016-04-11 07:52:48 -07:00
Jannik Vogel
6f19be7e17
Use Settings::Apply in SDL frontend
2016-04-11 15:20:05 +02:00
Jannik Vogel
ce26f4c099
CitraQt: Apply config at startup
2016-04-11 15:18:00 +02:00
mailwl
00008f93a5
Set Kernel config "Unknown Value" to 0x1
2016-04-11 13:47:52 +03:00
Yuri Kunde Schlesner
ff971e3f10
Merge pull request #1657 from JayFoxRox/remove-dump-geometry
...
Pica: Remove geometry dumper (PICA_DUMP_GEOMETRY)
2016-04-10 19:24:47 -07:00
bunnei
fda5058f1d
Merge pull request #1368 from LittleWhite-tb/configure-widget
...
Implementation for a configure widget
2016-04-10 20:21:34 -04:00
Jannik Vogel
4e717ff177
Pica: Remove geometry dumper (PICA_DUMP_GEOMETRY)
2016-04-10 22:07:06 +02:00
Mathew Maidment
6edf71b0e4
Merge pull request #1653 from mailwl/blx-lr
...
Fix BLX LR opcode interpretation
2016-04-09 15:32:42 -04:00
mailwl
c4f53f4f6b
Fix BLX LR opcode interpretation
2016-04-09 19:11:02 +03:00
bunnei
45a54355ec
Merge pull request #1624 from JayFoxRox/buffer-allow-write
...
Implement buffer-write allow registers
2016-04-09 11:19:23 -04:00
Jannik Vogel
f9727e111d
OpenGL: Respect buffer-write allow registers
2016-04-08 22:57:11 +02:00
Jannik Vogel
93bc39e372
OpenGL: Split buffer-write mask sync into seperate functions
2016-04-08 22:42:44 +02:00