[gnome-video-arcade] db: XML rotate attribute no longer required
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-video-arcade] db: XML rotate attribute no longer required
- Date: Fri, 28 Apr 2017 15:13:27 +0000 (UTC)
commit f6a8061e1909475854aad62f420648a33c478fee
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri Apr 28 10:53:18 2017 -0400
db: XML rotate attribute no longer required
In MAME 0.184, DTD changed it from REQUIRED to IMPLIED.
This broke database construction, resulting in no games listed.
src/gva-db.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gva-db.c b/src/gva-db.c
index 944d0fd..4ac3d9f 100644
--- a/src/gva-db.c
+++ b/src/gva-db.c
@@ -161,7 +161,7 @@
"game NOT NULL, " \
"type NOT NULL " \
"CHECK (type in ('raster', 'vector', 'lcd', 'unknown')), " \
- "rotate NOT NULL " \
+ "rotate DEFAULT '0' " \
"CHECK (rotate in ('0', '90', '180', '270')), " \
"flipx DEFAULT 'no' " \
"CHECK (flipx in ('yes', 'no')), " \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]