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