diff options
author | 2018-07-26 23:11:02 +1000 | |
---|---|---|
committer | 2018-07-26 23:11:02 +1000 | |
commit | 9db24aa2e965d8469d000a7429679fd06c048406 (patch) | |
tree | f8169c24d45cd0a51880a0c08830482af1755af1 /src/lib/util/harddisk.h | |
parent | 884f3a86bb57652c4306a852a6f8560cc746b1ce (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/harddisk.h')
-rw-r--r-- | src/lib/util/harddisk.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/util/harddisk.h b/src/lib/util/harddisk.h index 727f9a3fd07..c0551703ca7 100644 --- a/src/lib/util/harddisk.h +++ b/src/lib/util/harddisk.h @@ -8,10 +8,10 @@ ***************************************************************************/ -#pragma once +#ifndef MAME_UTIL_HARDDISK_H +#define MAME_UTIL_HARDDISK_H -#ifndef __HARDDISK_H__ -#define __HARDDISK_H__ +#pragma once #include "osdcore.h" #include "chd.h" @@ -46,4 +46,4 @@ hard_disk_info *hard_disk_get_info(hard_disk_file *file); uint32_t hard_disk_read(hard_disk_file *file, uint32_t lbasector, void *buffer); uint32_t hard_disk_write(hard_disk_file *file, uint32_t lbasector, const void *buffer); -#endif /* __HARDDISK_H__ */ +#endif // MAME_UTIL_HARDDISK_H |