Add ability to read media section
This commit is contained in:
@@ -7,18 +7,20 @@ add_executable(
|
||||
main.cpp
|
||||
)
|
||||
|
||||
if(COMMAND objcopy_file)
|
||||
if(COMMAND OBJCOPY_FILE)
|
||||
set_target_properties(nostalgia
|
||||
PROPERTIES
|
||||
LINK_FLAGS ${LINKER_FLAGS}
|
||||
COMPILER_FLAGS "-mthumb -mthumb-interwork"
|
||||
)
|
||||
|
||||
objcopy_file(nostalgia)
|
||||
OBJCOPY_FILE(nostalgia)
|
||||
#PADBIN_FILE(nostalgia)
|
||||
endif()
|
||||
|
||||
target_link_libraries(
|
||||
nostalgia
|
||||
NostalgiaCore
|
||||
${OxStd_LIBRARY}
|
||||
${OxFS_LIBRARY}
|
||||
)
|
||||
|
||||
@@ -12,5 +12,6 @@ using namespace nostalgia;
|
||||
|
||||
int main() {
|
||||
core::init();
|
||||
while (1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user