Add ability to read media section

This commit is contained in:
2017-04-07 18:49:41 -05:00
parent ae5b199b1f
commit fd5beb2adf
10 changed files with 135 additions and 48 deletions
+4 -2
View File
@@ -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}
)
+1
View File
@@ -12,5 +12,6 @@ using namespace nostalgia;
int main() {
core::init();
while (1);
return 0;
}