Lioncash
9be4ef3879
dyncom: Remove an unnecessary typedef
11 years ago
Lioncash
89540ea761
dyncom: Use enum class for instruction decoding results
11 years ago
James Rowe
1bc7829ee9
Move input values into an array
11 years ago
Lioncash
7e4fb4db19
dyncom: Remove code duplication regarding thumb instructions
11 years ago
Lioncash
a507ea23c1
dyncom: Migrate exclusive memory access control into armstate
11 years ago
Lioncash
db4e99c186
dyncom: Remove duplicated typedef and extern
These are already present in arm_dyncom_dec.h.
11 years ago
Lioncash
816b1ca776
dyncom: Use std::array for register arrays
11 years ago
Lioncash
0ecc6e2f04
dyncom: Use ARMul_State as an object
Gets rid of C-like parameter passing.
11 years ago
Lioncash
03213f893e
dyncom: Remove unnecessary initialization code.
Targeting ARM version variants was only a thing on armemu.
The reset routine also does basically the same thing as NewState.
11 years ago
Lioncash
3257d797e1
dyncom: Remove unnecessary abort-related cruft
Both the MPCore and the ARM9 have the same data abort model (base restored), so differentiating isn't necessary.
11 years ago
Lioncash
dfb424b6d1
dyncom: Rename armdefs.h to armstate.h
11 years ago
Lioncash
4bb1a5ca47
dyncom: Get rid of skyeye typedefs
11 years ago
Lioncash
0191c26521
dyncom: Move helper functions to their own header
11 years ago
Lioncash
6b73e4566b
dyncom: Move arminit.cpp and armsupp.cpp into skyeye_common
11 years ago
Lioncash
f7ba683dc3
armdefs: Remove unnecessary extern keywords
11 years ago
Lioncash
43d799fd9d
loader: Remove unnecessary else usages
11 years ago
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.
11 years ago
Subv
6c0ea5f5e8
Qt/GPU Breakpoints: Added three more breakpoint types:
* IncomingDisplayTransfer: Triggered just before a display transfer is performed.
* GSPCommandProcessed: Triggered right after a GSP command is processed.
* BufferSwapped: Triggered when the frames flip
11 years ago
Subv
f5bff67b0b
Services/Logging: Log more useful information when some operations fail.
Namely OpenFileDirectly, OpenDirectory and OpenArchive
11 years ago
Lioncash
c2689b8c2c
dyncom: Pass SVC immediates directly.
Previously it would just re-read the already decoded instruction and extract the immediate value.
11 years ago
Subv
13f93a0188
Services/AM: Stubbed am:app::GetNumContentInfos to return 0 results.
Named the service functions in am:app as per 3dbrew.
This fixes an illegal read loop in Steel Diver
11 years ago
Subv
38a7f1b727
Services/CFG: Added some missing functions to cfg:s
11 years ago
Subv
275aaeef9c
Kernel/Scheduling: Clean up a thread's wait_objects when its scheduled.
They'll be reset if needed during the next svcWaitSynchronization call (if there's any pending)
11 years ago
Subv
63dbff9b1f
GPU/DisplayTransfer: Implemented bit 5 in the transfer flags.
It tells the GPU to not swizzle/de-swizzle the input during the transfer.
11 years ago
Lioncash
a2f0a3d019
dyncom: Properly retrieve the PC value in BX if used.
11 years ago
archshift
84a88005e2
Change trace/unimplemented service call logs to use hex
Changes the log to use hex in the parameter list instead of decimal.
11 years ago
archshift
d1e6afaba1
Add more frd:u unknown service commands from 3dbrew
11 years ago
zawata
972dccc3f6
Core : Change variable type
and fix various warnings
11 years ago
zawata
1be1ff23a9
Core : Fix Conversion Warnings
11 years ago
Yuri Kunde Schlesner
13286903e6
Dyncom: Support for a missing ARMv6 Thumb MOV encoding
11 years ago
Subv
83fa3f977d
Kernel/SVC: Implemented svcQueryProcessMemory
11 years ago
Subv
9e2962081a
Kernel/SVC: Implemented svcQueryMemory.
11 years ago
zawata
f723a498e7
Core\HLE : Fix Warning
"signed/unsigned mismatch"
11 years ago
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.
11 years ago
Lioncash
23dbbb786a
arm_dyncom_interpreter: Simplify assignment in SMLAW
Also a side-benefit of not having implementation-defined behavior.
11 years ago
Yuri Kunde Schlesner
62c2a262b2
Loader: Fix variable type and remove unused variable
11 years ago
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.
11 years ago
Yuri Kunde Schlesner
2d7299a86f
Loader: Remove unnecessary pointer indirection to IOFile
11 years ago
condut
c385b7767d
FS: Stream RomFS from file instead of loading all of it to memory
11 years ago
Tony Wasserka
29abb11e8f
CiTrace: Clean up initialization method.
11 years ago
Tony Wasserka
fd62580985
CiTrace: Record default vertex attributes.
11 years ago
Tony Wasserka
902fa4da52
Add CiTrace recording support.
This is exposed in the GUI as a new "CiTrace Recording" widget.
Playback is implemented by a standalone 3DS homebrew application (which only runs reliably within Citra currently; on an actual 3DS it will often crash still).
11 years ago
Tony Wasserka
93d66475d4
GPU: Be robust against nullptr addresses; properly reset busy bits in the trigger registers.
11 years ago
Tony Wasserka
256bdfb579
HW: Fix a stupid issue which led to unknown register reads/writes.
11 years ago
Yuri Kunde Schlesner
d4f35fd989
Kernel: Add CodeSet case to Object::IsWaitable
11 years ago
Emmanuel Gil Peyrot
fe909b3b5a
Core: Fix applet includes using iwyu.
11 years ago
aroulin
1f125a04c3
Y2R: Fix narrowing warning
11 years ago
Subv
725d5eea78
Applets: Reworked how the Applet update event is handled.
Applets are now cleaned up in AppletUpdateEvent after calling their respective Update method.
11 years ago
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.
11 years ago
Yuri Kunde Schlesner
51820691e7
Memory: Fix unmapping of pages
11 years ago