aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/loading.cpp
diff options
context:
space:
mode:
authoruruk2013-06-18 10:23:29 +0200
committeruruk2013-06-18 10:23:29 +0200
commit38bc20a0763f0f83ea3c0a94a68a1edea0d08514 (patch)
tree8d71d5d2dec96e83e2fcce7c5378e9f2da94130e /engines/avalanche/loading.cpp
parenta3025b8dad7abfe845c57aee3703451c223fc2e6 (diff)
downloadscummvm-rg350-38bc20a0763f0f83ea3c0a94a68a1edea0d08514.tar.gz
scummvm-rg350-38bc20a0763f0f83ea3c0a94a68a1edea0d08514.tar.bz2
scummvm-rg350-38bc20a0763f0f83ea3c0a94a68a1edea0d08514.zip
AVALANCHE: Use Artistic Style.
Diffstat (limited to 'engines/avalanche/loading.cpp')
-rw-r--r--engines/avalanche/loading.cpp34
1 files changed, 20 insertions, 14 deletions
diff --git a/engines/avalanche/loading.cpp b/engines/avalanche/loading.cpp
index 3f161eda8b..234b5773b8 100644
--- a/engines/avalanche/loading.cpp
+++ b/engines/avalanche/loading.cpp
@@ -11,7 +11,7 @@
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
@@ -29,23 +29,29 @@
namespace Avalanche {
-integer gd,gm;
+integer gd, gm;
byte a /*absolute $A000:1200*/;
byte bit;
untyped_file f;
-int main(int argc, const char* argv[])
-{pio_initialize(argc, argv);
-;
- gd=3; gm=0; initgraph(gd,gm,"");
- assign(f,"c:\\sleep\\test.ega"); reset(f,1);
- for( bit=0; bit <= 3; bit ++)
- {;
- port[0x3c4]=2; port[0x3ce]=4; port[0x3c5]=1 << bit; port[0x3cf]=bit;
- blockread(f,a,12000);
- }
- close(f);
-return EXIT_SUCCESS;
+int main(int argc, const char *argv[]) {
+ pio_initialize(argc, argv);
+ ;
+ gd = 3;
+ gm = 0;
+ initgraph(gd, gm, "");
+ assign(f, "c:\\sleep\\test.ega");
+ reset(f, 1);
+ for (bit = 0; bit <= 3; bit ++) {
+ ;
+ port[0x3c4] = 2;
+ port[0x3ce] = 4;
+ port[0x3c5] = 1 << bit;
+ port[0x3cf] = bit;
+ blockread(f, a, 12000);
+ }
+ close(f);
+ return EXIT_SUCCESS;
}
} // End of namespace Avalanche. \ No newline at end of file