archshift
bba12520c4
Expose loader helper functions for identifying files.
10 years ago
Yuri Kunde Schlesner
1ed7f3e028
GSP: Implement command 0x05, used for flushing caches
May fix additional texture caching issues. (Though mostly in homebrew, I
haven't seen any commercial software use this to flush anything but
command lists.)
10 years ago
Lioncash
07bfe0abbb
general: Replace 0 literals with nullptr where applicable
10 years ago
Lioncash
60b3fc01a2
General: Replace NULL and '0' usages with nullptr where applicable
10 years ago
Lioncash
d3efa637b4
General: Fix up doxygen comments
10 years ago
Lioncash
9cf1cfe3fd
memory: Get rid of pointer casts
10 years ago
Lioncash
d7bfda3e26
disk_archive: Remove unimplemented constructor declarations
10 years ago
Lioncash
f87093686e
y2r: Give local variables an initial value
Keeps compilers/static analyzers quiet.
10 years ago
archshift
9e8383e296
DynCom: Converted all 0xE condition code checks to ConditionCode::AL
10 years ago
archshift
e0c10019a9
Add cam:u service function names to its function table
10 years ago
Yuri Kunde Schlesner
18c1c39d5e
SVC: Advance time when calling GetSystemTick to escape busy-wait loops
Cubic Ninja waited for the frame to end by spinning on a loop calling
GetSystemTick while doing nothing else. Since GetSystemTick doesn't
cause a reschedule (which advances time), this meant that very little
emulated time would pass inside that loop, causing the game to spend
most of the frame burning away CPU.
10 years ago
Subv
ce6a65cec9
Services/FS: Correctly tell the guest app whether a file was correctly opened or not.
Closes #1067
10 years ago
Yuri Kunde Schlesner
0ee3e2c25e
Kernel: Fix wrong linear heap base on titles using newer kernels
Typo which sneaked in through review on #1025
10 years ago
Yuri Kunde Schlesner
12390eb155
Kernel: Fix assertion failure when ControlMemory is called with size=0
10 years ago
Yuri Kunde Schlesner
687d973980
Core: Improve APT Shared Font hack
Should fix invalid read loops in some games
10 years ago
Lioncash
dc1b024b80
dyncom: Simplify some comparisons in CondPassed
10 years ago
Lioncash
01dd833ffa
dyncom: Change return type of CondPassed to bool
10 years ago
Yuri Kunde Schlesner
0fcabd2b11
Integrate the MicroProfile profiling library
This brings goodies such as a configurable user interface and
multi-threaded timeline view.
11 years ago
Yuri Kunde Schlesner
78735e2ada
Fix broken boot introduced by last-minute change in #1025
11 years ago
Yuri Kunde Schlesner
9ae5a09655
GPU: Implement TextureCopy-mode display transfers
Fixes glitchy garbage in Fire Emblem 3D scenes.
11 years ago
Yuri Kunde Schlesner
840b85690b
Kernel: Remove unused legacy heap MapBlock_* functions
11 years ago
Yuri Kunde Schlesner
38bfbe1b2b
APT: Adjust shared font hack so it works with the new linear heap code
11 years ago
Yuri Kunde Schlesner
14eca982f4
Kernel: Implement svcGetProcessInfo in a basic way
This also adds some basic memory usage accounting. These two types are
used by Super Smash Bros. during startup.
11 years ago
Yuri Kunde Schlesner
74d4bc0af1
Kernel: Add more infrastructure to support different memory layouts
This adds some structures necessary to support multiple memory regions
in the future. It also adds support for different system memory types
and the new linear heap mapping at 0x30000000.
11 years ago
Yuri Kunde Schlesner
c39b52f974
HLE: Remove empty ConfigMem and SharedPage Shutdown functions
11 years ago
Yuri Kunde Schlesner
69c3021a8d
Move core/mem_map.{cpp,h} => core/hle/kernel/memory.{cpp,h}
11 years ago
Yuri Kunde Schlesner
e2c7954be5
Memory: Move address type conversion routines to memory.cpp/h
These helpers aren't really part of the kernel, and mem_map.cpp/h is
going to be moved there next.
11 years ago
Yuri Kunde Schlesner
a12a30c9e0
Process: Store kernel compatibility version during loading
11 years ago
Yuri Kunde Schlesner
cdeeecf080
Kernel: Properly implement ControlMemory FREE and COMMIT
11 years ago
Yuri Kunde Schlesner
ccab02c723
Memory: Move PAGE_MASK and PAGE_BITS to memory.h
11 years ago
Yuri Kunde Schlesner
306408d174
VMManager: Introduce names for used ResultCodes
11 years ago
Yuri Kunde Schlesner
b9a9ad9742
VMManager: Make LogLayout log level configurable as a parameter
11 years ago
Yuri Kunde Schlesner
785407d06f
VMManager: Change block offsets to size_t
11 years ago
Lioncash
46b0277cbf
vfp: use std::swap where applicable
11 years ago
bunnei
094ae6fadb
Shader: Initial implementation of x86_x64 JIT compiler for Pica vertex shaders.
- Config: Add an option for selecting to use shader JIT or interpreter.
- Qt: Add a menu option for enabling/disabling the shader JIT.
11 years ago
Benjamin Barenblat
c0a87bc89f
Properly indicate that CIA support is not implemented yet
Make `Loader::LoadFile` return an `ErrorNotImplemented` if you call
it on a CIA file.
11 years ago
Benjamin Barenblat
cd8be1846b
Give CIA file type a name
Make `GetFileTypeString` return ‘CIA’ for CIA (CTR Importable
Archive) files.
11 years ago
Emmanuel Gil Peyrot
5115d0177e
ARM Core, Video Core, CitraQt, Citrace: Use CommonTypes types instead of the standard u?int*_t types.
11 years ago
aroulin
38c87733d9
arm_disasm: ARMv6 mul/div and abs media instructions
SMLAD, SMUAD, SMLSD, SMUSD, SMLALD, SMLSLD,
SMMLA, SMMUL, SMMLS
USAD8, USADA8
11 years ago
aroulin
4a1db13072
arm_disasm: ARMv6 parallel add/sub media instructions
{S, U, Q, UQ, SH, UH}{ADD16, ASX, SAX, SUB16, ADD8, SUB8}
11 years ago
aroulin
0be8e1bfb6
arm_disasm: ARMv6 reversal media instructions
REV, REV16, REVSH
Only their ARM encoding, Thumb encoding is still missing.
11 years ago
aroulin
e4ff244288
arm_disasm: ARMv6 saturation media instructions
SSAT, SSAT16, USAT, USAT16
11 years ago
aroulin
47657a1817
arm_disasm: ARMv6 packing and sign-extend media instructions
PKH, SEL
SXTAB, SXTAB16, SXTB, SXTB16, SXTH, SXTAH
UXTAB, UXTAB16, UXTB, UXTB16, UXTH, UXTAH
11 years ago
Lioncash
3b457a5876
arm_interface: Implement interface for retrieving VFP registers
11 years ago
Lioncash
59d5358068
arm_disasm: Remove unnecessary code
This part of disassembly only determines the opcode, there's no need for offset calculation here.
11 years ago
aroulin
3425cfe54a
Disassembler: ARMv6K REX instructions
11 years ago
aroulin
5d81a2fd48
Disassembler: ARMv6K hint instructions
11 years ago
Lioncash
75631b2a9f
core: Eliminate some unused variable warnings
11 years ago
Lioncash
46663d657f
dyncom: Remove an unused variable
This was used prior to InterpreterTranslate existing.
11 years ago
Lioncash
12a9e8502c
core: Fix missing prototype warnings
11 years ago