Lioncash
08147474cb
general: Silence some warnings when using clang
10 years ago
Yuri Kunde Schlesner
318429ff53
Service/CFG: Add default entry for block 0x000A0001 (birthday)
10 years ago
Yuri Kunde Schlesner
6b451adbf2
Service/CFG: Correct flags in 2 default blocks
Verified against a 9.2.0-20 config save
10 years ago
Yuri Kunde Schlesner
737572c283
Service/CFG: Add additional blocks to default save data
These blocks are required by various games to boot.
10 years ago
Yuri Kunde Schlesner
6a8deb9b91
Fix narrowing conversion warning
10 years ago
Yuri Kunde Schlesner
9a28ef260b
Service/CFG: Move several private types from the header to the cpp
10 years ago
Yuri Kunde Schlesner
8fa38e6011
Service/CFG: Clean up default block creation
10 years ago
Yuri Kunde Schlesner
222d77c31a
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
5c77b656b8
General: Replace NULL and '0' usages with nullptr where applicable
10 years ago
Lioncash
54fa043c92
General: Fix up doxygen comments
10 years ago
archshift
0b274a5ca5
Add cam:u service function names to its function table
10 years ago
Yuri Kunde Schlesner
e5bcc24426
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
Yuri Kunde Schlesner
6bef26d764
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
990ff3f241
Kernel: Fix assertion failure when ControlMemory is called with size=0
10 years ago
Yuri Kunde Schlesner
b9b540a222
Core: Improve APT Shared Font hack
Should fix invalid read loops in some games
10 years ago
Yuri Kunde Schlesner
424b0fa646
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
209113743f
GPU: Implement TextureCopy-mode display transfers
Fixes glitchy garbage in Fire Emblem 3D scenes.
11 years ago
Yuri Kunde Schlesner
984bea6698
Kernel: Remove unused legacy heap MapBlock_* functions
11 years ago
Yuri Kunde Schlesner
bad440fdc9
APT: Adjust shared font hack so it works with the new linear heap code
11 years ago
Yuri Kunde Schlesner
00e9d19f28
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
e34643a3e4
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
cbc7419408
HLE: Remove empty ConfigMem and SharedPage Shutdown functions
11 years ago
Yuri Kunde Schlesner
6bb23baf0a
Move core/mem_map.{cpp,h} => core/hle/kernel/memory.{cpp,h}
11 years ago
Yuri Kunde Schlesner
168d376c67
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
521cb56792
Process: Store kernel compatibility version during loading
11 years ago
Yuri Kunde Schlesner
8850ade24d
Kernel: Properly implement ControlMemory FREE and COMMIT
11 years ago
Yuri Kunde Schlesner
ce332ef416
VMManager: Introduce names for used ResultCodes
11 years ago
Yuri Kunde Schlesner
f287e6dff4
VMManager: Make LogLayout log level configurable as a parameter
11 years ago
Yuri Kunde Schlesner
c31e812624
VMManager: Change block offsets to size_t
11 years ago
Lioncash
75631b2a9f
core: Eliminate some unused variable warnings
11 years ago
Lioncash
12a9e8502c
core: Fix missing prototype warnings
11 years ago
Lioncash
6b25e93119
am_net: Add missing function to the function table
11 years ago
Lioncash
bed3618480
am_net: Add correct function name to the function table
11 years ago
James Rowe
1bc7829ee9
Move input values into an array
11 years ago
Lioncash
dfb424b6d1
dyncom: Rename armdefs.h to armstate.h
11 years ago
Subv
599744921d
Service/APT: Fixed a regression, PreloadLibraryApplet should also start an applet when called.
11 years ago
Subv
ce31184557
Service/APT: Return proper parameters in GetLockHandle.
Documented some APT functions
This allows applets to boot.
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
zawata
395e63d5aa
SOC:U : Update deprecated function gethostbyname() to getaddrinfo()
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
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