mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-30 14:34:22 +01:00
Code cleanup and fix include references
- Fixed all broken include references - Cleanup memmap.cpp code by removing UNZIP and JMA SUPPORT code which are not used - Cleanup reader.cpp code by removing the UNZIP SUPPORT reference to unzip.h
This commit is contained in:
parent
e41f513ee3
commit
70c7e883d7
@ -9,8 +9,8 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "port.h"
|
||||
#include "cheats.h"
|
||||
#include "snes9x/port.h"
|
||||
#include "snes9x/cheats.h"
|
||||
|
||||
#include "snes9xgx.h"
|
||||
#include "fileop.h"
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "filter.h"
|
||||
#include "video.h"
|
||||
#include "snes9xgx.h"
|
||||
#include "memmap.h"
|
||||
#include "snes9x/memmap.h"
|
||||
|
||||
#include "menu.h"
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "snes9x.h"
|
||||
#include "snes9x/snes9x.h"
|
||||
|
||||
enum RenderFilter{
|
||||
FILTER_NONE = 0,
|
||||
|
@ -9,7 +9,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
#include "gui.h"
|
||||
#include "filebrowser.h"
|
||||
#include "../filebrowser.h"
|
||||
|
||||
/**
|
||||
* Constructor for the GuiFileBrowser class.
|
||||
|
@ -9,7 +9,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
#include "gui.h"
|
||||
#include "filebrowser.h"
|
||||
#include "../filebrowser.h"
|
||||
|
||||
/**
|
||||
* Constructor for the GuiSaveBrowser class.
|
||||
|
@ -10,9 +10,9 @@
|
||||
#include "blargg_endian.h"
|
||||
|
||||
#ifdef DEBUGGER
|
||||
#include "snes9x.h"
|
||||
#include "display.h"
|
||||
#include "debug.h"
|
||||
#include "../snes9x.h"
|
||||
#include "../display.h"
|
||||
#include "../debug.h"
|
||||
#endif
|
||||
|
||||
struct SNES_SPC {
|
||||
|
@ -180,11 +180,11 @@
|
||||
|
||||
|
||||
#include <math.h>
|
||||
#include "snes9x.h"
|
||||
#include "../snes9x.h"
|
||||
#include "apu.h"
|
||||
#include "msu1.h"
|
||||
#include "snapshot.h"
|
||||
#include "display.h"
|
||||
#include "../msu1.h"
|
||||
#include "../snapshot.h"
|
||||
#include "../display.h"
|
||||
#include "linear_resampler.h"
|
||||
#include "hermite_resampler.h"
|
||||
|
||||
|
@ -179,7 +179,7 @@
|
||||
#ifndef _APU_H_
|
||||
#define _APU_H_
|
||||
|
||||
#include "snes9x.h"
|
||||
#include "../snes9x.h"
|
||||
#include "SNES_SPC.h"
|
||||
|
||||
typedef void (*apu_callback) (void *);
|
||||
|
@ -4,7 +4,7 @@
|
||||
#define __LINEAR_RESAMPLER_H
|
||||
|
||||
#include "resampler.h"
|
||||
#include "snes9x.h"
|
||||
#include "../snes9x.h"
|
||||
|
||||
static const int f_prec = 15;
|
||||
static const uint32 f__one = (1 << f_prec);
|
||||
|
@ -183,14 +183,6 @@
|
||||
#include <numeric>
|
||||
#include <assert.h>
|
||||
|
||||
#ifdef UNZIP_SUPPORT
|
||||
#include "unzip/unzip.h"
|
||||
#endif
|
||||
|
||||
#ifdef JMA_SUPPORT
|
||||
#include "jma/s9x-jma.h"
|
||||
#endif
|
||||
|
||||
#include "snes9x.h"
|
||||
#include "memmap.h"
|
||||
#include "apu/apu.h"
|
||||
|
@ -178,9 +178,6 @@
|
||||
// Abstract the details of reading from zip files versus FILE *'s.
|
||||
|
||||
#include <string>
|
||||
#ifdef UNZIP_SUPPORT
|
||||
#include "unzip.h"
|
||||
#endif
|
||||
#include "snes9x.h"
|
||||
#include "reader.h"
|
||||
|
||||
|
@ -5,8 +5,8 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#include "gettext.h"
|
||||
#include "filelist.h"
|
||||
#include "snes9xgx.h"
|
||||
#include "../filelist.h"
|
||||
#include "../snes9xgx.h"
|
||||
|
||||
typedef struct _MSG
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user