remove a bunch of common.h includes, since that file's almost dead

This commit is contained in:
zeromus 2016-08-16 05:39:30 -05:00
parent 84e5c98ef0
commit 1705b3eb21
20 changed files with 4 additions and 23 deletions

View File

@ -25,7 +25,6 @@
#include "utils/bits.h"
#include "armcpu.h"
#include "common.h"
#include "debug.h"
#include "driver.h"
#include "NDSSystem.h"

View File

@ -22,7 +22,6 @@
#include <algorithm>
#include "armcpu.h"
#include "common.h"
#include "instructions.h"
#include "cp15.h"
#include "bios.h"

View File

@ -19,7 +19,6 @@
#include "utils/bits.h"
#include "NDSSystem.h"
#include "common.h"
#include "mem.h"
#include "MMU.h"
#include "debug.h"

View File

@ -21,7 +21,6 @@
#include <stdio.h>
#include <commctrl.h>
#include "common.h"
#include "MMU.h"
#include "NDSSystem.h"

View File

@ -42,7 +42,6 @@
#endif
#include "types.h"
#include "common.h"
#include "NDSSystem.h"
#include "slot2.h"
#include "debug.h"

View File

@ -39,7 +39,6 @@
#include <stdio.h>
//emulator core
#include "common.h" //wtf this needs to disappear
#include "MMU.h"
#include "armcpu.h"
#include "NDSSystem.h"

View File

@ -22,7 +22,6 @@
#include <windowsx.h>
#include <commctrl.h>
#include "common.h"
#include "NDSSystem.h"
#include "emufile.h"
#include "MMU.h"

View File

@ -16,7 +16,6 @@
*/
#define WIN32_LEAN_AND_MEAN
#include "common.h"
#include "debug.h"
//in case we ever need glew

View File

@ -17,7 +17,6 @@
*/
#include "common.h"
#include <windowsx.h>
#include <shlwapi.h>
#include <shlobj.h>

View File

@ -55,7 +55,6 @@
#include <list>
#include <vector>
#include "common.h"
#include "NDSSystem.h"
#include "MMU.h"

View File

@ -26,7 +26,6 @@
#include <commctrl.h>
#include <string>
#include "common.h"
#include "NDSSystem.h"
#include "path.h"
#include "MMU.h"

View File

@ -21,7 +21,6 @@
#include <string>
#include <shlwapi.h>
#include "common.h"
#include "resource.h"
#include "winutil.h"

View File

@ -23,7 +23,6 @@
#include <windowsx.h>
#include <algorithm>
#include "common.h"
#include "NDSSystem.h"
#include "debug.h"
#include "matrix.h"

View File

@ -15,7 +15,6 @@
along with the this software. If not, see <http://www.gnu.org/licenses/>.
*/
#include "common.h"
#include "path.h"
#include "winutil.h"
#include <stdio.h>

View File

@ -37,7 +37,6 @@
#include <queue>
#include "armcpu.h"
#include "common.h"
#include "debug.h"
#include "driver.h"
#include "emufile.h"

View File

@ -24,9 +24,9 @@
typedef HMENU PlatformMenu; // hMenu
#define MAX_MENU_COUNT (IDC_LUAMENU_RESERVE_END - IDC_LUAMENU_RESERVE_START + 1)
#include "windows/main.h"
#include "windows/video.h"
#include "windows/resource.h"
#include "frontend/windows/main.h"
#include "frontend/windows/video.h"
#include "frontend/windows/resource.h"
#else
// TODO: define appropriate types for menu
typedef void* PlatformMenu;

View File

@ -34,7 +34,6 @@
#include "debug.h"
#include "driver.h"
#include "rtc.h"
#include "common.h"
#include "mic.h"
#include "version.h"
#include "GPU_osd.h"

View File

@ -49,7 +49,6 @@
#include <emmintrin.h>
#endif
#include "common.h"
#include "matrix.h"
#include "render3D.h"
#include "gfx3d.h"

View File

@ -25,7 +25,6 @@
#endif
#include "utils/bits.h"
#include "common.h"
#include "gfx3d.h"
#include "MMU.h"
#include "texcache.h"

View File

@ -20,13 +20,12 @@
// TODO: interrupt handler
#include "rtc.h"
#include "common.h"
#include "debug.h"
#include "armcpu.h"
#include <string.h>
#include "saves.h"
#ifdef WIN32
#include "windows/main.h"
#include "frontend/windows/main.h"
#endif
#include "movie.h"