summarylogtreecommitdiffstats
path: root/cannonball-fixes.patch
blob: 1978aae9f7da70e83694bfed42da2c894c6f0915 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
diff -Naur cannonball-0.3.orig/src/main/frontend/config.cpp cannonball-0.3/src/main/frontend/config.cpp
--- cannonball-0.3.orig/src/main/frontend/config.cpp	2014-11-11 22:46:58.000000000 +0100
+++ cannonball-0.3/src/main/frontend/config.cpp	2015-03-14 22:11:36.872872895 +0100
@@ -239,7 +239,7 @@
 
 
     // Tab space 1
-    boost::property_tree::xml_writer_settings<char> settings('\t', 1);
+    boost::property_tree::xml_writer_settings<std::string> settings = boost::property_tree::xml_writer_make_settings<std::string> ('\t', 1);
 
     try
     {
@@ -310,8 +310,8 @@
     }
     
     // Tab space 1
-    boost::property_tree::xml_writer_settings<char> settings('\t', 1);
-    
+    boost::property_tree::xml_writer_settings<std::string> settings = boost::property_tree::xml_writer_make_settings<std::string> ('\t', 1);    
+
     try
     {
         write_xml(engine.jap ? filename + "_jap.xml" : filename + ".xml", pt, std::locale(), settings);
@@ -366,7 +366,7 @@
     }
 
     // Tab space 1
-    boost::property_tree::xml_writer_settings<char> settings('\t', 1);
+    boost::property_tree::xml_writer_settings<std::string> settings = boost::property_tree::xml_writer_make_settings<std::string> ('\t', 1);
     
     try
     {
diff -Naur cannonball-0.3.orig/src/main/hwvideo/hwtiles.cpp cannonball-0.3/src/main/hwvideo/hwtiles.cpp
--- cannonball-0.3.orig/src/main/hwvideo/hwtiles.cpp	2014-11-11 22:46:58.000000000 +0100
+++ cannonball-0.3/src/main/hwvideo/hwtiles.cpp	2015-03-14 21:29:08.000364828 +0100
@@ -2,6 +2,7 @@
 #include "romloader.hpp"
 #include "hwvideo/hwtiles.hpp"
 #include "frontend/config.hpp"
+#include <cstring>
 
 /***************************************************************************
     Video Emulation: OutRun Tilemap Hardware.