mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-07 16:18:04 -04:00
lowercasing filenames, part1; makefile adjustments
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@574 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
6a13ef3f56
commit
efcba75f8a
82 changed files with 240 additions and 443 deletions
|
@ -1,4 +1,4 @@
|
|||
#include "../PicoInt.h"
|
||||
#include "../pico_int.h"
|
||||
#include "../sound/sn76496.h"
|
||||
|
||||
#ifndef UTYPES_DEFINED
|
|
@ -1,4 +1,4 @@
|
|||
#include "../PicoInt.h"
|
||||
#include "../pico_int.h"
|
||||
|
||||
// x: 0x03c - 0x19d
|
||||
// y: 0x1fc - 0x2f7
|
|
@ -4,7 +4,7 @@
|
|||
* best sounding of the ones that I tried.
|
||||
*/
|
||||
|
||||
#include "../PicoInt.h"
|
||||
#include "../pico_int.h"
|
||||
|
||||
#define ADPCMSHIFT 8
|
||||
#define ADFIX(f) (int) ((double)f * (double)(1<<ADPCMSHIFT))
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
// For commercial use, separate licencing terms must be obtained.
|
||||
|
||||
|
||||
#include "PicoInt.h"
|
||||
#include "pico_int.h"
|
||||
|
||||
// ym2612
|
||||
#include "sound/ym2612.h"
|
|
@ -7,7 +7,7 @@
|
|||
// For commercial use, separate licencing terms must be obtained.
|
||||
|
||||
|
||||
#include "PicoInt.h"
|
||||
#include "pico_int.h"
|
||||
#include "../zlib/zlib.h"
|
||||
#include "../unzip/unzip.h"
|
||||
#include "../unzip/unzip_stream.h"
|
|
@ -9,7 +9,7 @@
|
|||
* while the game runs, memcpy will suffice.
|
||||
*/
|
||||
|
||||
#include "../PicoInt.h"
|
||||
#include "../pico_int.h"
|
||||
|
||||
|
||||
/* 12-in-1 and 4-in-1. Assuming >= 2MB ROMs here. */
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// (c) Copyright 2008, Grazvydas "notaz" Ignotas
|
||||
// Free for non-commercial use.
|
||||
|
||||
#include "../../PicoInt.h"
|
||||
#include "../../pico_int.h"
|
||||
#include "compiler.h"
|
||||
|
||||
#define u32 unsigned int
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
// For commercial use, separate licencing terms must be obtained.
|
||||
|
||||
|
||||
#include "../../PicoInt.h"
|
||||
#include "../../PicoInt.h"
|
||||
#include "../../pico_int.h"
|
||||
|
||||
#ifndef UTYPES_DEFINED
|
||||
typedef unsigned char u8;
|
|
@ -12,8 +12,6 @@
|
|||
* Useful for homebrew or if a new VR revision pops up. */
|
||||
//#define DO_CHECKS
|
||||
|
||||
#include "../../PicoInt.h"
|
||||
|
||||
/*
|
||||
* Register info
|
||||
*
|
||||
|
@ -188,7 +186,7 @@
|
|||
* ops not used by VR are not implemented
|
||||
*/
|
||||
|
||||
#include "../../PicoInt.h"
|
||||
#include "../../pico_int.h"
|
||||
|
||||
#define u32 unsigned int
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
// For commercial use, separate licencing terms must be obtained.
|
||||
|
||||
|
||||
#include "../../PicoInt.h"
|
||||
#include "../../pico_int.h"
|
||||
#include "compiler.h"
|
||||
#ifdef __GP2X__
|
||||
#include <sys/mman.h>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* *
|
||||
***********************************************************/
|
||||
|
||||
#include "../PicoInt.h"
|
||||
#include "../pico_int.h"
|
||||
|
||||
#define CDC_DMA_SPEED 256
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// (c) Copyright 2007, Grazvydas "notaz" Ignotas
|
||||
|
||||
|
||||
#include "../PicoInt.h"
|
||||
#include "../pico_int.h"
|
||||
|
||||
// ym2612
|
||||
#include "../sound/ym2612.h"
|
|
@ -1,7 +1,7 @@
|
|||
// Buffering handling
|
||||
// (c) Copyright 2007, Grazvydas "notaz" Ignotas
|
||||
|
||||
#include "../PicoInt.h"
|
||||
#include "../pico_int.h"
|
||||
|
||||
int PicoCDBuffers = 0;
|
||||
static unsigned char *cd_buffer = NULL;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* *
|
||||
***********************************************************/
|
||||
|
||||
#include "../PicoInt.h"
|
||||
#include "../pico_int.h"
|
||||
#include "cd_file.h"
|
||||
#include "cue.h"
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "../PicoInt.h"
|
||||
#include "../pico_int.h"
|
||||
#include "cd_sys.h"
|
||||
#include "cd_file.h"
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ typedef struct {
|
|||
PICO_INTERNAL void LBA_to_MSF(int lba, _msf *MSF);
|
||||
PICO_INTERNAL int Track_to_LBA(int track);
|
||||
|
||||
// moved to Pico.h
|
||||
// moved to pico.h
|
||||
// int Insert_CD(char *iso_name, int is_bin);
|
||||
// void Stop_CD(void);
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include <string.h>
|
||||
#include "cue.h"
|
||||
|
||||
#include "../PicoInt.h"
|
||||
#include "../pico_int.h"
|
||||
// #define elprintf(w,f,...) printf(f "\n",##__VA_ARGS__);
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
// (c) Copyright 2007, Grazvydas "notaz" Ignotas
|
||||
|
||||
|
||||
#include "../PicoInt.h"
|
||||
#include "../pico_int.h"
|
||||
|
||||
#define _rot_comp Pico_mcd->rot_comp
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// (c) Copyright 2007, Grazvydas "notaz" Ignotas
|
||||
|
||||
|
||||
#include "../PicoInt.h"
|
||||
#include "../pico_int.h"
|
||||
|
||||
#include "../sound/ym2612.h"
|
||||
#include "../sound/sn76496.h"
|
||||
|
@ -452,7 +452,7 @@ static void OtherWrite8End(u32 a, u32 d, int realsize)
|
|||
#ifndef _ASM_CD_MEMORY_C
|
||||
#define _CD_MEMORY_C
|
||||
#undef _ASM_MEMORY_C
|
||||
#include "../MemoryCmn.c"
|
||||
#include "../memory_cmn.c"
|
||||
#include "cell_map.c"
|
||||
#endif
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
// Some misc stuff
|
||||
// (c) Copyright 2007, Grazvydas "notaz" Ignotas
|
||||
|
||||
#include "../PicoInt.h"
|
||||
#include "../pico_int.h"
|
||||
|
||||
unsigned char formatted_bram[4*0x10] =
|
||||
{
|
|
@ -2,7 +2,7 @@
|
|||
// Based on Gens code by Stéphane Dallongeville
|
||||
// (c) Copyright 2007, Grazvydas "notaz" Ignotas
|
||||
|
||||
#include "../PicoInt.h"
|
||||
#include "../pico_int.h"
|
||||
#include "pcm.h"
|
||||
|
||||
static unsigned int g_rate = 0; // 18.14 fixed point
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// (c) Copyright 2007 notaz, All rights reserved.
|
||||
|
||||
|
||||
#include "../PicoInt.h"
|
||||
#include "../pico_int.h"
|
||||
#include "../sound/ym2612.h"
|
||||
|
||||
extern unsigned char formatted_bram[4*0x10];
|
||||
|
@ -235,7 +235,7 @@ static __inline void getSamples(int y)
|
|||
|
||||
|
||||
#define PICO_CD
|
||||
#include "../PicoFrameHints.c"
|
||||
#include "../pico_cmn.c"
|
||||
|
||||
|
||||
PICO_INTERNAL void PicoFrameMCD(void)
|
|
@ -1,7 +1,7 @@
|
|||
// (c) Copyright 2007 notaz, All rights reserved.
|
||||
|
||||
|
||||
#include "../PicoInt.h"
|
||||
#include "../pico_int.h"
|
||||
|
||||
|
||||
int SekCycleCntS68k=0; // cycles done in this frame
|
|
@ -1,8 +1,8 @@
|
|||
// some debug code, just for fun of it
|
||||
// (c) Copyright 2008 notaz, All rights reserved.
|
||||
|
||||
#include "PicoInt.h"
|
||||
#include "Debug.h"
|
||||
#include "pico_int.h"
|
||||
#include "debug.h"
|
||||
|
||||
#define bit(r, x) ((r>>x)&1)
|
||||
#define MVP dstrp+=strlen(dstrp)
|
|
@ -1,4 +1,4 @@
|
|||
#include "PicoInt.h"
|
||||
#include "pico_int.h"
|
||||
|
||||
typedef unsigned char u8;
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
* AS is enabled by user and takes priority over "sonic mode".
|
||||
*/
|
||||
|
||||
#include "PicoInt.h"
|
||||
#include "pico_int.h"
|
||||
|
||||
int (*PicoScanBegin)(unsigned int num) = NULL;
|
||||
int (*PicoScanEnd) (unsigned int num) = NULL;
|
|
@ -9,7 +9,7 @@
|
|||
// this is a frame-based renderer, alternative to Dave's line based which is in Draw.c
|
||||
|
||||
|
||||
#include "PicoInt.h"
|
||||
#include "pico_int.h"
|
||||
|
||||
// port_config.h include must define these 2 defines:
|
||||
// #define START_ROW 1 // which row of tiles to start rendering at?
|
|
@ -7,7 +7,7 @@
|
|||
// For commercial use, separate licencing terms must be obtained.
|
||||
|
||||
|
||||
#include "PicoInt.h"
|
||||
#include "pico_int.h"
|
||||
|
||||
#include "sound/ym2612.h"
|
||||
#include "sound/sn76496.h"
|
||||
|
@ -317,7 +317,7 @@ static void OtherWrite8End(u32 a,u32 d,int realsize)
|
|||
Pico.m.prot_bytes[(a>>2)&1] = (u8)d;
|
||||
}
|
||||
|
||||
#include "MemoryCmn.c"
|
||||
#include "memory_cmn.c"
|
||||
|
||||
|
||||
// -----------------------------------------------------------------
|
|
@ -6,7 +6,7 @@
|
|||
// For commercial use, separate licencing terms must be obtained.
|
||||
|
||||
|
||||
#include "PicoInt.h"
|
||||
#include "pico_int.h"
|
||||
|
||||
// H-counter table for hvcounter reads in 40col mode
|
||||
// based on Gens code
|
|
@ -25,8 +25,8 @@
|
|||
//#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "PicoInt.h"
|
||||
#include "Patch.h"
|
||||
#include "pico_int.h"
|
||||
#include "patch.h"
|
||||
|
||||
struct patch
|
||||
{
|
|
@ -7,7 +7,7 @@
|
|||
// For commercial use, separate licencing terms must be obtained.
|
||||
|
||||
|
||||
#include "PicoInt.h"
|
||||
#include "pico_int.h"
|
||||
#include "sound/ym2612.h"
|
||||
|
||||
int PicoVer=0x0133;
|
||||
|
@ -287,9 +287,7 @@ static __inline void getSamples(int y)
|
|||
#endif
|
||||
}
|
||||
|
||||
|
||||
#include "PicoFrameHints.c"
|
||||
|
||||
#include "pico_cmn.c"
|
||||
|
||||
int z80stopCycle;
|
||||
int z80_cycle_cnt; /* 'done' z80 cycles before z80_run() */
|
||||
|
@ -316,21 +314,6 @@ void PicoFrame(void)
|
|||
{
|
||||
Pico.m.frame_count++;
|
||||
|
||||
#if 0
|
||||
if ((Pico.m.frame_count & 0x3f) == 0)
|
||||
{
|
||||
extern int idlehit_addrs[], idlehit_counts[];
|
||||
int i;
|
||||
printf("--\n");
|
||||
for (i = 0; i < 128 && idlehit_addrs[i] != 0; i++) {
|
||||
if (idlehit_counts[i] != 0) {
|
||||
printf("%06x %i %i\n", idlehit_addrs[i], idlehit_counts[i], idlehit_counts[i] >> 6);
|
||||
idlehit_counts[i] = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (PicoAHW & PAHW_MCD) {
|
||||
PicoFrameMCD();
|
||||
return;
|
|
@ -12,7 +12,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "Pico.h"
|
||||
#include "pico.h"
|
||||
#include "carthw/carthw.h"
|
||||
|
||||
//
|
|
@ -7,7 +7,7 @@
|
|||
// For commercial use, separate licencing terms must be obtained.
|
||||
|
||||
|
||||
#include "PicoInt.h"
|
||||
#include "pico_int.h"
|
||||
|
||||
|
||||
int SekCycleCnt=0; // cycles done in this frame
|
|
@ -10,8 +10,7 @@
|
|||
#include <string.h>
|
||||
#include "ym2612.h"
|
||||
#include "sn76496.h"
|
||||
|
||||
#include "../PicoInt.h"
|
||||
#include "../pico_int.h"
|
||||
#include "../cd/pcm.h"
|
||||
#include "mix.h"
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
// For commercial use, separate licencing terms must be obtained.
|
||||
|
||||
|
||||
#include "PicoInt.h"
|
||||
#include "pico_int.h"
|
||||
|
||||
int PicuAnd=0xf7de;
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
// For commercial use, separate licencing terms must be obtained.
|
||||
|
||||
|
||||
#include "PicoInt.h"
|
||||
#include "pico_int.h"
|
||||
#include "cd/gfx_cd.h"
|
||||
|
||||
extern const unsigned char hcounts_32[];
|
Loading…
Add table
Add a link
Reference in a new issue