summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/corestr.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-07-26 23:11:02 +1000
committer Vas Crabb <vas@vastheman.com>2018-07-26 23:11:02 +1000
commit9db24aa2e965d8469d000a7429679fd06c048406 (patch)
treef8169c24d45cd0a51880a0c08830482af1755af1 /src/lib/util/corestr.h
parent884f3a86bb57652c4306a852a6f8560cc746b1ce (diff)
Better support for screen orientation/geometry:
* Eliminates the need for the horizontal/vertical/LCD/SVG layout files * Screens can now have orientation and physical aspect ratio specified * RASTER/VECTOR defaults to 4:3, LCD/SVG defaults to square pixels at config time * System orientation is applied on top of screen orientation Automatically generated single-screen views and orientation flags in XML output now work correctly for systems with multiple screens in different geometries/orientations, e.g. housemnq, rocnms, stepstag, or netmerc. The "core rotation options" only interact with system orientation. Allowing multi-screen systems to work well with one monitor per emulated screen is a complex topic. System orientation also affects the GFX viewer while screen orientation doesn't. The orientation displayed in the system selection menu is from the system orientation. Let me know if I've broken any systems or use cases. Also, add save state support for std::array/C array nested to any depth.
Diffstat (limited to 'src/lib/util/corestr.h')
-rw-r--r--src/lib/util/corestr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/util/corestr.h b/src/lib/util/corestr.h
index 4df0a5ae812..d7734d50b29 100644
--- a/src/lib/util/corestr.h
+++ b/src/lib/util/corestr.h
@@ -8,10 +8,10 @@
***************************************************************************/
-#pragma once
+#ifndef MAME_UTIL_CORESTR_H
+#define MAME_UTIL_CORESTR_H
-#ifndef __CORESTR_H__
-#define __CORESTR_H__
+#pragma once
#include "osdcore.h"
#include "strformat.h"
@@ -64,4 +64,4 @@ std::string &strmakeupper(std::string& str);
std::string &strmakelower(std::string& str);
int strreplace(std::string &str, const std::string& search, const std::string& replace);
-#endif /* __CORESTR_H__ */
+#endif // MAME_UTIL_CORESTR_H