Subv
9a72fb79fc
Services/AM: Stubbed TitleIDListGetTotal and GetTitleIDList.
They will always return 0 titles for every media type for now.
This is needed to boot Home Menu further
11 years ago
Subv
db1a5d4222
Services/FS: Stubbed CardSlotIsInserted to always return false
We won't be emulating this for the foreseeable future and it is needed for Home Menu to boot further
11 years ago
Subv
c36778e602
Services/PTM: Stubbed PTM_Sysm::IsLegacyPowerOff.
This allows the Home Menu to boot further
11 years ago
Lioncash
99ff8bbb0c
result: Make comparison operators take references
It's unnecessary to make copies for simple comparisons like this.
11 years ago
Subv
9db5c9b6dc
Archives: Properly implemented the SystemSaveData archive.
Ported to the new factory pattern we have for archives.
11 years ago
Subv
ef66feaeba
Services: Implemented Y2R_U::GetTransferEndEvent
Aero Porter was throwing an "Invalid Handle" fatal error without this.
11 years ago
archshift
0420a4d1de
Added information reporting from ThrowFatalError
This was RE'd from the errdisp applet.
11 years ago
Emmanuel Gil Peyrot
aa64f69af0
Frontends, HID: Add New 3DS specific pad buttons, and stub the touch one.
11 years ago
archshift
4fb75d220a
Misc cleanup of common and related functions
11 years ago
archshift
3c48697ea3
Convert a few C stdlib asserts to Citra's own asserts
11 years ago
Tony Wasserka
0da6a7e234
GPU: Properly implement memory fills.
11 years ago
purpasmart96
c3c309f33d
ConfigMem: Clean up the Config memory to be more like the shared page and moved
the helper macro for padding to common_funcs.h
11 years ago
Subv
cb3d254517
Services: Fixed "Tried to connect to named port err:f".
err:f is a named port, not a service
11 years ago
Lioncash
0c6434c379
core: Apply static to local functions
11 years ago
Subv
8e2b248e05
Build: Fixed some warnings
11 years ago
Kevin Hartman
a56f3f290e
Implemented WriteHWRegsWithMask for GSP.
11 years ago
archshift
ef24e72b26
Asserts: break/crash program, fit to style guide; log.h->assert.h
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time)
As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing)
Also removed some GEKKO cruft.
11 years ago
bunnei
168eb27aee
GSP: Fixed typo in SignalInterrupt
11 years ago
bunnei
9eae2400c0
GSP: Call SetBufferSwap for each screen on corresponding signal interrupt.
11 years ago
Subv
0d2b6dd656
PTM: Fixed a problem with the gamecoin PTM file.
11 years ago
Subv
1bbf0567b1
Archives: Made the Format function more generic.
11 years ago
Subv
071663e074
Archives: Expose the File and Directory classes to HLE
11 years ago
Subv
ca1a87ef7d
ResultVal: Fixed compilation when reassigning a ResultVal.
11 years ago
Yuri Kunde Schlesner
3f1a3952d7
FS: Allow multiple instances of the same archive type to be open at once
11 years ago
Yuri Kunde Schlesner
4468625080
FS: Get rid of completely useless Archive class
11 years ago
Kevin Hartman
5fcbfc06eb
Scheduler refactor Pt. 1
* Simplifies scheduling logic, specifically regarding thread status. It should be much clearer which statuses are valid
for a thread at any given point in the system.
* Removes dead code from thread.cpp.
* Moves the implementation of resetting a ThreadContext to the corresponding core's implementation.
Other changes:
* Fixed comments in arm interfaces.
* Updated comments in thread.cpp
* Removed confusing, useless, functions like MakeReady() and ChangeStatus() from thread.cpp.
* Removed stack_size from Thread. In the CTR kernel, the thread's stack would be allocated before thread creation.
11 years ago
bunnei
1b0bf00cbc
Mutex: Locks should be recursive.
11 years ago
bunnei
caa58acc84
WaitSynch: Always reschedule (verified behavior on hw).
11 years ago
purpasmart96
60ce36f721
Services: Stub some functions
11 years ago
Lioncash
676daef3c7
core: Fix some warnings on OSX
11 years ago
Yuri Kunde Schlesner
88a4a808c6
Kernel: Stop creating useless Handles during object creation
They're finally unnecessary, and will stop cluttering the application's
handle table.
11 years ago
Yuri Kunde Schlesner
52f58e64ef
Kernel: Make WaitObjects share ownership of Threads waiting on them
During normal operation, a thread waiting on an WaitObject and the
object hold mutual references to each other for the duration of the
wait.
If a process is forcefully terminated (The CTR kernel has a SVC to do
this, TerminateProcess, though no equivalent exists for threads.) its
threads would also be stopped and destroyed, leaving dangling pointers
in the WaitObjects.
The solution is to simply have the Thread remove itself from WaitObjects
when it is stopped. The vector of Threads in WaitObject has also been
changed to hold SharedPtrs, just in case. (Better to have a reference
cycle than a crash.)
11 years ago
Yuri Kunde Schlesner
7725256f64
Explicitly instantiate constructors/destructors for Kernel objects
This should speed up compile times a bit, as well as enable more liberal
use of forward declarations. (Due to SharedPtr not trying to emit the
destructor anymore.)
11 years ago
Yuri Kunde Schlesner
4e84df8be3
Mutex: Replace g_mutex_held_locks with a set inside Thread
11 years ago
Yuri Kunde Schlesner
0f69668fc6
HID: Fix crash when pressing a key when the emulator is stopped
11 years ago
Yuri Kunde Schlesner
c4208c1171
SVC: Enable CloseHandle, clean up DuplicateHandle
11 years ago
Yuri Kunde Schlesner
e8330dd162
Kernel: Fix bug in HandleTable::Close
11 years ago
Yuri Kunde Schlesner
5354a479bc
Kernel: Remove Object::GetHandle (it's not used anymore :D)
11 years ago
Yuri Kunde Schlesner
869ec46683
Kernel: Introduce unique Object ids for debugging
11 years ago
Yuri Kunde Schlesner
a9b86db3cf
Kernel: Use separate Handle tables for CoreTiming userdata
This is to support the removal of GetHandle soon
11 years ago
Yuri Kunde Schlesner
ec9c773251
Kernel: Remove previous scheduled event when a Timer is re-Set
11 years ago
Yuri Kunde Schlesner
8441591659
FS: Remove use of GetHandle
11 years ago
Yuri Kunde Schlesner
664c79ff47
Thread: Modernize two functions that slipped through previous rebases
11 years ago
Yuri Kunde Schlesner
6e11570862
Service: Store function names as const char* instead of std::string
Uses less memory (strings and function table is stored in constant data)
and speeds up start up (no need to allocate and copy strings).
11 years ago
Yuri Kunde Schlesner
a79d21c83e
Service: Clean-up Interface
11 years ago
Yuri Kunde Schlesner
8779b31fe6
Make Port/Service registration and querying more HW-accurate
11 years ago
Yuri Kunde Schlesner
5e91fc0d1a
Filesys: Move creation of Handles for File/Directory to service handlers
11 years ago
Lioncash
3f00dd9117
arm: Clean up ARMul_State
Remove unnecessary/unused struct variables.
11 years ago
Lioncash
96c174aed4
shared_memory: Fix assignments in SharedMemory::Map
11 years ago
Lioncash
551264f815
archive: Fix initializer list order for the File class.
11 years ago