mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-14 17:28:07 +00:00
d2r2: fix missing function types on functions returning void
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
// Copyright (c) Epic Games Tools
|
// Copyright (c) Epic Games Tools
|
||||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||||
|
|
||||||
#ifndef OS_GFX_LINUX_H
|
#ifndef LINUX_WINDOW_MANAGER_H
|
||||||
#define OS_GFX_LINUX_H
|
#define LINUX_WINDOW_MANAGER_H
|
||||||
|
|
||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
//~ rjf: Includes
|
//~ rjf: Includes
|
||||||
@@ -58,4 +58,4 @@ global LNX_WM_GfxState *os_lnx_gfx_state = 0;
|
|||||||
|
|
||||||
internal LNX_WM_Window *os_lnx_window_from_x11window(Window window);
|
internal LNX_WM_Window *os_lnx_window_from_x11window(Window window);
|
||||||
|
|
||||||
#endif // OS_GFX_LINUX_H
|
#endif // LINUX_WINDOW_MANAGER_H
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
// [ ] type views for `MyByte *` example do not match correctly
|
// [ ] type views for `MyByte *` example do not match correctly
|
||||||
//
|
//
|
||||||
// [ ] many threads hitting conditional breakpoints -> causes 0x8000003 exception!
|
// [ ] many threads hitting conditional breakpoints -> causes 0x8000003 exception!
|
||||||
|
// [ ] string conditional breakpoints -> size != 0 check seems to fail, can test w/ "rd_init" subprogram type gen in d2r2
|
||||||
//
|
//
|
||||||
//- evaluation space coverage pass
|
//- evaluation space coverage pass
|
||||||
// [ ] eval space reads/writes -> needs staleness/badness info - replace ctrl layer, to apply to all spaces
|
// [ ] eval space reads/writes -> needs staleness/badness info - replace ctrl layer, to apply to all spaces
|
||||||
|
|||||||
@@ -3381,7 +3381,7 @@ d2r2_convert(Arena *arena, D2R2_ConvertParams *params)
|
|||||||
//- rjf: unpack type
|
//- rjf: unpack type
|
||||||
//
|
//
|
||||||
RDIM_Type *type = 0;
|
RDIM_Type *type = 0;
|
||||||
if(type_attrib != &dw2_attrib_nil)
|
if(type_attrib != &dw2_attrib_nil || tag.kind == DW_TagKind_SubProgram)
|
||||||
{
|
{
|
||||||
// rjf: functions need to get their type info from themselves; the type attrib
|
// rjf: functions need to get their type info from themselves; the type attrib
|
||||||
// only references the return type. so, in that case, we'll use the procedure's
|
// only references the return type. so, in that case, we'll use the procedure's
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
//~ rjf: Decide On Backend
|
//~ rjf: Decide On Backend
|
||||||
|
|
||||||
#if !defined(R_OPENGL_LINUX_BACKEND)
|
#if !defined(R_OPENGL_LINUX_BACKEND)
|
||||||
# define R_OPENGL_LINUX_BACKEND R_OPENGL_LINUX_BACKEND_EGL
|
# define R_OPENGL_LINUX_BACKEND R_OPENGL_LINUX_BACKEND_GLX
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user