mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-29 12:50:35 +00:00
make DEBUGBREAK flag for add_application work again
This commit is contained in:
parent
008ffe1401
commit
278780642e
@ -43,7 +43,7 @@ function(add_application name)
|
||||
add_executable(${name} ${files} ${rez_files})
|
||||
|
||||
if(${ARGS_DEBUGBREAK})
|
||||
list(APPEND ARGS_MAKEAPPL_ARGS -b)
|
||||
list(APPEND ARGS_MAKEAPPL_ARGS -DBREAK_ON_ENTRY)
|
||||
endif()
|
||||
if(${ARGS_CONSOLE})
|
||||
target_link_libraries(${name} RetroConsole)
|
||||
|
@ -4,7 +4,12 @@
|
||||
resource 'CODE' (0) RETRO68_JUMP_TABLE;
|
||||
|
||||
resource 'CODE' (1) {
|
||||
dontBreakAtEntry, $$read(FLT_FILE_NAME);
|
||||
#ifdef BREAK_ON_ENTRY
|
||||
breakAtEntry,
|
||||
#else
|
||||
dontBreakAtEntry,
|
||||
#endif
|
||||
$$read(FLT_FILE_NAME);
|
||||
};
|
||||
|
||||
resource 'SIZE' (-1) {
|
||||
|
Loading…
Reference in New Issue
Block a user