summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2024-07-03 20:20:42 +0100
committerGitHub <noreply@github.com>2024-07-03 20:20:42 +0100
commit654ccb0b705c65acbb91d030e101b11e3da586d6 (patch)
tree54859f0403381fa26363a07e73aced3732642f87
parent18962f6f15aa84a5f973bbd3c81d5a3d73f5e773 (diff)
parentb5ccb59feb05809f21d281eafdc9f56ea64942cf (diff)
Merge pull request #12908 from GaryOderNichts/stm/immediate/writedmcu
IOS::HLE::STMImmediateDevice: Add `IOCTL_STM_WRITEDMCU`
-rw-r--r--Source/Core/Core/IOS/STM/STM.cpp1
-rw-r--r--Source/Core/Core/IOS/STM/STM.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/Core/IOS/STM/STM.cpp b/Source/Core/Core/IOS/STM/STM.cpp
index 06571b4ae3..e262fc4001 100644
--- a/Source/Core/Core/IOS/STM/STM.cpp
+++ b/Source/Core/Core/IOS/STM/STM.cpp
@@ -65,6 +65,7 @@ std::optional<IPCReply> STMImmediateDevice::IOCtl(const IOCtlRequest& request)
case IOCTL_STM_READDDRREG2:
case IOCTL_STM_LEDFLASH:
case IOCTL_STM_READVER:
+ case IOCTL_STM_WRITEDMCU:
ERROR_LOG_FMT(IOS_STM, "{} - Unimplemented IOCtl: {}", GetDeviceName(), request.request);
break;
diff --git a/Source/Core/Core/IOS/STM/STM.h b/Source/Core/Core/IOS/STM/STM.h
index ae2068b792..f249c66d95 100644
--- a/Source/Core/Core/IOS/STM/STM.h
+++ b/Source/Core/Core/IOS/STM/STM.h
@@ -32,6 +32,7 @@ enum
IOCTL_STM_LEDFLASH = 0x6001,
IOCTL_STM_LEDMODE = 0x6002,
IOCTL_STM_READVER = 0x7001,
+ IOCTL_STM_WRITEDMCU = 0x8001,
};
enum