core/hle: Implement TMA (Target Manager Agent) service

Add implementation for the TMA service which provides file I/O
and debugging functionality for development tools.

Changes:
- Add TMA service with IFileManager, IFileAccessor, and IDirectoryAccessor
- Implement stubbed file operations (ReadFile, WriteFile, GetFileSize, etc.)
- Implement stubbed directory operations (ReadDirectory, GetEntryCount, etc.)
- Add TMA logging category for service debugging
- Fix parameter alignment in ReadFile function signature

All functions are provided as-is to allow games and development tools to initialize
without errors.

Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
Zephyron
2025-07-01 16:25:30 +10:00
parent 7f5661440a
commit 04b0624930
14 changed files with 1041 additions and 0 deletions

View File

@@ -1090,6 +1090,16 @@ add_library(core STATIC
hle/service/ssl/ssl.h
hle/service/ssl/ssl_backend.h
hle/service/ssl/ssl_types.h
hle/service/tma/file_io.cpp
hle/service/tma/file_io.h
hle/service/tma/htc.cpp
hle/service/tma/htc.h
hle/service/tma/htc_tenv.cpp
hle/service/tma/htc_tenv.h
hle/service/tma/htcs.cpp
hle/service/tma/htcs.h
hle/service/tma/tma.cpp
hle/service/tma/tma.h
hle/service/usb/usb.cpp
hle/service/usb/usb.h
hle/service/vi/application_display_service.cpp