Skip to content

Commit 5f9ae4f

Browse files
committed
Fix annotation
1 parent 9ed8b6d commit 5f9ae4f

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

GolDP/include/goldrawdpstate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class GolDrawDPState : public GolCommonDrawState {
7878
GolDeviceList m_deviceList; // 0x2e4
7979
LegoChar* m_driverName; // 0x2f4
8080
LegoChar* m_deviceName; // 0x2f8
81-
undefined m_unk0x2fc[0xc8ac4 - 0x2fc]; // 0x30
81+
undefined m_unk0x2fc[0xc8ac4 - 0x2fc]; // 0x2fc
8282
};
8383

8484
#endif // GOLDP_GOLDPSTATE_H

GolDP/src/goldevicelist.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ typedef unsigned int uintptr_t;
2727
#define GWLP_HINSTANCE_COMPAT GWLP_HINSTANCE
2828
#endif
2929

30-
#define ALIGN(PTR, A) ((uintptr_t) (reinterpret_cast<char*>(PTR) + ((A) -1)) & ~((A) -1))
30+
#define ALIGN(PTR, A) ((uintptr_t) (reinterpret_cast<char*>(PTR) + ((A) - 1)) & ~((A) - 1))
3131

3232
// GLOBAL: GOLDP 0x10063550
3333
GolDeviceList* GolDeviceList::g_dialogDeviceList;
@@ -227,7 +227,8 @@ GolDeviceList::GolD3DDeviceInfo* GolDeviceList::FindMatchingDevice(
227227

228228
return NULL;
229229
}
230-
else if ((p_flags & GolDrawState::c_flagBit9) && !(p_flags & (GolDrawState::c_flagBit13 | GolDrawState::c_flagBit11))) {
230+
else if ((p_flags & GolDrawState::c_flagBit9) &&
231+
!(p_flags & (GolDrawState::c_flagBit13 | GolDrawState::c_flagBit11))) {
231232
for (m_driverIndex = 0; m_driverIndex < m_countDrivers; m_driverIndex++) {
232233
driver = &m_drivers[m_driverIndex];
233234
if (!driver->m_unk0x00 && driver->m_accelerated) {

0 commit comments

Comments
 (0)