summaryrefslogtreecommitdiff
path: root/apps/codecs/libgme/sgc_cpu.c
diff options
context:
space:
mode:
authorTorne Wuff <torne@wolfpuppy.org.uk>2011-11-06 22:44:25 +0000
committerTorne Wuff <torne@wolfpuppy.org.uk>2011-11-06 22:44:25 +0000
commit569285794b9112f0134ddad4bb886308ea4a7be6 (patch)
treece702cb07829820261a682c471133c76d11c610e /apps/codecs/libgme/sgc_cpu.c
parentd9b7d58fa6c9ceb136bea429adf6746cc7138208 (diff)
downloadrockbox-569285794b9112f0134ddad4bb886308ea4a7be6.tar.gz
rockbox-569285794b9112f0134ddad4bb886308ea4a7be6.zip
Bulk convert all DOS line endings to UNIX.
For the git migration we want a nice clean repository with UNIX line endings. git does not use svn:eol-style, we just need the file contents to be sane. Sorry everybody. I know this messes up blame. Scumbag *NIX developer says migrating to git will make line ending issues go away; commits giant change to svn which changes line endings anyway. :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30924 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libgme/sgc_cpu.c')
-rw-r--r--apps/codecs/libgme/sgc_cpu.c72
1 files changed, 36 insertions, 36 deletions
diff --git a/apps/codecs/libgme/sgc_cpu.c b/apps/codecs/libgme/sgc_cpu.c
index 3bd2d15df9..d23c01499b 100644
--- a/apps/codecs/libgme/sgc_cpu.c
+++ b/apps/codecs/libgme/sgc_cpu.c
@@ -1,36 +1,36 @@
1// Game_Music_Emu 0.6-pre. http://www.slack.net/~ant/ 1// Game_Music_Emu 0.6-pre. http://www.slack.net/~ant/
2 2
3#include "sgc_emu.h" 3#include "sgc_emu.h"
4 4
5#include "blargg_endian.h" 5#include "blargg_endian.h"
6//#include "z80_cpu_log.h" 6//#include "z80_cpu_log.h"
7 7
8/* Copyright (C) 2009 Shay Green. This module is free software; you 8/* Copyright (C) 2009 Shay Green. This module is free software; you
9can redistribute it and/or modify it under the terms of the GNU Lesser 9can redistribute it and/or modify it under the terms of the GNU Lesser
10General Public License as published by the Free Software Foundation; either 10General Public License as published by the Free Software Foundation; either
11version 2.1 of the License, or (at your option) any later version. This 11version 2.1 of the License, or (at your option) any later version. This
12module is distributed in the hope that it will be useful, but WITHOUT ANY 12module is distributed in the hope that it will be useful, but WITHOUT ANY
13WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 13WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 14FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
15details. You should have received a copy of the GNU Lesser General Public 15details. You should have received a copy of the GNU Lesser General Public
16License along with this module; if not, write to the Free Software Foundation, 16License along with this module; if not, write to the Free Software Foundation,
17Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ 17Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */
18 18
19#include "blargg_source.h" 19#include "blargg_source.h"
20 20
21#define OUT_PORT( addr, data ) cpu_out( this, TIME(), addr, data ) 21#define OUT_PORT( addr, data ) cpu_out( this, TIME(), addr, data )
22#define IN_PORT( addr ) 0 // cpu in 22#define IN_PORT( addr ) 0 // cpu in
23#define WRITE_MEM( addr, data ) cpu_write( this, addr, data ) 23#define WRITE_MEM( addr, data ) cpu_write( this, addr, data )
24#define IDLE_ADDR this->idle_addr 24#define IDLE_ADDR this->idle_addr
25#define RST_BASE this->vectors_addr 25#define RST_BASE this->vectors_addr
26 26
27#define CPU_BEGIN \ 27#define CPU_BEGIN \
28bool run_cpu( struct Sgc_Emu* this, cpu_time_t end_time )\ 28bool run_cpu( struct Sgc_Emu* this, cpu_time_t end_time )\
29{\ 29{\
30 Sgc_Cpu* cpu = &this->cpu; \ 30 Sgc_Cpu* cpu = &this->cpu; \
31 Z80_set_end_time( cpu, end_time ); 31 Z80_set_end_time( cpu, end_time );
32 32
33 #include "z80_cpu_run.h" 33 #include "z80_cpu_run.h"
34 34
35 return warning; 35 return warning;
36} 36}