aboutsummaryrefslogtreecommitdiff
path: root/src/Savestate.h
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2019-05-05 04:16:22 +0200
committerGitHub <noreply@github.com>2019-05-05 04:16:22 +0200
commitfdd20c48ed62b9410292097f0ee2ad53f5c3109c (patch)
tree26f839568ed089ad5eb34a139f9069c08b16195a /src/Savestate.h
parent85b3bdebd1258a13b3d28eeff5a7eef2d22fb5d9 (diff)
parentf91eb18152e7bb84a402255d283a546f4dc95ce8 (diff)
Merge pull request #400 from ccawley2011/write-strings
Fix all -Wwrite-strings warnings
Diffstat (limited to 'src/Savestate.h')
-rw-r--r--src/Savestate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Savestate.h b/src/Savestate.h
index 136b0cd..bb12089 100644
--- a/src/Savestate.h
+++ b/src/Savestate.h
@@ -28,7 +28,7 @@
class Savestate
{
public:
- Savestate(char* filename, bool save);
+ Savestate(const char* filename, bool save);
~Savestate();
bool Error;
@@ -39,7 +39,7 @@ public:
u32 CurSection;
- void Section(char* magic);
+ void Section(const char* magic);
void Var8(u8* var);
void Var16(u16* var);