minor header corrections

This commit is contained in:
Robin Jones 2017-10-27 20:11:03 +01:00
parent 036f875a8e
commit b1936b6dd1
4 changed files with 10 additions and 12 deletions

View File

@ -1,3 +1,10 @@
//
// Copyright (c) 2017 The Altra64 project contributors
// See LICENSE file in the project root for full license information.
//
#ifndef _CIC_H
#define _CIC_H
#define CIC_6101 1 #define CIC_6101 1
#define CIC_6102 2 #define CIC_6102 2
@ -10,3 +17,4 @@
int get_cic(unsigned char *rom_data); int get_cic(unsigned char *rom_data);
#endif

View File

@ -33,5 +33,5 @@ void memcopy(void *src, void *dst, u16 len);
void memSpiSetDma(u8 mode); void memSpiSetDma(u8 mode);
void memRomWrite32(u32 addr, u32 val); void memRomWrite32(u32 addr, u32 val);
u32 memRomRead32(u32 addr); u32 memRomRead32(u32 addr);
#endif /* _MEM_H */
#endif /* _MEM_H */

View File

@ -12,4 +12,4 @@ void printText(char *msg, int x, int y, display_context_t dcon);
void menu_about(display_context_t disp); void menu_about(display_context_t disp);
#endif #endif

View File

@ -7,16 +7,6 @@
#ifndef _UTILS_H #ifndef _UTILS_H
#define _UTILS_H #define _UTILS_H
// rom.h
// rom tools - header inspect
//#include <stdint.h>
//#include <libdragon.h>
//#include "rom.h"
#if !defined(MIN) #if !defined(MIN)
#define MIN(a, b) ({ \ #define MIN(a, b) ({ \