Decompile 2 functions in Source/Render/DX7/DeviceCapabilitiesDX7.cpp, Source/Render/DeviceContext/DCSurface.cpp, ...

Batch #18664 by eAthena: 0 byte-identical, 2 confirmed by peer review.

- fn_07644 NThread::~NThread: logic confirmed by peer review (already on main)
- fn_45509 NThread::Stop: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, cremane, bibinir
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-11-12 18:15:00 +00:00
commit 75dfda51ff

View file

@ -73,6 +73,8 @@ bool NThread::Start() {
// FUNCTION: fn_45509
void NThread::Stop() {
switch (this->m_state) {
case 0:
return;
case 2:
if (ResumeThread(this->m_handle) != static_cast<DWORD>(-1)) {
this->m_state = 1;
@ -89,8 +91,6 @@ void NThread::Stop() {
}
this->m_state = 0;
break;
default:
break;
}
}