clean includes

This commit is contained in:
Gwenhael Le Moine 2023-10-03 16:24:20 +02:00
parent 493c6df450
commit 36cf9a1aac
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
14 changed files with 25 additions and 15 deletions

View file

@ -1,4 +1,5 @@
#include <string.h>
#include "types.h"
#include "rom.h"
#include "ram.h"

View file

@ -1,4 +1,5 @@
#include <stdlib.h>
#include "color.h"
#define RESERVED_LCD 128

View file

@ -1,9 +1,10 @@
#include <stdio.h>
#include "types.h"
#include "emulator.h"
#include "bus.h"
#include "opcodes.h"
#include "cpu.h"
#include <stdio.h>
Cpu cpu;

View file

@ -1,6 +1,8 @@
#include <stdlib.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <stdlib.h>
#include "types.h"
#include "bus.h"
#include "pcalc.h"

View file

@ -2,7 +2,6 @@
#define __DISPLAY_H
#include <stdlib.h>
#include <SDL2/SDL.h>
#include "types.h"

View file

@ -1,10 +1,10 @@
#include <stdlib.h>
#include <stdio.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_ttf.h>
#include <stdlib.h>
#include <stdio.h>
#include "color.h"
#include "pcalc.h"
#include "pfiles.h"

View file

@ -1,10 +1,14 @@
#include <stdlib.h>
#include <stdio.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_ttf.h>
#include "types.h"
#include "emulator.h"
#include "gui.h"
#include "color.h"
#include "display.h"
#include "gui.h"
#include "timers.h"
@ -12,10 +16,6 @@
#include "pcalc.h"
#include "pfiles.h"
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_ttf.h>
const int SCREEN_WIDTH = 524;
const int SCREEN_HEIGHT = 750;

View file

@ -1,4 +1,5 @@
#include <string.h>
#include "types.h"
#include "cpu.h"
#include "bus.h"

View file

@ -2,6 +2,7 @@
#define __OPINLINE_H
#include <string.h>
#include "emulator.h"
#include "cpu.h"

View file

@ -1,4 +1,5 @@
#include <stdlib.h>
#include "color.h"
#include "display.h"
#include "keyboard.h"

View file

@ -1,15 +1,15 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <libgen.h> // dirname
#include <unistd.h> // readlink
#include <linux/limits.h> // PATH_MAX
#include "color.h"
#include "gui.h"
#include "rpl.h"
#include "pfiles.h"
#include <libgen.h> // dirname
#include <unistd.h> // readlink
#include <linux/limits.h> // PATH_MAX
char WorkingPath[ 512 ];
void getExePath()

View file

@ -1,4 +1,5 @@
#include <stdlib.h>
#include "types.h"
#include "bus.h"
#include "ports.h"

View file

@ -1,5 +1,6 @@
#include <stdlib.h>
#include <string.h>
#include "types.h"
#include "bus.h"
#include "ram.h"

View file

@ -1,4 +1,5 @@
#include <stdlib.h>
#include "types.h"
#include "bus.h"
#include "opinline.h"